![]() ![]() Where i work we have our own dedicated server for client wordpress sites that we optimise for to make it very fast, where even a thousand hits on the login page in a second takes barely any resource rather than relying on a shared host for each client.Īpache is actually very slow for your typical plugin heavy wordpress, and needs a lot of tweaking to run fast. This is why most hosts like around 80% including "wordpress recommended" are actually super slow and terrible. The easiest solution is to use virtualbox and set up openlitespeed (with 2GB of ram you could install cyberpanel enterprise package for free, ready to use on install with all webserver utilities). Since wordpress setups tend to be heavy on resource, not even a high spec machine will run xampp and wordpress well. XAMPP uses apache but with only essentials, so you do not get php-fpm and other goodies as the idea is on xampp is that it works rather than it works fast. My solution was to set up a virtualbox running debian with 2 set cores and 2GB of ram using the netinstall, then set up openlitespeed and the usual with lsphp. PHP is a programming language and MySQL is a database management software. In order to create a local WordPress site, you need to set up a web server software (Apache), PHP, and MySQL on your computer. When i developed for wordpress, i too had this issue. XAMPP is a software package that includes all things you need to set up a local server environment on your computer. This really works for me after a very long time-consuming web search with no luck at all. You will find a red crossmark beside Apache and MySQL module, just click on the red crossmark beside each module and agree to install as service (if modules are running you have to stop them first).Now open XAMPP (you will get a UAC alert about launching the program as administrator).I have tried many changes but really not helping. ![]() Now you will be able to start mysql_start.bat and apache_start.bat Using this new version of Xampp with wordpress is loading one page of the site on local machine in 3-5 minutes.Repeat the above step with xampp_control.exe (don't run XAMPP now).Right-click on xampp_start.exe > "Properties" > "Compatibility" tab check "Run this program as an administrator".Go to XAMPP location (by default c:/xampp).If Apache and MySQL are not installed as a service (no green checkmark beside the module name in XAMPP control panel) like this. I've been digesting the web to find a solution for that, and it seems that it depends on your environment in my case, it was working just fine until I installed Eclipse with Worklight.Īnyway, I just figured out how to overcome the very slow response time. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |