Fatal error: Call to undefined function:

admin

Administrator
Staff member
Fatal error: Call to undefined function: mysql_connect() in dbsys.php
on line 12

I am using a Cobalt / Cube 3 and it keeps coming up with this line when i attempt to run PHP files.

I have renamed all my project files from .php4 to .php. Is it possible for the files to run as .php4 as i would prefer this.

It only seems to recognise PHP files in the directory... /usr/sausalito/ui/libPhp... is it possible to change this default dir to something else?

i am using APACHE 1.3.20, MySQL 3.23.38 and PHP 4.0.5 on Redhat 6.1.


i am configuring mysql as:
./configure --with-apxs=/usr/local/apache/bin/apxs
and then
./configure --with-mysql=/usr/local/apache/bin/mysql

and then doing
make
make install

i can not find the mysql.so file... ive looked everywhere (inc.
/usr/lib/perl5/site_perl/i386-linux/auto/Mysql).... and im sure things are
not setup right in the php.ini file......so im not sure where to go from
here... im convinced its only a couple lines of setup info i am missing.

if you can help me i would really apprecuate... im totally stuck......

Ari.
 
Back
Top