Categories
PHP

How to post useful bug reports

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.

Categories
PHP

PHP 5.4.6

On august 16th 2012, the PHP group has released PHP 5.4.6, that brings 20 minor bug fixes.

The corresponding packages are now available on Dotdeb for Debian 6.0 “Squeeze” on both amd64 and i386 architectures. As usual, please read the ChangeLog before upgrading and be sure to use to the latest packages before reporting any issue.

Categories
PHP

PHP 5.3.16

On august 16th 2012, the PHP group has released PHP 5.3.16, that brings 20 minor bug fixes.

The corresponding packages are now available on Dotdeb for Debian 6.0 “Squeeze” on both amd64 and i386 architectures. As usual, please read the ChangeLog before upgrading and be sure to use to the latest packages before reporting any issue.

Categories
MySQL

Pinba engine 1.0.0

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…).

Categories
MySQL

Percona toolkit 2.1.3

Percona toolkit 2.1.3 is now available on Dotdeb for Debian 6.0 “Squeeze”. It brings a lot of bug fixes . As usual, please read the list of changes before upgrading.

Categories
Nginx

Nginx 1.2.3

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.

Categories
Passenger

Passenger 3.0.14

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.
Categories
MySQL

MySQL 5.5.27

The packages of MySQL 5.5.27 are now available for Debian 6.0 “Squeeze” on both amd64 and i386 architectures. They fixes some InnoDB- and replication-related issues.

As usual, please read carefully the full Changelog before upgrading.

Categories
Redis

Redis 2.4.16

Redis 2.4.16 has been released. Here is the short Changelog :

  • INFO command now shows slaves with the correct port number, assuming you use 2.4.16 or greater as slave as well. This makes Redis 2.4.16 compatible with Redis Sentinel. This fix required the introduction of a new internal command called REPLCONF, see commit b998ebe for more information.

The packages are now available for Debian 6.0 “Squeeze” on both amd64 and i386 architectures. The upgrade urgency is low.