Hey all,
Sorry for my n00bness here. Run a website on Rackspace Cloud and we have huge events where the site will get hammered. Even by selecting the largest Rackspace instance (16GB RAM) we will still crash. After doing some research it sounds like caching, load balancing and Litespeed are my answer.
I created a new instance with Litespeed installed on Ubuntu 10.10 server. Uploaded my Wordpress site to the DEFAULT directory. Changed the wp-config file to point to the internal address of the first server for MySQL and made sure that the firewall was allowing all traffic. However, I'm still getting a 'could not connect to database' error on my Litespeed install.
I'm wondering if I'm missing something simple here... I thought maybe it was a PHP compile thing, so I tried to compile PHP 5.3.6 but keep getting errors. Here's what it shows (the end at least):
mysql_config not found
configure: error: Please reinstall the mysql distribution
**ERROR** Could not configure PHP build
But I did install MySQL... So, dunno.
Thoughts? Am I just missing something simple?
Thanks,
Benjamin Higginbotham
Spacevidcast.com
Sorry for my n00bness here. Run a website on Rackspace Cloud and we have huge events where the site will get hammered. Even by selecting the largest Rackspace instance (16GB RAM) we will still crash. After doing some research it sounds like caching, load balancing and Litespeed are my answer.
I created a new instance with Litespeed installed on Ubuntu 10.10 server. Uploaded my Wordpress site to the DEFAULT directory. Changed the wp-config file to point to the internal address of the first server for MySQL and made sure that the firewall was allowing all traffic. However, I'm still getting a 'could not connect to database' error on my Litespeed install.
I'm wondering if I'm missing something simple here... I thought maybe it was a PHP compile thing, so I tried to compile PHP 5.3.6 but keep getting errors. Here's what it shows (the end at least):
mysql_config not found
configure: error: Please reinstall the mysql distribution
**ERROR** Could not configure PHP build
But I did install MySQL... So, dunno.
Thoughts? Am I just missing something simple?
Thanks,
Benjamin Higginbotham
Spacevidcast.com