Re: PHP/GD/MySql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Orton wrote:

On Wed, Aug 31, 2005 at 01:09:57PM +0100, James Thorpe wrote:
As Paul said it should work once you have the php-mysql and php-gd packages installed.

Does "php -m" show these modules are loaded, from the command line?

No - and I just noticed that phpinfo() contains in the config command section: '--without-mysql' '--without-gd'

That's not relevant.

but a bit further down in the addtional ini files parsed:
/etc/php.d/gd.ini, /etc/php.d/ldap.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini

If mysql.ini and gd.ini are parsed then there is some other problem with your system.

Please do:

 # strace -eopen -o php.trace php -m > php.output

and send in as attachments the php.trace and php.output files produced.

joe

[root@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.
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
open("/lib/libnsl.so.1", O_RDONLY)      = 3
open("/usr/lib/libaspell.so.15", O_RDONLY) = 3
open("/usr/lib/libpspell.so.15", O_RDONLY) = 3
open("/lib/libpcre.so.0", O_RDONLY)     = 3
open("/usr/lib/libgmp.so.3", O_RDONLY)  = 3
open("/lib/tls/i686/libdb-4.3.so", O_RDONLY) = 3
open("/usr/lib/libcurl.so.3", O_RDONLY) = 3
open("/usr/lib/libbz2.so.1", O_RDONLY)  = 3
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
open("/lib/libresolv.so.2", O_RDONLY)   = 3
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3
open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3
open("/lib/libcom_err.so.2", O_RDONLY)  = 3
open("/lib/libssl.so.5", O_RDONLY)      = 3
open("/lib/libcrypto.so.5", O_RDONLY)   = 3
open("/usr/lib/libkrb5support.so.0", O_RDONLY) = 3
open("/usr/lib/libidn.so.11", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
open("/lib/libpthread.so.0", O_RDONLY)  = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
open("/etc/localtime", O_RDONLY)        = 3
open("php/php-cli.ini", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/php-cli.ini", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("php/php.ini", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/etc/php.ini", O_RDONLY)          = 3
open("/etc/php.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/etc/php.d/gd.ini", O_RDONLY)     = 3
open("/etc/php.d/ldap.ini", O_RDONLY)   = 3
open("/etc/php.d/mysql.ini", O_RDONLY)  = 3
open("/etc/php.d/mysqli.ini", O_RDONLY) = 3
open("/etc/nsswitch.conf", O_RDONLY)    = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libnss_files.so.2", O_RDONLY) = 3
open("/etc/protocols", O_RDONLY)        = 3
open("/etc/protocols", O_RDONLY)        = 3
open("/etc/httpd/conf/magic", O_RDONLY) = 3
open("/usr/lib/php4/gd.so", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/lib/php4/ldap.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/php4/mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/php4/mysqli.so", O_RDONLY) = -1 ENOENT (No such file or directory)
[PHP Modules]
bz2
calendar
ctype
curl
dbx
dio
exif
ftp
gettext
gmp
iconv
libxml
mime_magic
openssl
pcntl
pcre
posix
pspell
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
yp
zlib

[Zend Modules]


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux