Jump to content

Apache 2.2 Stopped Working, .php files don't load


arleslie

Recommended Posts

Apache Log:

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

[Wed Jun 25 20:11:43 2008] [notice] Child 4268: Child process is running

[Wed Jun 25 20:11:43 2008] [notice] Child 4268: Acquired the start mutex.

[Wed Jun 25 20:11:43 2008] [notice] Child 4268: Starting 64 worker threads.

[Wed Jun 25 20:11:43 2008] [notice] Child 4268: Starting thread to listen on port 80.

[Wed Jun 25 20:11:47 2008] [error] [client 127.0.0.1] PHP Warning:  require_once(SAM/php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:11:47 2008] [error] [client 127.0.0.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:11:47 2008] [error] [client 127.0.0.1] File does not exist: C:/Web Server 2.0/htdocs/favicon.ico, referer: http://localhost/index2.php

[Wed Jun 25 20:11:48 2008] [error] [client 127.0.0.1] PHP Warning:  require_once(C:\\Web Server 2.0\\SAM\\php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:11:48 2008] [error] [client 127.0.0.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:11:48 2008] [error] [client 127.0.0.1] File does not exist: C:/Web Server 2.0/htdocs/favicon.ico, referer: http://localhost/index2.php

[Wed Jun 25 20:12:58 2008] [error] [client 127.0.0.1] PHP Warning:  require_once(C:\\Web Server 2.0\\SAM\\php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:12:58 2008] [error] [client 127.0.0.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:13:01 2008] [error] [client 127.0.0.1] PHP Warning:  require_once(C:\\Web Server 2.0\\SAM\\php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:13:01 2008] [error] [client 127.0.0.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:13:11 2008] [error] [client 127.0.0.1] PHP Warning:  require_once(C:\\Web Server 2.0\\SAM\\php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:13:11 2008] [error] [client 127.0.0.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:13:29 2008] [error] [client 75.200.115.87] File does not exist: C:/Web Server 2.0/htdocs/images/index_13.gif, referer: http://leslienetworks.no-ip.org/index_sub2.html

[Wed Jun 25 20:14:01 2008] [error] [client 127.0.0.1] PHP Warning:  require_once(SAM/php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1, referer: http://localhost/

[Wed Jun 25 20:14:01 2008] [error] [client 127.0.0.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1, referer: http://localhost/

 

Windows Error Log

Problem signature:

  Problem Event Name: APPCRASH

  Application Name: httpd.exe

  Application Version: 2.2.9.0

  Application Timestamp: 4852383f

  Fault Module Name: php_iisfunc.dll

  Fault Module Version: 5.2.6.6

  Fault Module Timestamp: 481b9002

  Exception Code: c0000005

  Exception Offset: 00001085

  OS Version: 6.0.6001.2.1.0.768.3

  Locale ID: 1033

  Additional Information 1: 0ae8

  Additional Information 2: 8000f79e2b2d38da24dc72bd21771997

  Additional Information 3: 18c9

  Additional Information 4: 85e6b725e035044f18f1a8e4aee9d08c

 

Read our privacy statement:

  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

 

http://leslienetworks.no-ip.org

Link to comment
Share on other sites

try a simple 'hello world' php program first.

 

Generally, if things dont work as planned, it is best to reduce things down to very basic functionality and build from there, noting when the unexpected happens and investigating that.

 

 

Link to comment
Share on other sites

In the subject you say that apache has stopped working which suggests that it was working and now it doesn't. Is this correct?

 

If it does not work now and has never worked with PHP: Maybe you find a tutorial on how to install and set up apache on windows to run php. I suspect there are probably too many issues to deal with in a forum post if we need to give you instructions on how to set up apache and php, which is probably why no-one else has chipped in.

 

If it was working (serving php files to the browser) and now for some reason it does not work, then I suggest that you re-apply the changes you made to cause it to stop working.

Good luck.

Link to comment
Share on other sites

1. I had PHP installed in Apache before

2. It all of a sudden stopped working

3. I reinstalled Apache and PHP and removed the old ones

4. After Configuring I restarted Apache

5. Windows Report "Apache has Stopped Working"

6. Restarted Apache Again

7. Works Fine...PHP isn't working now

8. Try to get PHP to work

9. Restarted Apache

10. Windows Reported "Apache has stopped working"

11. Restarted Apache again

12. Apache Works, PHP doesn't

Link to comment
Share on other sites

What versions of Apache/PHP have you installed. Also how are you installing Apache/PHP.

 

When installing PHP avoid the installer, just download the zipped binaries package. PHP does not really require an installer.

 

Also when installing Apache/PHP/MySQL it is recommended to avoid using spaces in file paths.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.