httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Thorburn <immor...@nwconx.net>
Subject Re: [users@httpd] PHP Problems
Date Thu, 18 Sep 2003 18:51:44 GMT
Thanks Robert, after looking again, PHP is in fact compiled as CGI which 
would explain why it will not work for me

Thanks again!
-Tim

At 12:39 AM 9/18/2003, you wrote:
>[you should start a new thread when changing topic]
>
>Tim Thorburn wrote:
> > php_value include_path ".:/path/to/web/"
> >
> > This has worked with Apache on Linux (Red Hat specifically), Solaris, and
> > even Windows - yet when I try this same command on a FreeBSD system, the
> > result is all pages for that site give an error 500.
>
>Is it running PHP as a module or CGI? You can not have PHP directives in
>Apache's configuration unless it is as module. Most shared hosting providers
>will not run PHP as a module for security reasons.
>
>If that is the case, you'll have to do it in the script themselves, by:
>
>     ini_set('include_path', '.:/path/to/web");
>
>Otherwise (or likewise) you need to look at the error log, to see why the
>500 is generated.
>
>Regards,
>Robert Andersson
>
>
>---------------------------------------------------------------------
>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



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