My Apache htt web server 2.058 can execute PHP command

My Apache htt web server 2.058 can execute PHP command

am 05.09.2007 13:05:31 von info

What should I do to solve this? I can not load php tag to test my
apache server :
but everytime i open the http://localhost/ everything looks
like ok.

Re: My Apache htt web server 2.058 can execute PHP command

am 05.09.2007 13:12:57 von Lammi

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.