Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal Error: Mysql is not supported in your PHP
#1
Hi,

I'm trying to get phpLists to work on my N3200Pro which has the web module and MySQL modules added in.  I am able to use phpMyAdmin to create and modify databases using the Thecus web interface so I am pretty sure that the webserver is set up OK for MySQL but I get the following error when i try to run the phpLists setup :

Quote:Fatal Error: Mysql is not supported in your PHP, recompile and try again

The "Configure Comand" from the Phpinfo() routine is as follows :

Quote:'./configure' '--with-apxs2=/raid/data/module/webserver/httpd-2.0.54/bin/apxs' '--prefix=/raid/data/module/webserver/httpd-2.0.54/php5' '--enable-sockets' '--with-config-file-path=/raid/data/naswebsite/conf/php5' '--with-mysql=/raid/data/module/MySQL_5/mysql' '--with-xmlrpc' '--with-iconv-dir=/usr/local/iconv' '--with-gd' '--with-png-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-zlib-dir=/usr/local'

so I am pretty sure that MySQL has been compiled in (the rest of the Phpinfo() can be seen at http://www.freeboatadverts.co.uk/phpinfo.php if interested).

My "conf\php.ini" file contains the following extension switches :
PHP Code:
extension=php_mbstring.so
extension
=php_bz2.so
extension
=php_curl.so
extension
=php_dba.so
extension
=php_dbase.so
extension
=php_exif.so
extension
=php_fdf.so
extension
=php_filepro.so
extension
=php_gd2.so
extension
=php_gettext.so
extension
=php_ifx.so
extension
=php_imap.so
extension
=php_interbase.so
extension
=php_ldap.so
extension
=php_mcrypt.so
extension
=php_mhash.so
extension
=php_mime_magic.so
extension
=php_ming.so
extension
=php_mssql.so
extension
=php_msql.so
extension
=php_mysql.so
extension
=php_oci8.so
extension
=php_openssl.so
extension
=php_oracle.so
extension
=php_pgsql.so
extension
=php_shmop.so
extension
=php_snmp.so
extension
=php_sockets.so
extension
=php_sqlite.so
extension
=php_sybase_ct.so
extension
=php_tidy.so
extension
=php_xmlrpc.so
extension
=php_xsl.so 

Any ideas would be much appreciated,

Boo
[url=http://www.freeboatadverts.co.uk/phpinfo.php][/url]
Reply
#2
Dear Sir,

Please try on from http://www.thecus.com/product.php?PROD_ID=18 -> Downloads -> Module -> MySQL module.
Yvon.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)