Web browser only show php code
Posted: Wed Jul 23, 2003 9:32 pm
Hi,
Please help me...
After i install apache ver 1.3.14 and PHP4 at C:/php
and configure as per instruction on the doc.
I have added the code below into httpd.conf:
ScriptAlias /php/ "c:php/"
Addtype application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
And i have copy php4ts.dll into my folder called system32
When i try to run my test.php
with the following code as below
<?php
phpinfo();
?>
The browser show me the code itself.
I'm using Window XP Home Edition.
Please help me...
After i install apache ver 1.3.14 and PHP4 at C:/php
and configure as per instruction on the doc.
I have added the code below into httpd.conf:
ScriptAlias /php/ "c:php/"
Addtype application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
And i have copy php4ts.dll into my folder called system32
When i try to run my test.php
with the following code as below
<?php
phpinfo();
?>
The browser show me the code itself.
I'm using Window XP Home Edition.