Parsing error in php.ini when running cron jobs.

Status
Not open for further replies.

Tarzan

New Member
Messages
66
Reaction score
0
Points
0
Hi!

When I run a cron job
/usr/bin/php -q /home/tarzan/etc/cronscript.php >>/home/tarzan/etc/logfile.txt 2>&1

I get an error on the first line:
PHP: Error parsing /usr/local/lib/php.ini on line 786

Even though the script runs normally I think it might have some side effects:
- I'm not able to use the "mysqli" class anymore.
- I'm not able to use the "mb_strtoupper" function.
- No GD library seems to be loaded (i.e., can't use "imagecreate" as before).

Can anyone tell me what has happened? Have I missed some update or is my php.ini just corrupt?
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
Escalating for an admin to take a look.
 
Status
Not open for further replies.
Top