Click to See Complete Forum and Search --> : installing php on XP Pro


chelsea7
03-31-2003, 12:08 AM
I'm having problems getting PHP to run on my system. I have an html form that is supoose to take the information and display it in the IE 6 browser and also send the contents via email. However, with I press the submit button on the form, I goes to the php file but the browser does not display anything. No email is sent either and no errors. According to the Install file that comes along with the download , it states that when this happens, the server and php are configured wrong. I currently have Windows XP Pro with IIS 5 installed. I downloaded the PHP interpeter from php.net. I first used the MS package installer. I uninstalled it and downloaded the Zip file. I even uninstalled IIS 5 and I still couldn't get it to work. Can anyone help me on this one? Does it work on XP Pro?

Thank you
Kyle

piersk
04-02-2003, 05:10 AM
Can you please post the code you are using here.

Also (and this may sounds stupid, but it needs to be asked) do you have a mailserver installed on your computer?

trooper
04-03-2003, 02:46 PM
You will need to ensure that the value for

SMTP in you php.in file point to a valid smtp address. I use my ISP's smpt server



Give it a try

HTH

GM

rklapwijk
04-09-2003, 08:49 PM
i use xp pro aswell (used several versions of php) i always used isapi.dll, not the cgi version. Create a file wih the phpinfo(), check if you can see stuff. If not check your settings:

make sure that the php extensions are defined:

-> Run -> inetmgr
-> Right click "Default Web Site" (if not renamed)
-> Properties
-> Home directory
-> Configuration
-> check if there is .php or .php3 in the list.
If not:

-> Add
-> Extension: .php (.php3, .phtml whatever you want)
-> Executable: C:\PHP\sapi\php4isapi.dll


If this is set correctly:

-> Run -> inetmgr
-> Right click "Default Web Site" (if not renamed)
-> Properties
-> isapi Filers, check the status oh php (should be loaded and arrow should be green)
If not click on it and press Edit:

-> Filername: PHP
-> Executable: C:\PHP\sapi\php4isapi.dll (if C:\PHP is your php dit)

If you still have problems, you should play with php.ini