The PHP 5.3.1 packages have been updated
December 6th, 2009 | by Guillaume Plessis |The PHP 5.3.1 packages for Debian “Lenny” have been updated to fix :
- the php5-fpm binary
- the /etc/init.d/php5-fpm script
All should work fine now.
The repository for Debian-based LAMP servers
The PHP 5.3.1 packages for Debian “Lenny” have been updated to fix :
All should work fine now.
Additional comments powered by BackType
25 Responses to “The PHP 5.3.1 packages have been updated”
By WebGoddess on Dec 7, 2009 | Reply
Be careful with this upgrade. You’ll likely run into deprecation issues.
In your PHP.ini be sure to set the timezone explicitly, and then you’ll want to add this line:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
Some major stuff was deprecated like split() and magic_quotes, which are used heavily in many third-party apps.
I had to turn off display_errors and just log everything to a file because there were so many errors with the large commercial application, Kayako SupportSuite.
Finally, Zend Optimizer does not support 5.3.x. If you have applications that are Zend-encoded you’ll have to see if you can obtain Ioncube versions instead or you’ll be stuck waiting until Zend releases a new optimizer.
I opted to stay at 5.3.1 rather than revert back; it is worth upgrading for performance increase just be aware of the changes before you jump into it and you’ll be fine.
By Guillaume Plessis on Dec 7, 2009 | Reply
@WebGoddess : thanks for this useful feedback!
By Admin Serv on Dec 9, 2009 | Reply
I have a little bug, maybe not PHP 5.3 issue, the function get_browser can’t parse browsercap.ini file.
Directive :
[browscap]
;browscap = extra/browscap.ini
Maybe a PHP bug, I wrote it, maybe it’s not dotdeb related, just for feedback.
By Wouter van Vliet on Dec 11, 2009 | Reply
I’ve found it a better approach to use a custom error handler, and use that to filter exactly which message should be logged/shown/thrown.
This way, I am making sure that all errors generated from my own scripts are at least logged (including E_DEPRECATED), but some directly emailed to me. While the lower priority messages generated by PEAR/ZEND/ThirdPartyFramework are directly simpley ignored.
By thorpe on Dec 17, 2009 | Reply
There also seems to be a bug within the /etc/php5/conf.d/xdebug.ini file.
PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
This is easily fix by changing xdebug.ini from…
extension=xdebug.so
to
zend_extension=/full/path/to/xdebug.so
By Myst on Dec 22, 2009 | Reply
No news about a gpg key for dotdeb.org’s repo?
Thanks,
Myst~
By Guillaume Plessis on Dec 22, 2009 | Reply
@Myst : as soon as I find time to migrate to a decent repository manager (reprepro or something…). Not before year 2010, but it’s my #1 priority.
By Matthias on Dec 22, 2009 | Reply
Does the apache module also work with apache-mpm-itk ?
By Myst on Dec 22, 2009 | Reply
@Guillaume Plessis :
Thanks.
French ?
By Guillaume Plessis on Dec 23, 2009 | Reply
@Matthias : yes it does work with apache-mpm-itk
@Myth : Oui, pourquoi?
By Alex on Jan 2, 2010 | Reply
Great work, thanks.
Is there any way you can provide the packages for “armel” processors too? I’m using a Sheevaplug (1.2 GHz ARM Marvell Kirkwood 88F6281) and love to make use of the benefits of php-fpm. Sadly the patched sources won’t compile correctly though this might be just me.
By Guillaume Plessis on Jan 2, 2010 | Reply
@Alex : Sorry, but I can’t build such packages, because :
- I have no arm machine
- there is not enough users interested of this port for me supporting it in the long term.
By kDolphin on Jan 7, 2010 | Reply
Can you create a php5-fpm for php5.2 binary?
Because Drupal can’t working on php5.3.
By Guillaume Plessis on Jan 7, 2010 | Reply
@kDolphin: I’ll do it with my next upload (5.2.13 or an updated 5.2.12).
By kDolphin on Jan 8, 2010 | Reply
thx for your work.
By {V} P $ y c h o {V} on Jan 8, 2010 | Reply
New PHP is PHP 5.3.2 RC1
By Guillaume Plessis on Jan 8, 2010 | Reply
@Psycho : Yes, but it’s only a release candidate. PHP 5.3.2 will be packaged for Debian Lenny as soon as it is published as stable by the PHP Group.
Dotdeb’s goal is not to provide nightly builds, but stable production builds.
If you want to package PHP 5.3.2 RC1, you can try to extract the “debian” subfolder from the extracted source packages and apply it to the PHP 5.3.2 RC1 sources.
By Marco on Jan 9, 2010 | Reply
Hi
I am using this excellent module on ubuntu, I have a problem though where I need to install php5-mcrypt but I get the following message
The following packages have unmet dependencies.
php5-mcrypt: Depends: libltdl3 (>= 1.5.2-2) but it is not installable
Any idea what I can do here?
By Guillaume Plessis on Jan 9, 2010 | Reply
@Marco : Dotdeb packages are for Dotdeb stable, they should be compatible with Ubuntu, but I won’t provide support for it.
To satisfy the dependency, try to fetch and install manually the libltdl3 package from http://packages.ubuntu.com/search?keywords=libltdl3
By Marco on Jan 9, 2010 | Reply
Great thanks, that seems to of solved my problem, i can now install php5-mcrypt no problem.
By George Shammas on Jan 12, 2010 | Reply
The php-pear package differs from i386 to amd64 but does not have a different suffix. This is a problem because the same file name is listed in both Packages.gz with different md5sums causing reprepro to fail if syncing both.
Other then that, these repos are a life saver. Been trying to build a php 5.3.1 with fpm for a while and just couldn’t get it to click.
By xblax on Feb 15, 2010 | Reply
I think you should add php5-fpm as dependency to the php5 metapackage, as some debian packages have the php5 package as dependency.
If you only want to have php5-fpm installed you have allways to install libapache2-mod-php5, libapache2-mod-php5filter or php5-cgi to get these packages work.
phpmyadmin for example:
http://packages.debian.org/lenny/phpmyadmin
By Pat on Feb 25, 2010 | Reply
Hi Guillaume,
2 questions:
- trying to use php53.dotdeb.org to get php5-fpm but since php53 is listed as part of stable/lenny I get:
The following packages have unmet dependencies:
php5-fpm: Depends: php5-common (= 5.3.1-0.dotdeb.1) but 5.2.6.dfsg.1-1+lenny6 is to be installed
… end of course I can not remove the standard debian lenny or I miss more stuff (and pinning is not applicable).
Should I just download all packages and install manually or am I missing something?
- any news on a 5.2.12 packaging including php5-fpm: would be really cool (I saw the Ubuntu packaged one but ended up it some dependency troubles trying to use it)
Nice of you to make those available, thank you.
By James on Mar 8, 2010 | Reply
I’ve written a blog post on how to install from the packages here, it covers the libicu38 dependency
http://blog.jmoz.co.uk/post/435401471/install-php-5-3-from-packages-on-ubuntu-karmic-koala
By Guillaume Plessis on Mar 8, 2010 | Reply
@James : thank you, it’s a good start for Ubuntu users that are PHP fans too.