On Tue, May 12, 2009 at 9:43 PM, Prasanna Ram Venkatachalam
<vpra...@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.eastbou...@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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to