I am trying to install php 4.3.0 with apache 1.3 as my web server and I cant test my code on my computer. I am running winxp and yes!!! the phpinfo file is in the htdocs folder. I have done everything by the book and it is still not working. When I try to test it I type on IE http://localhost/test.php to get the info page, but instead I get the code from the test.php file. Any ideas why this might be happening?
mmkay, did you restart apache? Are you sure you added the right lines to the httpd.conf? It may be a good idea to post your httpd.conf... or at least the load modules sections and the relevent php sections..
I restarted apache and I did type the right lines on the httpd.conf...here it is....
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
these are the last lines, as for the rest I havent changed anything...
no, i didnt...what modules do i have to load and where? By the way I have tried the installation on two different computers with the only difference that I have installed as isapi on one and as cgi module on other.both are doing the same thing...apache is working properly, mysql as well...
I don't do cgi installs. so... read the manual... or maybe ask on #php (irc.freenode.net) ... don't blame me if you get yelled at on the channel though..