|
Posted by Lammi on 09/05/07 11:12
On 5 Sep., 13:05, i...@awebali.com wrote:
> What should I do to solve this? I can not load php tag to test my
> apache server :
> but everytime i open thehttp://localhost/ everything looks
> like ok.
i assume, your apache doesn't serve php as parsed webpages, it serves
them as text? you need to enable php support in apache. on windows,
you have to include something similar to this into httpd.conf:
LoadModule php5_module "D:/xampp/apache/bin/php5apache2.dll"
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml
on linux you need the same setting, just adjust the path-information.
[Back to original message]
|