Chris Hewitt wrote:

Jitendra Rane wrote:

Hi ppl,

I am using redhat Linux 8.0 as operating system. I have installed apache 2.0 and PHP using the packet manager of the Redhat Linux 8. (which by default comes with the operating system).
But it is giving error. When i try to run php script. It starts downloading the script instead of executing it.


I only enabled the SSI on the apache and other settings are default.

Error_log is also not showing any error.

Any help in this matter is appreciated.

I think that either you did not install php or the changes you made since have messed it up. Do you have the file /etc/httpd/conf.d/php.conf? This is installed by the php-4.2.2-8.0.3 package. To check, from the Gnome penguin, select "System Settings", "Packages". In the "Web Server" section, click on "Details" and see if "php" is ticked.

HTH
Chris


The other possibility is that you test php file does not have the extension ".php". This is the only extension catered for in the standard /etc/httpd/conf.d/php.conf file.

Chris


-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to