Bug#322436: [php-maint] Bug#322436: php4-mysql: 'extension=mysql.so' not added to /etc/php4/apache2/php.ini

Adam Conrad adconrad at 0c3.net
Wed Aug 10 17:20:40 UTC 2005


Kevin Zembower wrote:
> 
> I noticed that the file /etc/php4/apache2/php.ini does not contain the
> line 'extension=mysql.so'. Other php.ini files, such as
> /etc/php4/cli/php.ini, do.
[...]
> Not sure if this is a bug in php4-mysql, libapache2-mod-php4, or even if
> it's a bug at all.

Yes, it's a bug, and one that will only be fixed by tearing out our
current method of configuring modules, and using something else entirely
(which is slated to happen "Really Soon Now" in the Etch development cycle)

Basically, what happened to you is that php4-mysql was installed after
php4-cli was configured (hence, you got asked the question about
enabling it -- no question if your debconf priority was high enough --
and it was enabled), but before libapache2-mod-php4 was configured, so
no question and no enabling.  "dpkg-reconfigure php4-mysql" would again
give you the option of enabling it in all your available SAPIs.

> Thank you, Adam, for all your work with Apache and PHP.

What can I say?  I'm a sucker for punishment.

... Adam




More information about the pkg-php-maint mailing list