Jump to content

test page not working


definewebsites

Recommended Posts

Hi there,

 

I have Apache, MySQL and php installed on my laptop. I have followed guidelines as to how to setup the environment, however when I am running a test file from my browser using http://localhost/test.php, it is not displaying the contents of the file, its just not working. I tried doing that in Internet Explorer and it says that the location cannot be found. Apache however has been correctly setup.

 

Some assistance would be greatly appreciated as I have reached the point of frustration...

 

:(

Link to comment
Share on other sites

Hi, thanks for the response.

 

I just checked the access log (thanks for that insight), and this is a message I saw in there:

 

httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName

 

Is that what is causing it not to work? How would I rectify this?

 

Thanks

 

:(

Link to comment
Share on other sites

Hi,

 

Below is the complete contents of the error log:

 

[sun Oct 28 03:46:10 2007] [notice] Apache/2.2.6 (Win32) PHP/5.2.4 configured -- resuming normal operations
[sun Oct 28 03:46:10 2007] [notice] Server built: Sep  5 2007 08:58:56
[sun Oct 28 03:46:10 2007] [notice] Parent: Created child process 4568
[sun Oct 28 03:46:10 2007] [notice] Child 4568: Child process is running
[sun Oct 28 03:46:10 2007] [notice] Child 4568: Acquired the start mutex.
[sun Oct 28 03:46:10 2007] [notice] Child 4568: Starting 250 worker threads.
[sun Oct 28 03:46:10 2007] [notice] Child 4568: Starting thread to listen on port 8080.
[sun Oct 28 03:46:26 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[sun Oct 28 03:46:26 2007] [notice] Child 4568: Exit event signaled. Child process is ending.
[sun Oct 28 03:46:27 2007] [notice] Child 4568: Released the start mutex
[sun Oct 28 03:46:28 2007] [notice] Child 4568: Waiting for 250 worker threads to exit.
[sun Oct 28 03:46:28 2007] [notice] Child 4568: All worker threads have exited.
[sun Oct 28 03:46:28 2007] [notice] Child 4568: Child process is exiting
[sun Oct 28 03:46:28 2007] [notice] Parent: Child process exited successfully.
[sun Oct 28 03:47:24 2007] [notice] Apache/2.2.6 (Win32) PHP/5.2.4 configured -- resuming normal operations
[sun Oct 28 03:47:24 2007] [notice] Server built: Sep  5 2007 08:58:56
[sun Oct 28 03:47:24 2007] [notice] Parent: Created child process 748
[sun Oct 28 03:47:24 2007] [notice] Child 748: Child process is running
[sun Oct 28 03:47:24 2007] [notice] Child 748: Acquired the start mutex.
[sun Oct 28 03:47:24 2007] [notice] Child 748: Starting 250 worker threads.
[sun Oct 28 03:47:24 2007] [notice] Child 748: Starting thread to listen on port 8080.
[sun Oct 28 03:48:05 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[sun Oct 28 03:48:05 2007] [notice] Child 748: Exit event signaled. Child process is ending.
[sun Oct 28 03:48:06 2007] [notice] Child 748: Released the start mutex
[sun Oct 28 03:48:07 2007] [notice] Child 748: Waiting for 250 worker threads to exit.
[sun Oct 28 03:48:07 2007] [notice] Child 748: All worker threads have exited.
[sun Oct 28 03:48:07 2007] [notice] Child 748: Child process is exiting
[sun Oct 28 03:48:07 2007] [notice] Parent: Child process exited successfully.
[sun Oct 28 03:52:04 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.4 configured -- resuming normal operations
[sun Oct 28 03:52:04 2007] [notice] Server built: Jan  9 2007 23:17:20
[sun Oct 28 03:52:04 2007] [notice] Parent: Created child process 1716
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_mssql.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:\\php\\ext\\php_mysql.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:\\php\\ext\\php_mysqli.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:\\php\\ext\\php_openssl.dll' - The operating system cannot run %1.\r\n in Unknown on line 0
[sun Oct 28 03:52:04 2007] [notice] Child 1716: Child process is running
[sun Oct 28 03:52:04 2007] [notice] Child 1716: Acquired the start mutex.
[sun Oct 28 03:52:04 2007] [notice] Child 1716: Starting 250 worker threads.
[sun Oct 28 03:52:04 2007] [notice] Child 1716: Starting thread to listen on port 8080.
[sun Oct 28 03:53:58 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[sun Oct 28 03:53:58 2007] [notice] Child 1716: Exit event signaled. Child process is ending.
[sun Oct 28 03:53:59 2007] [notice] Child 1716: Released the start mutex
[sun Oct 28 03:54:00 2007] [notice] Child 1716: Waiting for 250 worker threads to exit.
[sun Oct 28 03:54:00 2007] [notice] Child 1716: All worker threads have exited.
[sun Oct 28 03:54:00 2007] [notice] Child 1716: Child process is exiting
[sun Oct 28 03:54:00 2007] [notice] Parent: Child process exited successfully.
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_mssql.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:\\php\\ext\\php_mysql.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:\\php\\ext\\php_mysqli.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:\\php\\ext\\php_openssl.dll' - The operating system cannot run %1.\r\n in Unknown on line 0
[sun Oct 28 03:54:56 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.4 configured -- resuming normal operations
[sun Oct 28 03:54:56 2007] [notice] Server built: Jan  9 2007 23:17:20
[sun Oct 28 03:54:56 2007] [notice] Parent: Created child process 3796
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_mssql.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:\\php\\ext\\php_mysql.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:\\php\\ext\\php_mysqli.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:\\php\\ext\\php_openssl.dll' - The operating system cannot run %1.\r\n in Unknown on line 0
[sun Oct 28 03:54:56 2007] [notice] Child 3796: Child process is running
[sun Oct 28 03:54:56 2007] [notice] Child 3796: Acquired the start mutex.
[sun Oct 28 03:54:56 2007] [notice] Child 3796: Starting 250 worker threads.
[sun Oct 28 03:54:56 2007] [notice] Child 3796: Starting thread to listen on port 8080.

 

What do you think?

 

Thanks

 

:(

Link to comment
Share on other sites

In that error log it says Apache is listening on port 8080, as quoted below:

[sun Oct 28 03:52:04 2007] [notice] Child 1716: Starting thread to listen on port 8080.

In that case you should use http://localhost:8080/ and not http://localhost/

 

There is also an issue with PHPs configuration to do with some extensions you have enabled. This should not affect Apache.

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.