How do you configure PHP to use mysql instead of sqlite -


i have php 5.3 , mysql 5.1 installed on centos.

php uses sqlite default, how can configure php use mysql instead?

if drupal doesnt recognize mysql valid database backend, mysql doesnt seem installed correctly. try

yum install mysql mysql-server php-mysql chkconfig --levels 235 mysqld on /etc/init.d/mysqld start mysql_secure_installation 

and restart apache with

/etc/init.d/httpd restart 

then try again configure drupal.


Comments

Popular posts from this blog

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -

How to run C# code using mono without Xamarin in Android? -