Author |
|
jdavidw13
Joined: 18 Sep 2007 Posts: 2
|
Posted: Tue 18 Sep '07 17:58 Post subject: Apache2.2.4 and PHP5.2.4 was working, but not after reboot |
|
|
Well, like the title says, I did have apache working with php. I should note, I'm running on a windowsXP machine. After I rebooted the computer it decided to stop working. I get a blank page with no source.
Anyways, here's part of the httpd that it was working under...
Code: |
LoadModule php5_module "C:/Apache Software Foundation/PHP5/php5apache2_2.dll"
AddType application/x-httpd-php .php
|
I had to comment out the PHPIniDir to get it to work.
I noticed this in the error log after php stopped working...
Code: |
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache Software Foundation\\PHP5\\ext\\php_oci8.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache Software Foundation\\PHP5\\ext\\php_openssl.dll' - The operating system cannot run %1.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache Software Foundation\\PHP5\\ext\\php_sybase_ct.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache Software Foundation\\PHP5\\ext\\php_ibm_db2.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache Software Foundation\\PHP5\\ext\\php_netools.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache Software Foundation\\PHP5\\ext\\php_ssh2.dll' - The operating system cannot run %1.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache Software Foundation\\PHP5\\ext\\php_svn.dll' - The specified module could not be found.\r\n in Unknown on line 0
|
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 19 Sep '07 10:13 Post subject: |
|
|
it seems that some extension from php could not be loaded.
Make sure that these extension dll's are in the
C:\Apache Software Foundation\PHP5\ext foler.
If the modules are in that folder. You may correct the extension_dir in php.ini with forward slashes and quotes. Because the are spaces in the name of the first folder.
e.g.
extension_dir = "C:/Apache Software Foundation/PHP5/ext"
Hope that helps. If not please post again |
|
Back to top |
|
jdavidw13
Joined: 18 Sep 2007 Posts: 2
|
Posted: Sun 23 Sep '07 18:16 Post subject: |
|
|
It's quite strange because it only stopped working after I rebooted. Anyways, I downloaded the zipped version (previously I had used the windows installer), and that worked great. |
|
Back to top |
|
zumbaichichi
Joined: 27 Sep 2007 Posts: 4
|
Posted: Thu 27 Sep '07 15:08 Post subject: |
|
|
Hey.
I have the same problem with a blank screen. I cant see the source code either. I've tried to download the package, as jdavidw13 did, but that did not work either. Any suggestions?
/Zumba |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 27 Sep '07 22:26 Post subject: |
|
|
What is in your apache error log? Turned on php error log in php.ini ? |
|
Back to top |
|
zumbaichichi
Joined: 27 Sep 2007 Posts: 4
|
Posted: Fri 28 Sep '07 15:14 Post subject: |
|
|
The errorcode from Apache is:
Code: | [Fri Sep 28 14:45:58 2007] [notice] Parent: Received restart signal -- Restarting the server.
Error in my_thread_global_end(): 2 threads didn't exit
nt signaled. Child process is ending.
[Fri Sep 28 14:45:59 2007] [notice] Child 3888: Released the start mutex
[Fri Sep 28 14:46:03 2007] [notice] Child 3888: Waiting for 250 worker threads to exit.
[Fri Sep 28 14:46:03 2007] [notice] Child 3888: All worker threads have exited.
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Error in my_thread_global_end(): 1 threads didn't exit
|
And when I turned on php.ini errorlog i found this:
Code: | [28-Sep-2007 15:06:57] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:01] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_oci8.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:02] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_pdo_oci.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:03] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_pdo_oci8.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:03] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_pdo_sqlite_external.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:04] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_pspell.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:08] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_sybase_ct.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:12] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_ibm_db2.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:13] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_ifx.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:15] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_ingres.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:16] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_maxdb.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:17] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_mcve.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:17] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_netools.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:19] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_oracle.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:19] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_pdo_ibm.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:20] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_pdo_informix.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:22] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext\php_svn.dll' - The specified module could not be found.
in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_ELEMENT_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_ATTRIBUTE_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_TEXT_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_CDATA_SECTION_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_ENTITY_REF_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_ENTITY_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_PI_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_COMMENT_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_DOCUMENT_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_DOCUMENT_TYPE_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_DOCUMENT_FRAG_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:25] PHP Notice: Constant XML_NOTATION_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_DTD_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_DECL_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ENTITY_DECL_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_NAMESPACE_DECL_NODE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_LOCAL_NAMESPACE already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_CDATA already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_ID already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_IDREF already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_IDREFS already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_ENTITY already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_NMTOKEN already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_NMTOKENS already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_ENUMERATION already defined in Unknown on line 0
[28-Sep-2007 15:07:26] PHP Notice: Constant XML_ATTRIBUTE_NOTATION already defined in Unknown on line 0
[28-Sep-2007 15:07:27] PHP Warning: require_once(SAM/php_sam.php): failed to open stream: No such file or directory in sam_factory on line 1
[28-Sep-2007 15:07:27] PHP Fatal error: require_once(): Failed opening required 'SAM/php_sam.php' (include_path='.;C:\php5\pear') in sam_factory on line 1
|
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 28 Sep '07 15:29 Post subject: |
|
|
Seems that your php installation is broken. You should download a new one from a different php.net mirror.
At first you could also try to disable all extensions in php.ini Maybe there is only one of the 3rd party extensions broken.
Last edited by James Blond on Fri 28 Sep '07 15:31; edited 1 time in total |
|
Back to top |
|
zumbaichichi
Joined: 27 Sep 2007 Posts: 4
|
Posted: Fri 28 Sep '07 15:31 Post subject: |
|
|
I realized (belive it or not) that the PHP didn't work well. I replaced my php.ini with a php.recommended, found it in the same map, and changed the htdocs.txt, php5apache2_2.dll to php5apache2.dll. And suddenly it worked!
Thanks for the help! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 28 Sep '07 15:34 Post subject: |
|
|
zumbaichichi wrote: | php5apache2_2.dll to php5apache2.dll. And suddenly it worked!
Thanks for the help! |
Are you sure that you use apache 2.2.4 and not 2.0.x ? |
|
Back to top |
|
zumbaichichi
Joined: 27 Sep 2007 Posts: 4
|
Posted: Fri 28 Sep '07 16:09 Post subject: |
|
|
Ohhh bloody... Then it only was the PHP that didn't work. Im using 2.0.x version. Sorry |
|
Back to top |
|