Click to See Complete Forum and Search --> : cron job Failed loading ZendOptimizer.so:


bogu
10-03-2003, 11:44 AM
I try to start a schedual script with cron job. The script works but I get this email error :

Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory
Content-type: text/html
X-Powered-By: PHP/4.3.1

If somebody can help me please do.
Thanks in advanced.

stolzyboy
10-03-2003, 11:46 AM
can you show us your cron job, ie. the syntax you used to create he cron job, what kind of script are you running, etc...

bogu
10-03-2003, 11:52 AM
this is the command that I use I my cpanel php /home/domain/the_root_to_php_file/file.php

The script is a print($string); or a mail();

stolzyboy
10-03-2003, 11:52 AM
do you have a CLI for PHP or have it installed as a CGI

bogu
10-03-2003, 11:56 AM
No is not CGI install But what is a CLI for PHP.

stolzyboy
10-03-2003, 12:13 PM
if you don't have PHP installed as a CGI, you have to use either lynx or wget to run a PHP script with cron, something like

***** wget /path/to/script.php > dev/null

for more info on that do a google search on "run php page with cron" there are a lot of good tuts out there

a CLI is a command line interpreter

bogu
10-03-2003, 12:16 PM
Ok thanks I will look on google.

bogu
10-03-2003, 12:20 PM
I have a CLI in my CPANEL and I can set my cron job when to start my script.