PHP suddenly not working
Results 1 to 4 of 4

Thread: PHP suddenly not working

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    1

    Question PHP suddenly not working

    Hi,

    I've been using Apache & PHP for a few months now.

    To my surprise, when I restarted the computer today it's not working anymore.

    Before restarting, I ran CCleaner, could that be the reason?

    At a first glance, the httpd.conf and hosts files have not been modified in any way; maybe it has nothing to do with running CCleaner.

    When I go to 127.0.0.1 or localhost it shows a strange page. In other cases it wants to download or open a file like "Ev1cv4N5.part" (where in the world does such a file come from?) and in other cases the page remains blank.


    So localhost itself and some subdomains are not working at all, however a few of the subdomains and also phpMyAdmin, which is installed in a directory in localhost, are still working properly!! How can that be?

    I was working on a project in a directory in localhost, everything was fine, now I can't run my php pages, they remain blank.

    So where should I check to know what the problem is?

    If any ideas, please let me know.
    Thanx

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    1
    I deleted the Apache log and access files and restarted Apache.

    The Apache error.log file contains the following:
    ___________________________
    Starting the Apache2.2 service
    The Apache2.2 service is running.
    ] Apache/2.2.17 (Win32) PHP/5.3.6 configured -- resuming normal operations
    [Mon Feb 06 15:53:19 2012] [notice] Server built: Oct 18 2010 01:58:12
    [Mon Feb 06 15:53:19 2012] [notice] Parent: Created child process 3096
    [Mon Feb 06 15:53:20 2012] [notice] Child 3096: Child process is running
    [Mon Feb 06 15:53:20 2012] [notice] Child 3096: Acquired the start mutex.
    [Mon Feb 06 15:53:20 2012] [notice] Child 3096: Starting 64 worker threads.
    [Mon Feb 06 15:53:20 2012] [notice] Child 3096: Starting thread to listen on port 80.
    [Mon Feb 06 16:07:11 2012] [error] [client 127.0.0.1] File does not exist: D:/Web & Sites & PC/Sites/announce
    [Mon Feb 06 16:08:14 2012] [error] [client 127.0.0.1] script 'D:/Web & Sites & PC/Sites/announce.php' not found or unable to stat
    [Mon Feb 06 16:08:30 2012] [error] [client 127.0.0.1] File does not exist: D:/Web & Sites & PC/Sites/announce
    [Mon Feb 06 16:08:32 2012] [error] [client 127.0.0.1] File does not exist: D:/Web & Sites & PC/Sites/announce
    . . . . this last line repeats itself many times.
    ___________________________

    The access.log file contains the following:
    ___________________________
    127.0.0.1 - - [06/Feb/2012:16:07:11 +0900] "GET /announce?info_hash=%ae%0d%c40%10%87%c7%c4.%c7%5b%ebw%9a%7cQ%d2NY%03&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=14732595&downloaded=0&left=0&corrupt=0&key=3994D7FF&ev ent=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa2 8a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:22 +0900] "GET /announce?info_hash=%5b%82_7X%e2%c5%ba%c0%d5%a4%20pY%9e%c1pA%ca%17&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=1916928&downloaded=0&left=0&corrupt=0&key=3994D7FF&eve nt=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa28 a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:29 +0900] "GET /announce?info_hash=%ae%0d%c40%10%87%c7%c4.%c7%5b%ebw%9a%7cQ%d2NY%03&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=14732595&downloaded=0&left=0&corrupt=0&key=3994D7FF&ev ent=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa2 8a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:30 +0900] "GET /announce?info_hash=m%3c1%cby-%de%e5%82%df7%21y%99%dfZ%e1%2f%dd-&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=0&downloaded=0&left=0&corrupt=0&key=3994D7FF&event=sta rted&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa28a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:34 +0900] "GET /announce?info_hash=%ae%0d%c40%10%87%c7%c4.%c7%5b%ebw%9a%7cQ%d2NY%03&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=14732595&downloaded=0&left=0&corrupt=0&key=3994D7FF&ev ent=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa2 8a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:35 +0900] "GET /announce?info_hash=%04%afK%29%d91%94%e6%285%a1P%c6%d5%00%7f%d0%0e%5b%13&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=6864896&downloaded=0&left=0&corrupt=0&key=3994D7FF&eve nt=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa28 a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:35 +0900] "GET /announce?info_hash=%b4%17G%00%f7%13~W%fa%90%96%1b%ce%efUm%d7%86%14%16&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=518144000&downloaded=0&left=840150446&corrupt=0&key=39 94D7FF&event=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a 8778%3aa28a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:36 +0900] "GET /announce?info_hash=%04%afK%29%d91%94%e6%285%a1P%c6%d5%00%7f%d0%0e%5b%13&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=6864896&downloaded=0&left=0&corrupt=0&key=3994D7FF&eve nt=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa28 a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:38 +0900] "GET /announce?info_hash=%13IO%8c%240%ce%94%11%88%83%1a%0f%9bi%3aj%e3%859&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=14814950&downloaded=0&left=0&corrupt=0&key=3994D7FF&ev ent=started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa2 8a HTTP/1.1" 404 206
    127.0.0.1 - - [06/Feb/2012:16:07:39 +0900] "GET /announce?info_hash=%c2%cbV%a8%84%0e%e3%ca3%9a%11%ech%12%b1%80%87%5e%ca%bc&peer_id=M7-2-1--2b8%fe%de%e8%90%a3n%18%24X&port=6881&uploaded=98304&downloaded=0&left=0&corrupt=0&key=3994D7FF&event =started&numwant=200&compact=1&no_peer_id=1&ipv6=2001%3ac90%3a31d%3a15a%3a5d86%3ac862%3a8778%3aa28a HTTP/1.1" 404 206

    etc
    ___________________________

    So is it possible to spot the problem from this instead of reinstalling...?

  3. #3
    Junior Member
    Join Date
    Jan 2012
    Location
    Atlanta
    Posts
    18
    delete all registry related to server.. then reinstall it.. you can run it in your pc....

    why you don't use WAMP server?

  4. #4
    Pna lbh ernq guvf¿
    Join Date
    Jul 2004
    Location
    Kansas City area
    Posts
    19,353
    Quote Originally Posted by php-developer View Post
    delete all registry related to server
    Neither Apache nor PHP create any registry entries, so there are none to delete.

    Quote Originally Posted by php-developer View Post
    why you don't use WAMP server?
    What's wrong with actually knowing how the tools you're using work together, rather than using some pre-built package?

    @windranger: It's been a while since your last post, is this still an issue? Note that your access log shows nothing related to PHP; instead, it shows that you were probably running some sort of torrent client at the time (hope those info hashes don't point to you downloading anything illegal! ).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •