Posted by & filed under Nginx, Passenger.

Dotdeb’s packages of Nginx 1.2.4 are now available for Debian 6.0 “Squeeze” (amd64/i386). They fix some minor bugs, please take a look at Nginx’ official Changelog before upgrading.

Please also note that Passenger has been upgraded to the 3.0.17 version.

As usual, if you want to know which module has been included in each Nginx flavor, you just have to look at this document.

Posted by & filed under PHP.

On september 13th 2012, the PHP group has released PHP 5.4.7 and PHP 5.3.17, that bring ~20 bug fixes.

The corresponding packages are now available on Dotdeb for Debian 6.0 “Squeeze” on both amd64 and i386 architectures with the following changes :

  • php5-suhosin is not a recommendation from php5-common anymore.
  • php5-xcache now includes the admin web interface files (closes #10).
  • php5-apc includes APC 3.1.13 for PHP 5.4, and has been rollbacked to APC 3.1.9 for PHP 5.3 for more stability.

About the PHP-FPM and APC issues, the packages include all that has been committed/released about the many bug reports on these subjects. I’m still watching any activity that would allow me to provide better packages.

As usual, please read the ChangeLog before upgrading and be sure to use to the latest packages before reporting any issue.

Posted by & filed under PHP.

With the latest two PHP updates, some users reported problems with FPM, with APC, etc… It was about segfaults, problematic init scripts, and so on… But all those comments couldn’t really help me to diagnose the problems in an efficient manner.

Here are the pieces of information that you have to provide to help me fixing your problem :

  • What is your distribution? (disclaimer : only Debian stable is supported)
  • What is your architecture? amd64 or i386?
  • Which exact PHP version are you using? 5.4.x or 5.3.x?
  • Which SAPI are you using? mod_php? CGI? FPM? Embed?
  • What’s the full content of your /etc/apt/sources.list and /etc/apt/sources.list.d files?
  • What is the result of dpkg -l 'php*' | grep '^.i' ?
  • Please provide a textual description of the bug (don’t hesitate to provide some code, the expected result…).
  • Please provide any modified configuration directive.
  • Please provide a backtrace, after installing php5-dbg.

Now, some tips to have a stable PHP stack :

  • Only use PHP packages from Dotdeb when possible.
  • Be sure to upgrade them to the latest version.
  • Uninstall php5-suhosin if you don’t use it explicitly. The development of this extension has kinda been “stalled”.
  • If you have problems with extensions, deactivate and reactivate them one by one to find the guilty one.

Because blog comments are not the best place to report issues, Dotdeb uses the Github bugtracker for now. Be sure to follow the above instructions, to read the official PHP bug tracker and also the existing Dotdeb bug reports before submitting any new issue.

Improving the overall stability of the Dotdeb packages requires efforts from us all. Thanks in advance for your help.

Posted by & filed under MySQL.

I already talked about Pinba, this great Application Performance Monitoring (APM) tool that is made of :

  • a MySQL storage engine (pinba-mysql-5.5),
  • a PHP extension (php5-pinba),
  • and even a python module, pynba, (thanks to my IsCool Entertainment friends) and an experimental Nginx module.

But since MySQL 5.1 support has been discontinued on Dotdeb, it was impossible to install the Pinba MySQL storage engine, just because it depended on a non-existant MySQL 5.1 version.

This problem is now fixed and I’m proud to announce that the Pinba storage engine version 1.0.0 is now compatible with Dotdeb’s MySQL 5.5 packages. Just install the pinba-mysql-5.5 package and add the following line to your MySQL configuration file :

plugin-load=libpinba_engine.so

About the PHP extensions, they will be updated from version 0.0.6 to version 1.0.0 with the upcoming PHP 5.4.6 and 5.3.16 packages.

Please visit the Pinba website fore more info (changes, installation, support…).

Posted by & filed under Nginx.

Dotdeb’s packages of Nginx 1.2.3 are now available for Debian 6.0 “Squeeze” (amd64/i386). They fix 5 bugs, please take a look at Nginx’ official Changelog before upgrading.

Please also note that :

  • Naxsi has been upgraded to the 0.48 version, and the new nginx-naxsi-ui package provides the autolearning daemon and the web user interface.
  • Nginx Lua has been upgraded to the 0.5.8 version.
  • Passenger has been upgraded to the 3.0.14 version.

As usual, if you want to know which module has been included in each Nginx flavor, you just have to look at this document.

Posted by & filed under Passenger.

Packages of Passenger 3.0.14 are now available for Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Here is the announcement from Phusion’s blog :

Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications. It has a strong focus on ease of use, stability and performance. Phusion Passenger is built on top of tried-and-true, battle-hardened Unix technologies, yet at the same time introduces innovations not found in most traditional Unix servers. Since version 3.0 it can also run standalone without an external web server, making it not only easier for first-time users but also ideal on development environments.

Recent changes

Phusion Passenger is under constant maintenance and development. We are pleased to announce Phusion Passenger version 3.0.14. This is a bug fix release.

  • [Apache] Fixed a long-standing mod_rewrite-related problem : Some mod_rewrite rules would not work, but it depends on the exact mod_rewrite configuration so it would work for some people but not for others. Issue #563. Thanks a lot to cedricmaion for providing information on the nature of the bug and to peter.nash55 for providing a VM that allowed us to reproduce the problem.
  • [Nginx] Preferred Nginx version to 1.2.2 : The previously preferred version was 1.2.1.
  • Other changes : Cleared some confusing terminology in the documentation. Fixed some Ruby 1.9 encoding problems.