Re: php4 as a module AND a cgi
| From: | Kath | Date: | Mon, 26 Feb 2001 23:40:57 +0000 |
| Subject: | Re: php4 as a module AND a cgi | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41761@lists.php.net to get a copy of this message | ||
I'd like to see this also.
- Kath
----- Original Message -----
From: "colin olkowski" <frodo@interport.net>
To: <php-general@lists.php.net>
Sent: Monday, February 26, 2001 3:58 PM
Subject: [PHP] php4 as a module AND a cgi
> hi all,
>
> thanks for the replies. many of you asked why I want to use php4 as a
cgi.
>
> basically it boils down to this, using PHP as CGI you can run PHP scripts
> via cron tab, which eliminates the need for shell scripting (yeah baby).
>
> i did some investigation a few months ago (when I was on a virtual host)
and
> found that cron could not call PHP scripts due to the fact that it's
Apache
> calling the cron process not root (or another user).
>
> a work around seems to be sending everything to Lynx (or the equivalent)
but
> at the time my hosting provider would not allow me to do this.
>
> anyone have a faster, more secure way to call PHP via cron?
>
> p.s. in reply to my earlier post i got differing reports as to the
security
> concerns of running PHP as a cgi. one person replied that cgi shoudl be
> avoided at all costs while another said that he thought it was the way to
> go.
>
> thoughts?
>
> p.p.s thanks for the replies to my questions, it's extremely helpful.
>
> colin o.
>
> colin olkowski - frodo@interport.net
> cell 917.549.8395
> land 212.414.4481
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>