httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] How to get my script run by the module instead of the execcgi
Date Wed, 23 Apr 2008 18:18:46 GMT
On Wed, Apr 23, 2008 at 9:56 AM, Neil S. Briscoe
<neil.briscoe@censornet.com> wrote:
> Hi
>
>  OK, originally we intended to use the php5-cgi to run a PHP script.
>
>  Having suffered an error and reading through the error logs and the
> suggested solution - we managed to get the source displayed as a page, but
> not to actually execute.  Not quite the intended result.
>
>  I have now compiled libapache2-mod-php5 and ensured that it is loaded
> before it is needed.
>
>  However, the server is stubbornly insisting on using php5-cgi and not using
> the module.
>
>  At least part of this must be because in my <Directory ....> stanza I have
>
>  Options ExecCGI
>
>  But if I comment this out, I just get a 403 forbidden.
>
>  I cannot work out how to ensure that the module is used rather than the
> php5-cgi.
>
>  Would someone care to point me in the right direction?

Do you have the appropriate AddHandler or AddType to activate the php
module processing?

If you show us the relevant part of your configuration, along with
more details on EXACTLY what you see when you request a php script, we
might be able to help.

Joshua.

---------------------------------------------------------------------
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