php4 as a module AND a cgi

From: Date: Mon, 26 Feb 2001 20:58:19 +0000
Subject: php4 as a module AND a cgi
Groups: php.general 
Request: Send a blank email to php-general+get-41737@lists.php.net to get a copy of this message
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

« previous php.general (#41737) next »