Hi guys
I've been fighting with this problem for ages and I can't seem to find out what's wrong.
I recently bought a new domain and hosting at enterprisedigital.net, but I have problems making the cronjob work with PHP:
I have set up a simple php file which should simply send me an email. It works when I run it from the browser, but when I try to make a cronjob nothing happens at all.
I then got SSH access to the server and tried to run php from there, but it gives me the following error (though it still send the email/run the script):
Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory
This happens nomatter if I try to run a file, or simply type in "php"
The php file I'm trying to use is this:
#!/usr/bin/php -q
<?
mail("test@domain.com", "Mailbot", "Test", "From: [email]mailbot@domain.com[/email]");
?>
I've sent an email about the Zend error to the host but so far they haven't been able to fix it.
Now, do you think the problems is because of Zend (and I therefor should wait for my host to fix it), or could it be something else that's the problem?
I would really appreciate any help I can get.
Thank you,
Jesper