FS#8141 - php-5.2.4-3: wrong extension_dir setting
Attached to Project:
Arch Linux
Opened by Ondrej Jirman (megous) - Thursday, 27 September 2007, 06:19 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 28 September 2007, 09:00 GMT
Opened by Ondrej Jirman (megous) - Thursday, 27 September 2007, 06:19 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 28 September 2007, 09:00 GMT
|
Details
Description:
Default php.ini has wrong extension_dir setting. It should be: extension_dir = "/usr/lib/php/20060613" Additional info: * php-5.2.4-3 |
This task depends upon
In the log there were errors inidcating that extensions can't be loaded.
I had to set extension_dir to "/usr/lib/php/20060613" to make it work.
There is no symlink here:
megi[~] % tree /usr/lib/php 10:16
/usr/lib/php
|-- 20060613
| |-- bcmath.so
| |-- bz2.so
| |-- calendar.so
| |-- curl.so
| |-- dba.so
| |-- dbase.so
| |-- exif.so
| |-- ftp.so
| |-- gd.so
| |-- gettext.so
| |-- iconv.so
| |-- imap.so
| |-- json.so
| |-- ldap.so
| |-- mcrypt.so
| |-- mysql.so
| |-- mysqli.so
| |-- ncurses.so
| |-- odbc.so
| |-- openssl.so
| |-- pdo.so
| |-- pdo_mysql.so
| |-- pdo_odbc.so
| |-- pdo_pgsql.so
| |-- pdo_sqlite.so
| |-- pgsql.so
| |-- posix.so
| |-- pspell.so
| |-- session.so
| |-- shmop.so
| |-- snmp.so
| |-- soap.so
| |-- sockets.so
| |-- sqlite.so
| |-- sysvmsg.so
| |-- sysvsem.so
| |-- sysvshm.so
| |-- tidy.so
| |-- xmlrpc.so
| |-- xsl.so
| |-- zip.so
| `-- zlib.so
|-- build
| |-- Makefile.global
| |-- acinclude.m4
| |-- config.guess
| |-- config.sub
| |-- libtool.m4
| |-- ltmain.sh
| |-- mkdep.awk
| |-- phpize.m4
| |-- run-tests.php
| |-- scan_makefile_in.awk
| `-- shtool
`-- extensions
`-- no-debug-non-zts-20060613
|-- csv.so
|-- php_gtk2.so
|-- xdebug.so
`-- zext.so
I'll think about a good workaround to avoid this problem.
megi[arch/custom/packages] % 10:24pacman -Qvl php-gtk
Root : /
DBPath : var/lib/pacman/
CacheDir : var/cache/pacman/pkg/
Targets : php-gtk
php-gtk /usr/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so
megi[arch/custom/packages] % 10:24pacman -Qvl php-zexts
Root : /
DBPath : var/lib/pacman/
CacheDir : var/cache/pacman/pkg/
Targets : php-zexts
php-zexts /usr/lib/php/extensions/no-debug-non-zts-20060613/csv.so
php-zexts /usr/lib/php/extensions/no-debug-non-zts-20060613/zext.so
megi[arch/custom/packages] % pacman -Qvl php-xdebug 10:25
Root : /
DBPath : var/lib/pacman/
CacheDir : var/cache/pacman/pkg/
Targets : php-xdebug
php-xdebug /usr/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so
php-xdebug /usr/share/licenses/xdebug/LICENSE
I'll wait a bit to see if there are other problems with this release and will repackage it with a fixed php.ini.