httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rex C. Eastbourne" <rex.eastbou...@gmail.com>
Subject Re: [users@httpd] Re: RAM problem w/ multiple Apache processes
Date Thu, 14 May 2009 00:08:27 GMT
On Tue, May 12, 2009 at 9:43 PM, Prasanna Ram Venkatachalam
<vpram86@gmail.com> wrote:
> mod_actions should be included I guess. Can you see it precompiled with
> apache using httpd -l? or see it in httpd.conf LoadModule section?
>
> On Wed, May 13, 2009 at 9:43 AM, Rex C. Eastbourne
> <rex.eastbourne@gmail.com> wrote:
>>
>> Thanks, Eric. I kept the apache2-mpm-worker package and installed
>> php5-cgi. However, now I have the problem that my PHP files aren't
>> getting executed. When I set permissions to 755 (751 just gives me a
>> 403 message), my browser recognizes the php files as
>> "application/x-httpd-php" and attempts to download them. I Googled
>> this issue and it looks like I should be adding something like the
>> following to my Apache conf file:
>>
>> AddHandler application/x-httpd-php5 php
>> Action application/x-httpd-php5 /usr/local/bin/php-cgi
>>
>> However, when I do this, Apache gives the following error message:
>>
>> "Invalid command 'Action', perhaps misspelled or defined by a module
>> not included in the server configuration"
>>
>> I Googled that error message, but I couldn't find a clear course of
>> action. So I come to this mailing list.
>>
>> Does anyone know what might be going on?
>>

I added mod_actions and PHP now works. Thanks Prasanna!

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message