Re: please help

From: Date: Tue, 09 May 2000 00:45:30 +0000
Subject: Re: please help
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-501@lists.php.net to get a copy of this message
On 8 May, enyee wrote: > Dear webmaster, > > I have a problem here using php. > I'm using Linux OS and wish to run a php program using cronjob. > It keeps showing errors which these errors not appear when I run the > same program using browser. > Is it that Shell environment not support php? or what do you think is > the problem? > can you please help me to solve this problem, because all my programs > written in Php and need to be automated using crontab. > Hope to hear from you soon, thanks a lot! > > regards, > enyee You should sent problems with using PHP to the relevant PHP mailing list; but seeing you are here... You haven't given details of the error messages so it's hard to be specific. You need to have a CGI version of PHP, and you probably need to run your scripts using the #! path method - ie the first line of the script should be #!/full/path/to/your/php and you can add -q to that if you don't want HTML headers output. Cheers -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.mirrors (#501) next »