Re: Using php as a scripting language within cron jobs?
| From: | Michael Virnstein | Date: | Fri, 17 May 2002 12:11:33 +0000 |
| Subject: | Re: Using php as a scripting language within cron jobs? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98052@lists.php.net to get a copy of this message | ||
afaik yes.
The module version should be called if apache has been requested with one of
the
reqistered php file types. the cgi version can be used as shell interpreter.
the only thing that can smash th whole thing imo, is if you try to use the
cgi version
via web if you have php also installed as apache module. but all of what i
wrote is a guess,
never tried by myself.
Regards Michael
"Jay Blanchard" <jay.blanchard@niicommunications.com> schrieb im Newsbeitrag
news:000601c1fd9b$70cb89b0$8102a8c0@niigziuo4ohhdt...
> [snip]
> > but this is only needed only if you compile php into apache or am i
wrong?
> > if i have the cgi version installed, i can call the php script
> > directly from the shell. The only thing for me to do then, is to set
> > #!/path.to/php in the first line of the script, right?
> [/snip]
>
> Can you have the compiled with apache version and the CGI version
installed
> on the same server?
>
> Thanks!
>
> Jay
>
>