yes, you can run PHP as a stand-alone interpreter
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] cron with php as apache module
I want to run a php script via a crontab, (i can set up the
Good day,
Most Linux packages also install the php binary as part of the distribution
(I know Redhat does).
Look in /usr/local/bin (or other common places) to see if the executable
php has been installed.
If it is, you're set. Just run the script as if it were a .cgi .
Instructions are on
Yeah,
Compile php first as CLI, move the contents of the bin directory to where
you want them, and then compile php again for the apache module.
In the bin directory you will have a php executable file which you can use
for your cli apps.
In your php files that you want to run as crons then
Even if you can't get, or don't want to bother getting, PHP as a
standalone CGI type program, you can still execute via crontab. Make a
web page that you want to have run, then put something along the lines
of:
lynx http://localhost/scriptname.php
as the command in the crontab file. Do
]
- Original Message -
From: Analysis Solutions [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 7:26 PM
Subject: Re: [PHP] cron with php as apache module
Even if you can't get, or don't want to bother getting, PHP as a
standalone CGI
On Friday, March 22, 2002, at 03:16 PM, Paul Roberts wrote:
for lynx, at the command prompt i get
bash: lynx: command not found
I've also looked in all the obvious places for php but can't find it.
the server is a cobalt raq 3 and i have a virtual host account so i
can't recompile php.
[EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 7:26 PM
Subject: Re: [PHP] cron with php as apache module
Even if you can't get, or don't want to bother getting, PHP as a
standalone CGI type program, you can still execute via crontab. Make a
web page that you want
Message -
From: Analysis Solutions [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 7:26 PM
Subject: Re: [PHP] cron with php as apache module
Even if you can't get, or don't want to bother getting, PHP as a
standalone CGI type program, you can still
8 matches
Mail list logo