Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi there im new to PHP.. i have got

Status
Not open for further replies.

sanjdhiman

Programmer
Jan 15, 2003
189
GB
Hi there im new to PHP.. i have got mysql running and apache..when i run apache it says it running successfully ... does that mean that php is now running .. i dont get no php 4.0 running on apache or anything like htat just get

The Apache service is starting
the apache service was started successfully

how do i test that php works?

not sure how
oh im running windows xp home edition
default settings on everything
and php is running as a module

thank u in advance

sanj
 
One more thing i did put the two lines in apache

LoadModule php4_module c:/php/sapi/php4apache.dll
and the
addType application/x-httpd-php /php4

i just tested a simple php page in htdocs\ (where my webserver folder is) but nothing
it doesnt do anything

so does anyone know wats up with it

 
i think you also need to install php4 on your server [soapbox]
sleep is good
 
deecee:

"and php is running as a module" implies it is installed.


sanjdhiman:

The quick test for PHP is to invoke the phpinfo() function.

Create a script that reads:
<?php
phpinfo()
?>

And write it to a file that is within the document root of an Apache virtual server. If everything is running, it'll output all kinds of information about your PHP installation. Want the best answers? Ask the best questions: TANSTAAFL!
 
ok so i have looked at the replies so far... and stil ldont know wat to do .. i copied the zip folder to c:php and there i left it doing all the stuff it said to do with it

didnt use the windows installer at all during the whole process should i have?

regards

sanj
sorry i know im a bit slow at this.. first time with php
 
i did that function u asked me to pass... phpinfo()

but nothing
i dont get anything

no results
kjust a blank page

??

do u know wat could be the cause

regards

sanj
 
Go to and download for the operating system you need.

It will install Apache/MySQL/PHP in one installation and everything will work together without any problems. You are asked a few simple questions along the way.

Just make sure you have uninstalled the previous versions of Apache and MySQL and PHP that you installed separately
 
Go to and download for the operating system you need.

It will install Apache/MySQL/PHP in one installation and everything will work together without any problems. You are asked a few simple questions along the way.

Just make sure you have uninstalled the previous versions of Apache and MySQL and PHP that you installed separately
 
yea i could do that but i have apache working i have mySQL working i just dont have php.... would be nice to try and sort this problem out without loading foxserve....

regards

sanj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top