Forum Moderators: phranque
So I open C:/WINDOWS/php.ini and add the following line to doc_root.
doc_root = "C:/Program Files/Apache Group/Apache2/htdocs"
The right at the bottom, I add the following lines:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
Do to test if php is working, I make a test.php with
<?
phpinfo();
?>
So this should just show the php details, but it shows the plain text
<?
phpinfo();
?>
Where have I gonw wrong?
Thanks,
Sam