473,395 Members | 1,653 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Apache HTTP with PHP 5.2.14 ,on XP HOME

5
Hi
i am using Apache 2.2.16 with PHP 5.2.14 on xp home , to complete the php scripting ,

1 ) i am not able to run the php code
ge a 500 inter nal server error

2) where as http://localhost/index.html works


only when i run php code it get the 500 error
can any one help me in this

Reg
Sri
Sep 19 '10 #1
8 4344
Atli
5,058 Expert 4TB
Did you check the Apache error logs? They should tell you what error is causing this. (See Log Files - Apache HTTP Server)
Sep 19 '10 #2
sridh
5
Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 192.168.2.100 for ServerName
[Sun Sep 19 16:40:39 2010] [notice] Apache/2.2.16 (Win32) configured -- resuming normal operations
[Sun Sep 19 16:40:39 2010] [notice] Server built: Jul 30 2010 16:15:37
[Sun Sep 19 16:40:40 2010] [notice] Parent: Created child process 1424
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.100 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.100 for ServerName
[Sun Sep 19 16:40:40 2010] [notice] Child 1424: Child process is running
[Sun Sep 19 16:40:40 2010] [notice] Child 1424: Acquired the start mutex.
[Sun Sep 19 16:40:40 2010] [notice] Child 1424: Starting 64 worker threads.
[Sun Sep 19 16:40:40 2010] [notice] Child 1424: Starting thread to listen on port 80.

its a 45 kb file with similar lines
Sep 20 '10 #3
Atli
5,058 Expert 4TB
You would have to check the lines marked with the time when your error occurred. It tells you details about why the error happened.
Sep 20 '10 #4
sridh
5
nstalling the Apache2.2 service
The Apache2.2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd.exe: Could not reliably determine the server's fully qualified domain name
, using 192.168.2.100 for ServerName
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the <ESC> key to exit. 12...

Apache . is not coming up , i tried to Setup a Voip Software , but it is not working , it worked for some time , when i all the software vender , he said reinstall apache , now apache is not even coming up ,any help
step by step would help me as i work as a qa person ,
Sep 20 '10 #5
Atli
5,058 Expert 4TB
Seems there is something already listening on port 80. Do you by chance have multiple installs of Apache active, or another HTTP server? - You may also want to turn of Skype if you have that open. It falls back on port 80 if your firewall/router blocks it's usual port.

I'm not sure if this is possible on XP Home, or if it is only XP Professional and higher, but you can do the following to identify the process that is using the port:
  1. Open a command line window. (Windows Key + R and type in cmd.exe)
  2. Run the command: netstat -ao
  3. Identify the line where "Local Address" ends in ":80", and copy the PID from that line. If that line isn't there, nothing is using the port.
  4. Execute: tasklist /FI "PID eq XYZ" (Replace XYZ with the PID number you copied before)
  5. Now you should see the executible that is using port 80. For example:
    Expand|Select|Wrap|Line Numbers
    1. Image Name                     PID Session Name        Session#    Mem Usage
    2. ========================= ======== ================ =========== ============
    3. httpd.exe                     1736 Services                   0     42.620 K
    This is how that line looks when Apache is using it.

Once you have identified the program, you need to shut it down or have it use another port.

An alternative is to have your Apache listen on a different port. To do that you open the Apache config ("httpd.ini" or "httpd.conf" under the "conf" directory where you installed Apache) and change "Listen 80" to another port, and all instances of ":80" to match it. -- Just make sure you back up your config file first, in case something goes wrong ;)
Sep 20 '10 #6
sridh
5
thanks Atli

there was a reg entry which i deleted ,ths reg entry was from the Voip Software , which was forcing to :100 port , so i deleted this , now it is working , even PHP
Thanks
:D
Sep 20 '10 #7
Atli
5,058 Expert 4TB
Ahh ok I see. I wouldn't have guessed that. (More of a Linux guy... no registry.)

Glad you got it working :)
Sep 20 '10 #8
sridh
5
Hi
how can i capture the value of a check box .

regars
sri
Sep 20 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Vitali Malicky | last post by:
Hello dear All! I need to print out and pass apache evironment variables (like HTTP_HOST, SERVER _NAME, REMOTE_ADDR) to another program which is to process them and take definite actions...
2
by: dave | last post by:
Hello, Not sure if this is an apache configuration or a php configuration problem, i'm hoping someone can help. I'm running a webserver on FreeBSD consisting of apache2 and php4 among other items....
0
by: bruce | last post by:
Hi... Update.... We have the following setup in our httpd.conf file. We've tried to give what's related to the issue. We're trying to set up a virtual host for a test project. The behavior...
4
by: Dalibor | last post by:
I have Apache HTTP Server 2.0.53 and PHP 4.3.10 programs and I want to install it on my computer so I can view .php pages offline (I don't have ADSL)? I tried myself but it doesn't work. Manual is...
5
by: KinnarSen | last post by:
Hi I am new to APACHE , TOMCAT arena . For my application i need to install Apache with mod_jk support so that it can connect with a standalone Tomcat server. I am following the instruction of...
18
by: rfhurley | last post by:
How do I run a .php program? (I'm starting with the "hello world" script)
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
0
by: shivapadma | last post by:
apache server 2.2.9 is installed in my system as follows 1.while installing in the middle some settings were asked like Network Domain: localhost Server Name: localhost Admin Email: (i gave my...
6
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
1
by: imtiyazali4all | last post by:
Hi, I have installed Apache 2.2.15 and it was tested successful and working fine. As a next step I installed php-5.3.2-Win32-VC6-x86 on Windows XP SP3.Now when I restart the Apache server I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.