Skip to content

No suhosin php extension on php5.4.4.

edited April 2013 in Troubleshooting

Hi there,

Like it said the title, in php5.4.4 it doesnt come with suhosin, are there any way to exec scheduled.php?¿ because when i put it on the cron i get this error...

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so: undefined symbol: php_mb_gpc_encoding_detector in Unknown on line 0

I tried it to installed from github repository of the suhosin project, but it seems it doesnt updated it yet...

Thanks.

Comments

  • Hi @rentalia,

    Please check with your host if your cron job has been setup correctly. Or check with them why there is this error when running a cron job.

    The scheduled.php script does not need this 'suhosin' library.

    Ben

  • Hi @Ben,

    I am the host, i run the script from the php cli and i got that error, because like i said php5-suhosin doesnt come with php-5.4.4 (http://www.dotdeb.org/2012/06/22/php-5-4-4/).... like i have just read on github's developer, on May, he will do some updates that will fix this situations and more... I dont want back to php5.3...

    One curl command works for this stuff... ?¿

    Thanks

  • Hi @rentalia,

    Yes curl command will work:

    */5 * * * * curl -L -s http://your_sendy_installation_url/autoresponders.php > /dev/null 2>&1

    Thanks.

    Ben

  • hi @Ben,

    autoresponsers.php?¿... it wont be the scheduled.php....?¿

    Thanks..

  • BenBen
    edited April 2013

    Sorry, it should be scheduled.php.

    */5 * * * * curl -L -s http://your_sendy_installation_url/scheduled.php > /dev/null 2>&1

This discussion has been closed.