Re: CGI and static module simultaneously?

From: Date: Sun, 09 Jul 2000 17:23:07 +0000
Subject: Re: CGI and static module simultaneously?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5613@lists.php.net to get a copy of this message
Eric Mings wrote: > > I am wondering if it is possible to create and use the php4 cgi and > static apache module on the same server. The reason is that I generally > want to continue using the static module I have compiled into apache but > I guess I need to cgi version to run scripts from a chron job. Or... is > there some way I can run scripts as via chron without having to go the > CGI route (much better if possible)? My understanding is that you can have both versions running on the same machine without a problem. Just don't mention the CGI version in the Apache conf file. Other than that, in principle you can run PHP scripts from a cron job even without the CGI version, as long as you have lynx installed (assuming you are on Unix). The cron entry would be something like: lynx -dump iflename.html Andrian

« previous php.general (#5613) next »