hi McKirk, thanks for ur speedy response. attached is the php.ini
Main Topics
Browse All Topicsdear experts,
I am not able to get my "PHP" running properly in Apache server.
The first http request will give me this error at access.log
127.0.0.1 - - [09/May/2008:10:11:26 +0800] "GET /test1.php HTTP/1.1" 500 -
The second trial (to the same page) will terminate the Apache server, with this error at error.log
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_fdf.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_inte
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_mcry
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_mhas
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_msql
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_oci8
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_open
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'php_pdo_oci8.dll' in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pgsq
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pspe
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_syba
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_ibm_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_ifx.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_ingr
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_maxd
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_mcry
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_mcve
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_neto
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_ssh2
PHP Notice: Constant XML_ELEMENT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_TEXT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_CDATA_SECTION_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ENTITY_REF_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ENTITY_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_PI_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_COMMENT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_DOCUMENT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_DOCUMENT_TYPE_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_DOCUMENT_FRAG_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_NOTATION_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_DTD_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_DECL_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ENTITY_DECL_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_NAMESPACE_DECL_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_LOCAL_NAMESPACE already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_CDATA already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_ID already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_IDREF already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_IDREFS already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_ENTITY already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_NMTOKEN already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_NMTOKENS already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_ENUMERATION already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_NOTATION already defined in Unknown on line 0
[Fri May 09 10:18:55 2008] [notice] Apache/2.0.63 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Fri May 09 10:18:55 2008] [notice] Server built: Jan 17 2008 22:58:29
[Fri May 09 10:18:55 2008] [notice] Parent: Created child process 6088
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_fdf.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_inte
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_mcry
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_mhas
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_msql
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_oci8
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_open
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'php_pdo_oci8.dll' in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pdo_
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pgsq
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\Program Files\\PHP5\\ext\\php_pspe
Below is the php page code
<html>
<head>
<title> PHP Test Script </title>
</head>
<body>
<?php
phpinfo( );
?>
</body>
</html>
Please advice, thank you very much!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you are installing apache and php on windows, I have a simpler solution for you if you can follow. Try installing easyphp software, this will automatically install apache + php + mysql on your system. This is a free software, you can download and read more about it at http://www.easyphp.org/
you have not compiled the PHP with apache properly ... try considering to reinstall with XAMPP tool,
http://www.apachefriends.o
will give PHP + Apache + MySQL
even if you have mysql, this tool will fetch those db's and import it ...
Okay, I checked your php.ini. Sorry, had to go shopping :-).
As I see, you try to load nerly every module, that's available for PHP. Some are loaded (bz2 e.g.), others are not.
Please post a phpinfo.
I would say, there is no need to re-install it, we just have to figure out, which of the modules are failing. If you do not need them, we'll disable them.
Hi isuhendro,
I can see that you have the latest version of PHP for Windows, 5.2.6. Assuming that your php.ini file is correct, there is a known issue in this version regarding the Postgres module, which is that it requires access to the Postgres DLL files on the PATH, especially libpg.dll and its dependencies.
The other modules you're trying to load may have the same issue. To check each one of them you can use the Microsoft tool Depends.exe (can be found for download at the Microsoft Download Center as part of the Windows Support Tools, or more directly at http://www.dependencywalke
Finding out which DLLs that needs to be statically loaded is then (almost) a piece of cake.
Business Accounts
Answer for Membership
by: McKirkPosted on 2008-05-08 at 19:29:22ID: 21530073
Could you please post your php.ini.