You are here: Re: My Apache htt web server 2.058 can execute PHP command « PHP Programming Language « IT news, forums, messages
Re: My Apache htt web server 2.058 can execute PHP command

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация