MLUG: RE: [MLUG] php pages not running in apache2
RE: [MLUG] php pages not running in apache2
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hummm... all is fine, but I get a permission denied when I try to run
/etc/sysconfig/apache2 as root.

What permissions should I give it?

Mike


-----Original Message-----
From: EMAIL:PROTECTED
[mailto:EMAIL:PROTECTED] On Behalf Of Russell Horn
Sent: Monday, January 09, 2006 6:21 PM
To: MLUG Members
Subject: Re: [MLUG] php pages not running in apache2

In /etc/sysconfig.d/apache2 you need to make sure APACHE_MODULES
includes php4

Once that's done, run suseconfig as root.

There should be a file /etc/apache2/conf.d/php4.conf

It should contain:

<IfModule sapi_apache2.c>
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php .php3
        AddType application/x-httpd-php .php4
        AddType application/x-httpd-php-source .phps
        DirectoryIndex index.php
        DirectoryIndex index.php3
        DirectoryIndex index.php4
</IfModule>


After that, restart apache and see if your page will load.

Russell


_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members