I am currently setting up a Xitami Web Server for my windows 98 machine. I have got perl 5 working fine but am having trouble-getting php to work.
I have added the following lines to the c:\xitami\defaults.cfg file:
[Filter]
.php=c:\php\php.exe
.php4=c:\php\php.exe
.phtml=c:\php\php.exe
.php3=c:\php\php.exe
[Mime]
Php=application/x-httpd-php4
Php4=application/x-httpd-php4
Phtml=application/x-httpd-php4
Php3=application/x-httpd-php3
I edited the c:\windows\php.ini file and made extension_dir=C:\PHP\EXTENSIONS because that is where all the php dll files are located.
I wrote a quick test script c:\xitami\cgi-bin\phptest.php
#! c:\php\php
<?php
echo “php is working”;
?>
when I type http://localhost/cgi-bin/phptest.php I get a blank web page appear.
Any help would be greatly appreciated.
Regards,
Anthony Irwin