Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338533 - dev-lang/php-5.2.14 breaks eAccelerator support
Summary: dev-lang/php-5.2.14 breaks eAccelerator support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://pub.minuteware.net/info.php
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 09:12 UTC by Andrii Yurchuk
Modified: 2010-09-26 15:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrii Yurchuk 2010-09-24 09:12:39 UTC
eAccelerator will not work with dev-lang/php-5.2.14 under certain conditions.

Reproducible: Always

Steps to Reproduce:
Install lighttpd, spawn-fcgi, php, eaccelerator. Here's the info on these packages installed:

www-servers/lighttpd-1.4.26-r1 was built with the following:
USE="bzip2 fastcgi ipv6 pcre php ssl xattr -doc -fam -gdbm -ldap -lua -memcache -minimal -mysql -rrdtool -test -webdav"
www-servers/spawn-fcgi-1.6.3 was built with the following:
USE="ipv6"
dev-lang/php-5.2.14 was built with the following:
USE="cgi cli crypt curl discard-path force-cgi-redirect gd iconv ipv6 json nls pcre pdo readline reflection session sockets spl sqlite ssl threads unicode xml zlib -adabas -apache2 -bcmath -berkdb -birdstep -bzip2 -calendar -cdb -cjk -concurrentmodphp -ctype -curlwrappers -db2 -dbase -dbmaker -debug -doc -embed -empress -empress-bcs -esoob -exif -fdftk -filter -firebird -flatfile -frontbase -ftp -gd-external -gdbm -gmp -hash -imap -inifile -interbase -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysql -mysqli -ncurses -oci8 -oci8-instant-client -odbc -pcntl -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -solid -spell -suhosin -sybase-ct -sysvipc -tidy -tokenizer -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip"
CFLAGS="-O2 -march=native -msse4 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -D_GNU_SOURCE"
dev-php5/eaccelerator-0.9.6.1 was built with the following:
USE="disassembler doccommentinclusion inode session -apache2 -debug"

minuteware ~ # cat /etc/portage/env/dev-php5/eaccelerator
HTTPD_USER="lighttpd"
HTTPD_GROUP="lighttpd"
minuteware ~ #

PHP is configured to work with Lighttpd via spawn-fcgi.
The problem is, with this config, the phpinfo page shows /etc/php/cgi-php5/ext-active/eaccelerator.ini in "additional .ini files parsed" section, but the extension is not switched on. If you explicitly include the string "extension=eaccelerator.so" into php.ini, the extension gets enabled.
Note that it all worked in PHP 5.2.13, but broke in 5.2.14.
Here's the link to my phpinfo page: http://pub.minuteware.net/info.php
Actual Results:  
eAccelerator module loading via parsed config file is broken

Expected Results:  
eAccelerator module loading via parsed config file works

I'll be glad to provide any additional info if needed.
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2010-09-26 15:11:09 UTC
For some reason this package wanted to install itself as a Zend extension. A fix should be available soon.

Thanks for reporting!