Results 1 to 4 of 4
I just migrated some wordpress blogs from one data center to another. I'm running Cent OS 32 bit
Apache apparently isn't properly configured with PHP, because when I try to ...
- 03-17-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
SQL Problem on CENT OS, please help!
I just migrated some wordpress blogs from one data center to another. I'm running Cent OS 32 bit
Apache apparently isn't properly configured with PHP, because when I try to execute any PHP scripts via browser, I get a php file download, and everything is viewable.
So I installed Litespeed, so disabling Apache and switching to Litespeed solves that problem, but now litespeed won't connect to my existing SQL dbs for the wordpress scripts.
I get "Error in establishing database connection" in my browser when attempting to execute any entry to my SQL dbs. I'm assuming I somehow need to configure Litespeed to recognize MySQL?
I'm using MySQL 5, and the newest version of Litespeed (installed last night with a trial key)
I'd be willing to pay anyone to come and help me,
AIM= "EDDIE"
SKYPE= "GMUNCH"
EMAIL= "setauket (at) gmail (dot) com"
- 03-17-2010 #2Just Joined!
- Join Date
- Mar 2010
- Location
- Grand Rapids, MI
- Posts
- 15
Its likely that wordpress will need to be reconfigured, if the db server names/ip's have changed during the migration. Depending on your setup, look for a 'wp-config.php' file where wordpress is installed.
If you're using the centos rpms for everything, you'll want to verify that php-mysql is installed.
- 03-17-2010 #3Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
- 03-17-2010 #4Just Joined!
- Join Date
- Mar 2010
- Location
- Grand Rapids, MI
- Posts
- 15
I don't have any experience w/ cpanel, so I'm not sure what happens with a backup/restore. Hopefully someone can chime in to help you.
Generally speaking, apache and litespeed aren't connecting to the db's directly, unless you're setting up DB-backed access controls or logging. The application (wordpress via php, cpanel via perl...) is making the connections to the db.


Reply With Quote
