[Bug 196903] [NEW] php5-mysql and pdo / pdo_mysql causes php to segfault, apache2 fails to start
Launchpad Bug Tracker
196903 at bugs.launchpad.net
Sat Mar 1 00:07:43 GMT 2008
You have been subscribed to a public bug:
###############
# Summary
###############
When install php5-mysql in conjuntion with pdo_mysql, php segfaults and dies caushing apache2 to fail to start.
Have tried various solutions including renaming pdo_mysql.ini to zpdo_mysql.ini (so apache loads after pdo.ini) .. no good.
Bug is reported as being 'done' here, yet it isn't and there is no way to reopen the bug... http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg115619.html
###############
# Recreate the bug
###############
When installing via apt-get... i run the following. . .
Install Apache 2
sudo apt-get install apache2
sudo a2enmod rewrite
Install MySQL
sudo apt-get install mysql-server libmysqlclient15-dev
Install PHP
sudo apt-get install php5 php5-common libapache2-mod-php5 php5-gd php5-dev curl libcurl3 libcurl3-dev php5-curl php-pear php5-mysql
Install PDO & PDO _ MYSQL
sudo pecl install pdo
sudo pecl install pdo_mysql
echo "extension=pdo.so" | sudo tee -a /etc/php5/apache2/php.ini
echo "extension=pdo_mysql.so" | sudo tee -a /etc/php5/apache2/php.ini
###############
# Error Output from /var/log/apache2/error.log
###############
/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce
###############
# Additional Links
###############
My Blog Post: http://www.theatons.com/blog/2008/02/26/php5-mysql-mixed-with-pdo-and-pdo_mysql-causes-apache-to-failed-to-load/
Ubuntu Forums: http://ubuntuforums.org/showthread.php?p=4409674
Debian Bugs: http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg115619.html
###############
# Additional System information
'###############
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
--
php5-mysql and pdo / pdo_mysql causes php to segfault, apache2 fails to start
https://bugs.edge.launchpad.net/bugs/196903
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list