Hi guys,
I'm currently trying to get Wordpress working with my Litespeed install and I'm having a couple of issues. I've noticed that other people on this forum have had similar problems, but I'm not sure if mine is the same (I've tried a few things that have been suggested on the wiki and on the forum to no avail).
So here are the details. I'm running Gentoo, with both php4 and php5 installed. I have installed Litespeed 3.0, and have MySQL 5 installed too.
I migrated a copy of my Wordpress install from an existing server, including the contents of the database, and tried firing it up in a browser. The Wordpress error I get is:
Now, if I use the MySQL command line I'm able to login using the credentials that I've specified in the configuration file, and it works fine - which leads me to think that it's not a permissions issue (at least for the login part). So it looks like Litespeed is struggling to speak to MySQL using PHP.
My virtual host is set to use LSAPI: [VHost Level]: $VH_NAME_lsphp
I have tried using [Server Level]: phpLsapi but I have a different error.
Could someone give me an idea as to what the problem might be? I read on the wiki that I have to apparently compile LSAPI support into my php installation(s), if that's the case, can someone give me a pointer as to how to do this with Gentoo's portage? I can't seem to find any information on it on the web (it's mentioned in one post, but there aren't really clear instructions in there on how it should be done).
Any help would be greatly appreciated - at the mo this is the only showstopper as far as my Litespeed insatllation is concerned.
Thanks for your time.
Kind regards
OJ.
I'm currently trying to get Wordpress working with my Litespeed install and I'm having a couple of issues. I've noticed that other people on this forum have had similar problems, but I'm not sure if mine is the same (I've tried a few things that have been suggested on the wiki and on the forum to no avail).
So here are the details. I'm running Gentoo, with both php4 and php5 installed. I have installed Litespeed 3.0, and have MySQL 5 installed too.
I migrated a copy of my Wordpress install from an existing server, including the contents of the database, and tried firing it up in a browser. The Wordpress error I get is:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
My virtual host is set to use LSAPI: [VHost Level]: $VH_NAME_lsphp
I have tried using [Server Level]: phpLsapi but I have a different error.
Could someone give me an idea as to what the problem might be? I read on the wiki that I have to apparently compile LSAPI support into my php installation(s), if that's the case, can someone give me a pointer as to how to do this with Gentoo's portage? I can't seem to find any information on it on the web (it's mentioned in one post, but there aren't really clear instructions in there on how it should be done).
Any help would be greatly appreciated - at the mo this is the only showstopper as far as my Litespeed insatllation is concerned.
Thanks for your time.
Kind regards
OJ.