You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Glen Stormbind <gl...@nuws.net> on 2002/09/16 00:42:18 UTC
[users@httpd] Enable PHP
Hi,
If the following accessfile enables CGI (which it does), what would
enable PHP scripts?
AddHandler cgi-script cgi pl
Options +ExecCGI
Thanks,
--Glen :)
---------------------------------------------------------------------
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
Re: [users@httpd] Enable PHP
Posted by Mitch Vincent <mi...@unixprogramming.net>.
Also, something like
AddType application/x-httpd-php .php
..in there where .php is the extension you'd like PHP to parse, you may
have multiple extensions in there too.
On Sunday, September 15, 2002, at 09:18 PM, J. Greenlees wrote:
> for apache 1, do you want it as a dso or an external app?
> if dso you need:
> loadmodule php4_module /path/to/libphp4.so
>
>
> and
>
> addmodule mod_php4.c
>
> though this is for *nix based box, for windows box it is different,
> not a lot.
>
> Glen Stormbind wrote:
>
>> Hi,
>>
>> If the following accessfile enables CGI (which it does), what would
>> enable PHP scripts?
>>
>> AddHandler cgi-script cgi pl
>> Options +ExecCGI
>>
>> Thanks,
>> --Glen :)
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
-Mitch
Linux is for people that hate Microsoft. FreeBSD is for people that
love UNIX.
---------------------------------------------------------------------
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
Re: [users@httpd] Enable PHP
Posted by "J. Greenlees" <ja...@shaw.ca>.
for apache 1, do you want it as a dso or an external app?
if dso you need:
loadmodule php4_module /path/to/libphp4.so
and
addmodule mod_php4.c
though this is for *nix based box, for windows box it is different, not
a lot.
Glen Stormbind wrote:
>Hi,
>
>If the following accessfile enables CGI (which it does), what would
>enable PHP scripts?
>
>AddHandler cgi-script cgi pl
>Options +ExecCGI
>
>Thanks,
>--Glen :)
>
>
>
>---------------------------------------------------------------------
>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