Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

PHP/Apache error?

Options
  • 23-01-2011 8:46pm
    #1
    Registered Users Posts: 894 ✭✭✭


    Hey everyone;

    Formatted my PC last night from Linux to Windows :pac:, (I DO plan to dual boot and reinstall Linux though). I installed Apache 2.2.17 and tried installing various PHP modules (VC6) but none of them work. When starting Apache I get the error "The requested operation has failed!".
    Can anyone shed some light on this?
    Thanks!


Comments

  • Registered Users Posts: 6,510 ✭✭✭daymobrew


    Have a look through search results.

    Did you look at the error_log?


  • Registered Users Posts: 894 ✭✭✭Dale Parish


    Yeah I did, spent the entire day trying to figure out the problem
    This is the error log but I don't see anything weird there (note I'm new when it comes to using Apache so there could be something blatantly obvious I'm missing)

    Starting the Apache2.2 service
    The Apache2.2 service is running.
    rmine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 18:55:06 2011] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
    [Sun Jan 23 18:55:06 2011] [notice] Server built: Oct 18 2010 01:58:12
    [Sun Jan 23 18:55:06 2011] [notice] Parent: Created child process 2716
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 18:55:06 2011] [notice] Child 2716: Child process is running
    [Sun Jan 23 18:55:06 2011] [notice] Child 2716: Acquired the start mutex.
    [Sun Jan 23 18:55:06 2011] [notice] Child 2716: Starting 64 worker threads.
    [Sun Jan 23 18:55:06 2011] [notice] Child 2716: Starting thread to listen on port 80.
    [Sun Jan 23 18:55:32 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sun Jan 23 18:55:32 2011] [notice] Child 2716: Exit event signaled. Child process is ending.
    [Sun Jan 23 18:55:33 2011] [notice] Child 2716: Released the start mutex
    [Sun Jan 23 18:55:34 2011] [notice] Child 2716: All worker threads have exited.
    [Sun Jan 23 18:55:34 2011] [notice] Child 2716: Child process is exiting
    [Sun Jan 23 18:55:34 2011] [notice] Parent: Child process exited successfully.
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Sun Jan 23 19:06:19 2011] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
    [Sun Jan 23 19:06:19 2011] [notice] Server built: Oct 18 2010 01:58:12
    [Sun Jan 23 19:06:20 2011] [notice] Parent: Created child process 820
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Sun Jan 23 19:06:21 2011] [notice] Child 820: Child process is running
    [Sun Jan 23 19:06:21 2011] [notice] Child 820: Acquired the start mutex.
    [Sun Jan 23 19:06:21 2011] [notice] Child 820: Starting 64 worker threads.
    [Sun Jan 23 19:06:21 2011] [notice] Child 820: Starting thread to listen on port 80.
    [Sun Jan 23 19:11:07 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sun Jan 23 19:11:07 2011] [notice] Child 820: Exit event signaled. Child process is ending.
    [Sun Jan 23 19:11:08 2011] [notice] Child 820: Released the start mutex
    [Sun Jan 23 19:11:09 2011] [notice] Child 820: All worker threads have exited.
    [Sun Jan 23 19:11:09 2011] [notice] Child 820: Child process is exiting
    [Sun Jan 23 19:11:09 2011] [notice] Parent: Child process exited successfully.
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 19:30:19 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 19:30:29 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 19:31:14 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 19:31:44 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 19:40:12 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Sun Jan 23 19:40:12 2011] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
    [Sun Jan 23 19:40:12 2011] [notice] Server built: Oct 18 2010 01:58:12
    [Sun Jan 23 19:40:12 2011] [notice] Parent: Created child process 456
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
    [Sun Jan 23 19:40:12 2011] [notice] Child 456: Child process is running
    [Sun Jan 23 19:40:12 2011] [notice] Child 456: Acquired the start mutex.
    [Sun Jan 23 19:40:12 2011] [notice] Child 456: Starting 64 worker threads.
    [Sun Jan 23 19:40:12 2011] [notice] Child 456: Starting thread to listen on port 80.
    [Sun Jan 23 19:40:18 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sun Jan 23 19:40:18 2011] [notice] Child 456: Exit event signaled. Child process is ending.
    [Sun Jan 23 19:40:19 2011] [notice] Child 456: Released the start mutex
    [Sun Jan 23 19:40:20 2011] [notice] Child 456: All worker threads have exited.
    [Sun Jan 23 19:40:20 2011] [notice] Child 456: Child process is exiting
    [Sun Jan 23 19:40:20 2011] [notice] Parent: Child process exited successfully.
    


  • Registered Users Posts: 6,510 ✭✭✭daymobrew


    and tried installing various PHP modules (VC6) but none of them work.
    Can you uninstall those PHP modules and just get a barebones Apache working?


  • Registered Users Posts: 894 ✭✭✭Dale Parish


    Yeah without PHP installed Apache works fine :confused:


  • Registered Users Posts: 6,510 ✭✭✭daymobrew


    What are the names of the php modules that you installed?

    I am wondering if you installed a module but missed a dependency or two (the rpm dependency list should prevent this).

    How did you install the modules? Yum? Apt-get?


  • Advertisement
  • Registered Users Posts: 894 ✭✭✭Dale Parish


    Can't seem to upload images while editing previous post so... double post :pac:
    Did a bit of reading and read that I should run debug on httpd.exe and I got this in return..
    attachment.php?attachmentid=144898&stc=1&d=1295889770
    I noticed that the installer left out my PHP directory in httpd.conf so I added that and ran the server, it crashes offering me to send a report to MicroSoft..
    Edit:
    Ops, sorry I missed your post there. I am using Windows at the moment so I didn't use Apt-get or Yum, just the installers from PHP & Apache


  • Registered Users Posts: 6,510 ✭✭✭daymobrew


    What is line 508 of httpd.conf, where there is a syntax error.
    Also, does the DLL that is reported as missing in that die or somewhere else.

    You should consider using WAMP or XAMPP as they have everything set up already.


  • Registered Users Posts: 894 ✭✭✭Dale Parish


    Interesting, line 508 is this...
    LoadModule php5_module "c:/Program Files/PHP/php5apache2_2.dll"
    PHP is at that location, and so is the DLL


  • Registered Users Posts: 6,510 ✭✭✭daymobrew


    That directory is not the one in the error message.

    I do not know the solution to the problem. You will save a bunch of time if you just install XAMPP Lite
    http://www.apachefriends.org/en/xampp-windows.html


  • Registered Users Posts: 894 ✭✭✭Dale Parish


    I gave windows a reboot with the dir changes I made and it works :|
    Cheers
    :pac:


  • Advertisement
  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    always the way! for future reference though, you should bookmark xampp as daymobrew mentioned, it's such a time saver! i remember the first time i ever tried to set up a php dev environment, hours of my life wasted because i didnt know of xampp! :(


Advertisement