PHP/GD/MySql

Alexander Dalloz ad+lists at uni-x.org
Wed Aug 31 13:39:43 UTC 2005


Am Mi, den 31.08.2005 schrieb James Thorpe um 15:29:

> [root at az james]# strace -eopen -o php.trace php -m > php.output
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php4/gd.so' - /usr/lib/php4/gd.so: cannot open shared object 
> file: No such file or directory in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: cannot open shared 
> object file: No such file or directory in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: cannot open shared 
> object file: No such file or directory in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php4/mysqli.so' - /usr/lib/php4/mysqli.so: cannot open shared 
> object file: No such file or directory in Unknown on line 0
> 
> James.

You obviously have a mixed PHP installation. The path to additional
modules on FC4 with PHP5 is i.e.

/usr/lib/php/modules/gd.so

while above shows that the modules are searched in "/usr/lib/php4/"
which is PHP4. So clear your installation. "rpm -qa | grep php" to see
which packages are installed. If guess you have *.rpmnew files located
in /etc/php.d/ which are from the new PHP5 and still having the old
*.ini file for PHP4 being active.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 15:35:18 up 9 days, 12:19, load average: 0.53, 0.48, 0.32 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050831/efdb7204/attachment-0001.sig>


More information about the fedora-list mailing list