I used to have PHP4 setup correctly with Apache & Perl (see versions in subject line). Then my PC got a virus & I had to do a complete system recovery. I reinstalled everything and Apache/Perl works fine, but I can't get PHP to run. I think there is a problem with my configuration file, since there are no errors popping up in the apache error log and thus I think Apache just isn't processing the file. The php file is simple: <html><body><?php echo "text"; ?></body></html> and has an extension of .php. I added the following to my config file as per instruction:
ScriptAlias /php/ "C:/php/"
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php.exe"
and PHP is installed in C:/PHP
Before installing PHP, I tried to set up my config file for SSI, but that wasn't working and I undid all the changes I made.
I am at a loss. Help!
Michael 😕