Reply to Re: Configuring PHP on a Redhat/Apache server

Your name:

Reply:


Posted by David Haynes on 11/29/05 21:05

Ziggie wrote:
> I am not able to get PHP scripts to run on a Redhat linux server
> running Apache web server. Php is installed and as near as I can tell
> configured correctly. The Apache service has been restarted since
> installation, but whenever I try to run phpinfo() I get a neat little
> webpage showing me my php code.
>
> I'm not even sure where to start looking, let alone what I need to do
> to troubleshoot and fix this problem.
>
> Thanks in advance,
>
> Chad
>

Did you remember to change the httpd.conf file?
It needs the following entries:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

LoadModule php5_module modules/libphp5.so

Naturally, you will need to restart apache after making these changes.

-david-

[Back to original 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

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