Hi!
I have some problem. I use ubuntu lts 10.4 as my machine to programming. I do not use it a long time and I turned on it few day ago and I saw that I can not connect with my MySQL DB. Browser print me that mysql_connect is undefined. I can not believe it but I checked it. I read I must use some library but I thought PHP pack make accessible this extension. I don`t wont install all extension I will use and I`m asking: is any way to omit install extension, for instance reinstall PHP on my ubuntu or another action? If you know how to resolved it please give exact informations with tasks for linux/ubuntu (sorry but I do not know all task for ubuntu, for instance to uninstall PHP etc.)
Please help me :)
How to fix: PHP on linux/ubuntu (extension, configuration)
Started by AdrianWierciochPHP, Oct 24 2011 01:58 PM
2 replies to this topic
#1
Posted 24 October 2011 - 01:58 PM
|
|
|
#2
Posted 24 October 2011 - 04:24 PM
are you sure that MySQL is installed on the server? If so, check your php.ini and see if the mysql addon is there. you want to use mysqli instead of mysql if available.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 24 October 2011 - 11:16 PM
I`m sure becouse I use it from my linux Panel. I can log in, create new tables and records. So I will check it letter, thx.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









