[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wrapping CGI and PHP Scripts

On Wed, Jul 02, 2003 at 11:41:47AM -0400, Anand Atreya wrote:
>     Does anybody have any recommendations on how to set up a virtual hosting
> Apache server such that users can have CGI and PHP scripts execute as
> themselves, without having to put #!/usr/bin/php at the top of php scripts,
> and that is completely transparent to the user, also allowing them to place
> scripts anywhere in their document root?

I found this very useful:

Unfortunately the package names are a little out of date. Anything htat
has "php" in it should be changed to php4. e.g. php-mysql -> php4-mysql

My personal notes on the page say I installed mysql-server, php4,
php4-mysql and apache. This corresponds to the section "For PHP with

hope that helps!


Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]

Reply to: