On Sun, Oct 05, 2003 at 03:59:21AM +0800, Jason Wong wrote:
> On Sunday 05 October 2003 04:47, Cristian Lavaque wrote:
> > My webhost announced that it's changing PHP from Apache module to CGI. I
> > know nothing about this, so I'd like to know what I should change in my
> > scripts so they still run, or they'll work the same?

you should ask this question to your webhost in the first place.

roughly all functions mentionend at
http://php.net/manual/en/ref.apache.php won't be available anymore. it
is not unlikely that the change is fully transparent to your scripts
(read: no change of php-code needed).
 
> Did they give any convincing reason for the change? They seem to be taking a 
> step backwards by switching to CGI. Maybe you should consider changing hosts.

the cgi-sapi has a big advantage in a shared hosting environment:
suexec - your php-scripts run with a distict uid for each customer.

this is by far better than the half-baked crutch called safe-mode. the
fact that the cgi-sapi's performance is worse than apache-sapi's
shouldn't bother you as much as security. your webhost will decide how
many customers (=virtual hosts) he puts on one machine anyway and
that's by far more noticable than the differences between
cgi-sapi/apache-sapi, IMHO.

just my thoughts.
messju


> -- 
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> One difference between a man and a machine is that a machine is quiet
> when well oiled.
> */
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to