Partner and Community Forums
php install problems
Last post Apr 17, 2009 09:40 AM by hdctest
Aug 03, 2007 01:50 PM|dmcdivitt|LINK
I just downloaded PHP, so it's the most recent version. I don't know what IIS version I have and don't know how to tell, but I have XP SP2 and ASP version 2.0.5027. When I install PHP using the downloaded msi, it says the following "Error trying to access
httpd.conf file. You will need to manually configure the web server." If I put a file at one of the web site paths having the extension .php, it will attempt to serve the file, but the browser displays an error message. The error I was getting said "PHP has
encountered an Access Violation". Now it's changed and says "No input file specified."
Also, should I install PHP with API or CGI. Thanks
Aug 06, 2007 09:42 AM|dmcdivitt|LINK
This was resolved by reading install.txt and doing a manual install. There is no install.txt unless the zip file is downloaded, first, so download the zip file, unzip to C:\PHP pursuant to the instructions, and read install.txt in that folder.
Apr 17, 2009 09:40 AM|hdctest|LINK
Thanks for the tip. I did use the installer though eventually.
I read the install.txt from the .zip folder and it says, "Warning
It is not recommended to install all extensions by default, since many
other them require dependencies from outside PHP in order to function
I was installing everything and this was causing my problems. I installed everything except the in extensions which you have to pick and choose which ones don't sound UNIX-y.
I installed curl, mssql, mysql, multi-byte string, openssl, and a few others and it worked. If you pick a apache-needing extension you can always uninstall and re-run the installer.
http://www.visualwin.com/PHP/ also helped me out for IIS settings.