Reinstall And Fix Php-fpm Bsd

Reinstall And Fix Php-fpm Bsd
Hello,

I have a Dedicate Server where i have install Nginx and PHP-FPM.
The os is FreeBSD and today i have find a bug that make me crazy!

when i was installing Curl on php-extentions i find this error:

/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c: In function ‘curl_write’:
/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c:930: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c: In function ‘curl_progress’:
/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c:1006: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c: In function ‘curl_read’:
/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c:1080: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c: In function ‘curl_write_header’:
/usr/ports/ftp/php5-curl/work/php-5.3.2/ext/curl/interface.c:1157: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
*** Error code 1

When i restart php5-fpm:
/usr/local/etc/rc.d/php-fpm start
.: Can’t open %%RC_SUBR%%: No such file or directory

Well now i have solve temporary by “/usr/local/bin/php-cgi –fpm”

I just need sameone to fix this error.

Fix: php5-extentions, php5-fpm starter script.

Leave a Reply

Your email address will not be published.