hi there,
I am a newbie. I have been given a test server to install the typo3 cms. but before i could start, i need to get something done first.
When i looked at the phpinfo(), i see that it has
Code:
'--without-mysql' '--without-gd' '--without-odbc'
I know that mysql is installed since i can login via command line as root.
in /etc/php.d/ i find that mysql.ini file is not there, so i created one and set the mysql extension hoping that it will work
Code:
[root@webtest php.d]# more mysql.ini
; Enable mysql extension module
extension=mysql.so
But it didnt. I still have without-mysql in php. Can someone please help me here. I do not know what to do.
thanks
this is some information
Code:
[root@webtest /]# more /proc/version
Linux version 2.6.18-8.el5 (mockbuild@builder4.centos.org) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP
Thu Mar 15 19:57:35 EDT 2007
[root@webtest /]#mysql --version
mysql Ver 14.12 Distrib 5.0.22, for redhat-linux-gnu (i686) using readline 5.0
[root@webtest php.d]# php --version
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.1.6 (cli) (built: Sep 20 2007 10:16:10)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@webtest /]# php -m
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[PHP Modules]
bz2
calendar
ctype
curl
date
exif
ftp
gettext
gmp
hash
iconv
ldap
libxml
mime_magic
oci8
openssl
pcntl
pcre
posix
pspell
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
zlib
[Zend Modules]