Web Hosting Talk







View Full Version : No PHP DB support on RaQ 550 OS on RAQ4 HW


MGCJerry
04-28-2007, 07:20 PM
I have a RAQ4 running the RAQ550 OS, and I have just now encountered a serious problem with a package that was installed some time ago.

It seems since that "update", PHP in my RAQ can no longer use any sort of databases via PHP... None.

Does anyone know how I can get this thing to work correctly? I've checked other people's php "configure" line, and mine is the same yet I have no DB support.

My PHP Version:
PHP Version 4.3.10

Heres my configure line:
'./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--enable-track-vars' '--with-iconv' '--enable-xml' '--disable-debug' '--with-gd=/usr' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-interbase=shared' '--with-mysql=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-openssl=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'

And heres what I get when trying to run a script that tries using mysql (even off a lan server).

Fatal error: Call to undefined function: mysql_connect() in /home/.sites/****/****/web/****/db/mysql.php on line 54

Any ideas or am I just stuck reimaging this thing?

MGCJerry
04-28-2007, 07:42 PM
Nevermind... I got it working by screwing around with the server, and forcefully installing an older version on top of what was on there.