Re: [cgiwrap-users] trying to emulate a nice php-cgiwrap install...
Brought to you by:
nneul
From: Piotr K. <ma...@ma...> - 2002-04-30 12:42:22
|
On Mon, Apr 29, 2002 at 03:40:49PM -0700, jeff bert wrote: > 3) compile cgiwrap... 2nd for .php's > # ./configure --with-httpd-user=apache \ > --with-local-contact-email=<...> \ > --with-local-doc-url=<...> \ > --with-install-dir= /tmp \ > --with-cgi-dir=<root html folder for users, eg. =public_html> > Action php-cgiwrap /cgi-sys/php-cgiwrap/username/cgi-bin/php4-12.cgi > AddType php-cgiwrap .php .php3 .php4 .phtml I do not understand the purpose of this solution. Why users have to duplicate php binary ... As I wrote in today's mail to you, Jeff, in order to use my patch you need to configure cgiwrap with --with-php option. Then on your disk there are now two normal cgiwrap programs - cgiwrap and php-cgiwrap. My patch allows you to run php on the given *.php script. In your case this is not needed. You run php directly from /cgi-sys/php-cgiwrap/username/cgi-bin/php4-12.cgi -- Piotr Klaban |