Red Hat Bugzilla – Bug 65916
php extensions cannot be found
Last modified: 2007-04-18 12:42:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020427
Description of problem:
php.ini not configured correctly. Extensions (imap, mysql..) cannot be found.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install php-4.2.1-1.i386.rpm
2. Install php-imap-4.2.1-1.i386.rpm, php-mysql-4.2.1-1.i386.rpm, etc.
3. Check php function extension_loaded('FOO'); for existance of FOO
Actual Results: FOO did not exist
Expected Results: FOO should exist
Found durring upgrade of apache & php from a more or less 7.2 system to rawhide
php.ini's "extension_dir" directive set incorrectly. Should read:
extension_dir = /usr/lib/php4/
Also, mysql.so extension not loaded at all. php.ini claims that mysql (and odbc)
is now compiled in but is lying.
extension=mysql.so should be added.
Fixed in 4.2.1-2 which was created
-rw-r--r-- 33 root root 12660247 Jun 10 18:40 SRPMS/php-4.2.1-2.src.rpm
2 weeks ago. So I'd expect it in rawhide by now.