Question php command line vs cron job

mikeca

New Pleskian
Hi there,

i set up a cron job in plesk(centos): php mysqli.php, it shows error" PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect()", but i run it at command line, it is working without any error message. Do you know what's wrong with it?

Thank you so much!.

Mike
 
Back
Top