updates killed apache

Bug #328711 reported by Tony Green
0
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libapache2-mod-php5

(package guessed - may be incorrect)
Kubuntu 8.10, AMD-64.

I installed today's updates, which attempted to re-start Apache2. But Apache failed to start. The following error appeared in the error log:
"/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613/pdo_mysql.so: undefined symbol: php_pdo_declare_long_constant"

I can get Apache to start OK by removing php5.load from /etc/apache2/mods-enabled.

The following packages were installed:
php5-cli 5.2.6-2ubuntu4
php5-gd 5.2.6-2ubuntu4
libapache2-mod-php5 5.2.6-2ubuntu4
php5-common 5.2.6-2ubuntu4
php-pear 5.2.6-2ubuntu4
php5 5.2.6-2ubuntu4
php5-dev 5.2.6-2ubuntu4

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for reporting this issue.

Could you be missing the php5-mysql package?

Also, are you at version 5.2.6-2ubuntu4 or 5.2.6-2ubuntu4.1?

Changed in php5:
assignee: nobody → mdeslaur
status: New → Incomplete
Revision history for this message
Ondřej Surý (ondrej) wrote :

It more looks like pdo.so is not loaded:
php5-common: /usr/lib/php5/20060613/pdo.so

What is contents of your /etc/php5/conf.d directory? And /etc/php5/conf.d/pdo.ini file?

Revision history for this message
Tony Green (ubuntu-beermad-deactivatedaccount) wrote :

Interestingly, installing php5-mysql DOES fix this problem. So thanks for that, Marc.

Seems strange that it was OK without it before the update; possibly something strange in the install of PDO_MYSQL - either that or something that was in it got deleted by the upgrade.

I'm now at 5.2.6-2ubuntu4.1, by the way.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Great! I'm closing this bug.

Changed in php5:
assignee: mdeslaur → nobody
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.