You are not logged in.

#1 2006-08-03 20:11:49

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

php & mysql trouble

hi there,
i'm having trouble to get a working LAMP system.
apache, mysql and php are functional (phpmyadmin as well), but when i'm trying to run a backup of website content, i get :

 Fatal error: Call to undefined function mysql_connect() in ...

weirdo, isn't it ? i'd appreciate any help on that one...


what goes up must come down

Offline

#2 2006-08-04 09:36:14

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Re: php & mysql trouble

Make sure you have edited php.ini like this:
;extension=mysql.dll

to

extension=mysql.so

You can find more thorough documentation here:
http://wiki.archlinux.org/index.php/LAMP

Offline

#3 2006-08-04 10:20:42

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: php & mysql trouble

i've done that already, and i followed the wiki to set it up.
phpmyadmin is functional and i assume it uses the mysql_connect function, so i really don't understand why i doesn't work with my webpages. atm i'm investigating towards a permission/link problem (my webpages are stored on my home folder, linked to my webserver's document root).


what goes up must come down

Offline

#4 2006-08-06 21:29:47

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: php & mysql trouble

stupid of me : i changed php_mysql.dll to php_mysql.so (instead of mysql.so)...
so you were on the right path, postlogic ! thanks for that.
EBKAC...


what goes up must come down

Offline

Board footer

Powered by FluxBB