Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

No suhosin php extension on php5.4.4.
  • Vote Up0Vote Down rentaliarentalia
    Posts: 19Sendy user

    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.

  • 5 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    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

  • Vote Up0Vote Down rentaliarentalia
    Posts: 19Sendy user

    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

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Hi @rentalia,

    Yes curl command will work:

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

    Thanks.

    Ben

  • Vote Up0Vote Down rentaliarentalia
    Posts: 19Sendy user

    hi @Ben,

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

    Thanks..

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    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.
All Discussions