On November 13th 2014, the PHP group released PHP 5.6.3.
This release fixes several bugs and one CVE in the fileinfo extension. All PHP 5.6 users are encouraged to upgrade to this version.
PHP 5.6.3 packages are now available on Dotdeb for Debian 7.7 “Wheezy”, on both amd64 and i386 architectures. They include a fix for regressions in the FPM SAPI (See 1, 2 and 3) that is present in the upstream version of PHP 5.6.3.
Please also note these points :
- Regression :
php5-memcachedlacks JSON support - Missing packages : Xcachen Xdebug and Xhprof are missing for now
- End of support : Spplus won’t be supported anymore. Pinba’s fates hasn’t been decided yet.
As a consequence :
- Don’t upgrade yet if you need missing features
- For users upgrading from PHP 5.5, a full migration guide is available, detailing the changes between 5.5 and 5.6.0
- The full list of changes is available in the ChangeLog
- Your feedbacks are always welcome. Just make sure they are useful.
To install PHP 5.6 or to upgrade from previous version just follow the instructions.
Fresh install:
Unpacking php5-fpm (from …/php5-fpm_5.6.3-1
dotdeb.1_amd64.deb) … Setting up php5-fpm (5.6.3-1dotdeb.1) … debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: ReadlineCreating config file /etc/php5/fpm/php.ini with new version php5_invoke: Enable module pdo for fpm SAPI php5_invoke: Enable module readline for fpm SAPI php5_invoke: Enable module opcache for fpm SAPI initctl: Unknown job: php5-fpm root@test:/etc/apt# service php5-fpm root@test:/etc/apt# service php5-fpm restart restart: Unknown job: php5-fpm root@test:/etc/apt#
It’s Wheezy:
root@test:/# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.7 (wheezy) Release: 7.7 Codename: wheezy
same error here… with Wheezy… php-fpm not started
root@sv1:/etc/php5/fpm# apt-get install php5-fpm Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: php-pear The following NEW packages will be installed: php5-fpm 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/2993 kB of archives. After this operation, 9686 kB of additional disk space will be used. Selecting previously unselected package php5-fpm. (Reading database … 34653 files and directories currently installed.) Unpacking php5-fpm (from …/php5-fpm_5.6.3-1
dotdeb.1_i386.deb) … Processing triggers for man-db … Setting up php5-fpm (5.6.3-1dotdeb.1) …Creating config file /etc/php5/fpm/php.ini with new version php5_invoke: Enable module curl for fpm SAPI php5_invoke: Enable module readline for fpm SAPI php5_invoke: Enable module apcu for fpm SAPI php5_invoke: Enable module imagick for fpm SAPI php5_invoke: Enable module pdo_mysql for fpm SAPI php5_invoke: Enable module mysqli for fpm SAPI php5_invoke: Enable module mysql for fpm SAPI php5_invoke: Enable module pdo for fpm SAPI php5_invoke: Enable module mysqlnd for fpm SAPI php5_invoke: Enable module opcache for fpm SAPI initctl: Unknown job: php5-fpm
I have solution !
You have to comment this line : reload signal USR2
in this file : /etc/init/php5-fpm.conf
After you can do “service start php5-fpm” and it works ;)
Thanks to patrick on this post who found solution : /2013/11/04/php-5-5-5-for-debian-7-0-wheezy/#comment-29128
root@mysql:/etc/php5/fpm# /etc/init.d/php5-fpm start root@mysql:/etc/php5/fpm#
just nothing :/