[PLUG] trouble with php and apache2 on Debian etch
Frank Hunt
linux at frankhunt.com
Wed Apr 2 01:15:22 UTC 2008
Frank Hunt wrote:
> Michael Rasmussen wrote:
>
>> On Tue, Apr 01, 2008 at 05:30:06PM -0700, Rogan Creswick wrote:
>>
>>
>>> I think the debian equivalent of this is the set of symbolic links in
>>> /etc/apache2/mods-enabled
>>>
>>> You can add/remove modules with a2enmod and a2dismod (they are in
>>> /usr/sbin), eg:
>>>
>>> a2enmod php5
>>>
>>>
>> Alternatively you can get a directory listing of /etc/apache2/mods-enabled and
>> if php5.conf and php5.load aren't there create the symlinks. The files will
>> be found in /etc/apache2/mods-available
>>
>>
>>
> Both are in mods-enabled
>
>
Log file entries from attempting to execute phpinfo (test.php):
[Tue Apr 01 18:12:26 2008] [error] [client 192.168.0.199] (13)Permission
denied: exec of '/web/httpd/htdocs/test/test.php' failed
[Tue Apr 01 18:12:26 2008] [error] [client 192.168.0.199] Premature end
of script headers: test.php
Any clues there? The permission denied line is interesting. Wonder
where that is coming from . . .
--
frank hunt
erstwhile linux admin
hilsboro oregon
More information about the PLUG
mailing list