PHP on Local host
Moderator: General Moderators
PHP on Local host
Hi
I have a basic Problem.
Each Time that I have installed appserver on it , and try to test php
on http://localhost:88/
I get the following on my browser
Internet Explorer cannot display the web page
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
Can someone suggest please.
I have a basic Problem.
Each Time that I have installed appserver on it , and try to test php
on http://localhost:88/
I get the following on my browser
Internet Explorer cannot display the web page
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
Can someone suggest please.
Re: PHP on Local host
Why port 88? Did you configure your server to listen on port 88?
AFAI port 88 is for Kerberos authentification not HTTP.
Gerhard
AFAI port 88 is for Kerberos authentification not HTTP.
Gerhard
Re: PHP on Local host
Yes .gerhard54 wrote:Why port 88? Did you configure your server to listen on port 88?
Gerhard
And I have work with appserver and php many times on port 88.
Re: PHP on Local host
Have you looked into apaches error log?
It should give you a hint what prevented apache from starting.
Gerhard
It should give you a hint what prevented apache from starting.
Gerhard
Re: PHP on Local host
when start apache
Apache 2.2 daemon is Starting ...
##########################################
## Stop Apache Please Close This Window ##
##########################################
Press any key to continue . . .
Apache 2.2 daemon is Starting ...
##########################################
## Stop Apache Please Close This Window ##
##########################################
Press any key to continue . . .
Re: PHP on Local host
But did you look in the apache error logs like Gerhard suggested? If you haven't, you should, and check the system error log also.
Re: PHP on Local host
Doug G wrote:But did you look in the apache error logs like Gerhard suggested? If you haven't, you should, and check the system error log also.
Please I am beginner how to do these steps?
Re: PHP on Local host
Apache Error Log
.) Locate the directory where Apache is installed. A typical Place might be C:\Program Files\Apache Software Foundation\Apache2.2
.) in the sub directpry "logs" you will find the file "error.log".
.) You can open it with any text editor.
.) Hint: if it has grown too large to open, rename it to something like "error.old" and try to restart the apache...
System Errors (sorry if the actual names differ from what I write, I#m translating from an XP machine with German localization):
.) Open Settings->Sytem Control->Admistration
.) Open the event viewer
.) now check the various logs for entries relating to apache
.) the important ones should be named something like "application" and "system"
Gerhard
.) Locate the directory where Apache is installed. A typical Place might be C:\Program Files\Apache Software Foundation\Apache2.2
.) in the sub directpry "logs" you will find the file "error.log".
.) You can open it with any text editor.
.) Hint: if it has grown too large to open, rename it to something like "error.old" and try to restart the apache...
System Errors (sorry if the actual names differ from what I write, I#m translating from an XP machine with German localization):
.) Open Settings->Sytem Control->Admistration
.) Open the event viewer
.) now check the various logs for entries relating to apache
.) the important ones should be named something like "application" and "system"
Gerhard
Re: PHP on Local host
that is my error file
[text]
[Mon Feb 19 09:19:22 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Mon Feb 19 09:19:22 2007] [notice] Server built: Jan 9 2007 23:17:20
[Mon Feb 19 09:19:22 2007] [notice] Parent: Created child process 1992
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Child process is running
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Acquired the start mutex.
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Starting 250 worker threads.
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Starting thread to listen on port 80.
[Thu Sep 01 12:07:30 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Sep 01 12:07:30 2011] [notice] Server built: Jan 9 2007 23:17:20
[Thu Sep 01 12:07:30 2011] [notice] Parent: Created child process 2488
[Thu Sep 01 12:07:30 2011] [notice] Child 2488: Child process is running
[Thu Sep 01 12:07:30 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 2488: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Sep 01 12:07:31 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Thu Sep 01 13:15:55 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Sep 01 13:15:55 2011] [notice] Server built: Jan 9 2007 23:17:20
[Thu Sep 01 13:15:55 2011] [notice] Parent: Created child process 3392
[Thu Sep 01 13:15:55 2011] [notice] Child 3392: Child process is running
[Thu Sep 01 13:15:55 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 3392: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Sep 01 13:15:55 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Fri Sep 02 02:17:17 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Fri Sep 02 02:17:17 2011] [notice] Server built: Jan 9 2007 23:17:20
[Fri Sep 02 02:17:17 2011] [notice] Parent: Created child process 1676
[Fri Sep 02 02:17:18 2011] [notice] Child 1676: Child process is running
[Fri Sep 02 02:17:18 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1676: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Fri Sep 02 02:17:21 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Fri Sep 02 04:55:53 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Fri Sep 02 04:55:53 2011] [notice] Server built: Jan 9 2007 23:17:20
[Fri Sep 02 04:55:53 2011] [notice] Parent: Created child process 692
[Fri Sep 02 04:55:53 2011] [notice] Child 692: Child process is running
[Fri Sep 02 04:55:53 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 692: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Fri Sep 02 04:55:54 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 17:37:16 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 17:37:16 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 17:37:16 2011] [notice] Parent: Created child process 1708
[Sat Sep 03 17:37:16 2011] [notice] Child 1708: Child process is running
[Sat Sep 03 17:37:16 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1708: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 17:37:21 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 19:19:33 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 19:19:33 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 19:19:33 2011] [notice] Parent: Created child process 3036
[Sat Sep 03 19:19:33 2011] [notice] Child 3036: Child process is running
[Sat Sep 03 19:19:33 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 3036: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 19:19:34 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 19:19:52 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 19:19:52 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 19:19:52 2011] [notice] Parent: Created child process 1832
[Sat Sep 03 19:19:53 2011] [notice] Child 1832: Child process is running
[Sat Sep 03 19:19:53 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1832: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 19:19:53 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 20:07:48 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 20:07:48 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 20:07:48 2011] [notice] Parent: Created child process 1240
[Sat Sep 03 20:07:48 2011] [notice] Child 1240: Child process is running
[Sat Sep 03 20:07:48 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1240: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 20:07:48 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 20:08:01 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 20:08:01 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 20:08:01 2011] [notice] Parent: Created child process 2932
[Sat Sep 03 20:08:01 2011] [notice] Child 2932: Child process is running
[Sat Sep 03 20:08:01 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 2932: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 20:08:01 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Sep 05 00:56:38 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Mon Sep 05 00:56:38 2011] [notice] Server built: Jan 9 2007 23:17:20
[Mon Sep 05 00:56:38 2011] [notice] Parent: Created child process 1668
[Mon Sep 05 00:56:38 2011] [notice] Child 1668: Child process is running
[Mon Sep 05 00:56:38 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1668: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Sep 05 00:56:43 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Sep 05 23:52:40 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Mon Sep 05 23:52:40 2011] [notice] Server built: Jan 9 2007 23:17:20
[Mon Sep 05 23:52:40 2011] [notice] Parent: Created child process 1692
[Mon Sep 05 23:52:40 2011] [notice] Child 1692: Child process is running
[Mon Sep 05 23:52:40 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1692: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Sep 05 23:52:45 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[/text]
In Event Viewer There is an information
The apache2.2 service entered the stopped state.
[text]
[Mon Feb 19 09:19:22 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Mon Feb 19 09:19:22 2007] [notice] Server built: Jan 9 2007 23:17:20
[Mon Feb 19 09:19:22 2007] [notice] Parent: Created child process 1992
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Child process is running
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Acquired the start mutex.
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Starting 250 worker threads.
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Starting thread to listen on port 80.
[Thu Sep 01 12:07:30 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Sep 01 12:07:30 2011] [notice] Server built: Jan 9 2007 23:17:20
[Thu Sep 01 12:07:30 2011] [notice] Parent: Created child process 2488
[Thu Sep 01 12:07:30 2011] [notice] Child 2488: Child process is running
[Thu Sep 01 12:07:30 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 2488: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Sep 01 12:07:31 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Thu Sep 01 13:15:55 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Sep 01 13:15:55 2011] [notice] Server built: Jan 9 2007 23:17:20
[Thu Sep 01 13:15:55 2011] [notice] Parent: Created child process 3392
[Thu Sep 01 13:15:55 2011] [notice] Child 3392: Child process is running
[Thu Sep 01 13:15:55 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 3392: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Sep 01 13:15:55 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Fri Sep 02 02:17:17 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Fri Sep 02 02:17:17 2011] [notice] Server built: Jan 9 2007 23:17:20
[Fri Sep 02 02:17:17 2011] [notice] Parent: Created child process 1676
[Fri Sep 02 02:17:18 2011] [notice] Child 1676: Child process is running
[Fri Sep 02 02:17:18 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1676: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Fri Sep 02 02:17:21 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Fri Sep 02 04:55:53 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Fri Sep 02 04:55:53 2011] [notice] Server built: Jan 9 2007 23:17:20
[Fri Sep 02 04:55:53 2011] [notice] Parent: Created child process 692
[Fri Sep 02 04:55:53 2011] [notice] Child 692: Child process is running
[Fri Sep 02 04:55:53 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 692: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Fri Sep 02 04:55:54 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 17:37:16 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 17:37:16 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 17:37:16 2011] [notice] Parent: Created child process 1708
[Sat Sep 03 17:37:16 2011] [notice] Child 1708: Child process is running
[Sat Sep 03 17:37:16 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1708: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 17:37:21 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 19:19:33 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 19:19:33 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 19:19:33 2011] [notice] Parent: Created child process 3036
[Sat Sep 03 19:19:33 2011] [notice] Child 3036: Child process is running
[Sat Sep 03 19:19:33 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 3036: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 19:19:34 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 19:19:52 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 19:19:52 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 19:19:52 2011] [notice] Parent: Created child process 1832
[Sat Sep 03 19:19:53 2011] [notice] Child 1832: Child process is running
[Sat Sep 03 19:19:53 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1832: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 19:19:53 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 20:07:48 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 20:07:48 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 20:07:48 2011] [notice] Parent: Created child process 1240
[Sat Sep 03 20:07:48 2011] [notice] Child 1240: Child process is running
[Sat Sep 03 20:07:48 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1240: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 20:07:48 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 03 20:08:01 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 03 20:08:01 2011] [notice] Server built: Jan 9 2007 23:17:20
[Sat Sep 03 20:08:01 2011] [notice] Parent: Created child process 2932
[Sat Sep 03 20:08:01 2011] [notice] Child 2932: Child process is running
[Sat Sep 03 20:08:01 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 2932: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 03 20:08:01 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Sep 05 00:56:38 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Mon Sep 05 00:56:38 2011] [notice] Server built: Jan 9 2007 23:17:20
[Mon Sep 05 00:56:38 2011] [notice] Parent: Created child process 1668
[Mon Sep 05 00:56:38 2011] [notice] Child 1668: Child process is running
[Mon Sep 05 00:56:38 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1668: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Sep 05 00:56:43 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Sep 05 23:52:40 2011] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Mon Sep 05 23:52:40 2011] [notice] Server built: Jan 9 2007 23:17:20
[Mon Sep 05 23:52:40 2011] [notice] Parent: Created child process 1692
[Mon Sep 05 23:52:40 2011] [notice] Child 1692: Child process is running
[Mon Sep 05 23:52:40 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 1692: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Sep 05 23:52:45 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[/text]
In Event Viewer There is an information
The apache2.2 service entered the stopped state.
Re: PHP on Local host
The telltale line is:
[Sat Sep 03 19:19:33 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 3036: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
It looks like the problem is not with apache or php, but with the os or some antivirus/firewall software you are running.
An internet search turned this up:
http://www.apachelounge.com/viewtopic.php?p=7687
There are some suggestions what you should try.
Gerhard
[Sat Sep 03 19:19:33 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 3036: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
It looks like the problem is not with apache or php, but with the os or some antivirus/firewall software you are running.
An internet search turned this up:
http://www.apachelounge.com/viewtopic.php?p=7687
There are some suggestions what you should try.
Gerhard