Hi,
Please help me with slow Symfony over WAMP.
Me and my friend from work have same PC but I have 2s waiting for ajax response and he has 0.6s. Whats more I have other PC and there is also ok, around 0.7s.
I tried a lot of things. Now I have newest WAMP, PHP, MYSQL.
I tried disable eset.
Wamp is running on SSD.
PC has 3 month. (i7 3.6GHz and 16GB RAM)
Same symfony project.
What Can I do to improvement? I think that 2s for simple ajax is too long time.
Switch from WAMP to Laragon: laragon.org
Just browse the site and you'll see why. It's the fastest local server, it has a bunch of features that you won't find by default in WAMP or XAMPP...
It's portable too, and it's also easy to migrate projects set up with WAMP to Laragon: https://laragon.org/download/migrate-from-wamp.html
Resolved problem, blocked Mhz on my i7, there was limi 900Mhz, strange
Related
I've been using Ubuntu dual booted with Win 10 for the past 2 years and I absolutely love ubuntu, however, due to my studies, I need frequently to use softwares like Excel, PowerBI, MiniTab, which only work on windows and have no good support through Wine unfortunately.
Currently I'm considering moving back to Windows, it's still good, but I don't want to waste a lot of time configuring PHP and JS for a project I'm working on on Ubuntu.
This project is based on Laravel 8, VueJS and MySQL for the database and I'm looking at the most efficient way to import this project to windows.
Using VirtualBox :
I thought about installing ubuntu as a VM on Windows and reinstall all dependencies on that VM and code directly from the VM, but I have around 8 gb od RAM and a cpu I5 4th gen, with only HDD drive. I don't know if I will be comfortable coding on the VM with these specs, especially I will be running chrome and PHP Storm at the same time on the VM which can get up to 5gb of ram alone back on ubuntu.So I won't have any left for windows.
Any other solution ? I thought about using Docker, I don't know if it's suitable in this case ? like importing the project into a docker container in ubuntu, then move back to Windows and use that docker container in php storm or another IDE ?
I also tried WSL with no success since my linux partition is not a physical one.
What's the best solution given my specs to keep working on this project without leaving windows and can be set up easily ?
I am using latest version of xampp and wordpress for development of my new website. Although i am working with xampp and wordpress since couple of years but this new version has frustrated me like anything. Using this new version of Xampp with wordpress is loading one page of the site on local machine in 3-5 minutes. I have tried many changes but really not helping. Can I have some insight over this. This is really annoying and frustrating. Any advice will be lifesaver for me.
My system specs :
Processor - Intel(R)Core i5-5200U CPU #2.20GHZ
RAM 8GB
64 Bit OS
Windows 10 Home
Errors are not coming but the loading of any page is extremely slow. Internet speed is pretty descent and as its on localhost so it should not worry about that.
In your WordPress wp-config.php file, is the entry for DB_HOST ‘localhost’? If so, change it to ‘127.0.0.1’ and see if it helps.
Another way check your IP address on your local network like 192.168.0.111 Then edit your hosts file like
Change to
/etc/hosts 192.168.0.111 mysite.org
or try MAMP it is more speed optimized
I've recently been developing a Laravel app on my Mac OSX under an XAMPP/Apache server. And suddenly a couple days ago (no updates or anything) my server started resolving the pages at over a minute (roughly 80s on average). It obviously makes development really difficult and was wondering the possible issues could be? Please let me know what files/code snippets would be needed!
I'm running my app on a virtual host in the httpd.conf file if that's any help.
I've also reinstalled XAMPP with PHP 7.0 and reset my entire repo as well but to no avail. Other website load perfectly fine too. Other coders on the app don't see a change in the loading time, so this seems like a local issue and not one concerning the size of the app.
Would appreciate any help, thanks!
I have a very basic Asus tablet (VivoTab) I just upgraded to Windows 10. I want to run an offline demo on it of my website, so my thought process is to install WAMP server and go from there. I've done it on my PC, but as you can imagine its a little different with a Tablet, and I can't seem to find much online information on the topic.
If there is a 'better' way to go about this, not using WAMP, or if someone has done this there help would be much appreciated!!
Preferably I don't want to jailbreak, but if its necessary I don't mind.
Thanks everyone! After playing with some configs with wamp it worked. Had to uninstall it couple times, The tablet didn't play nicely with 3.0 but worked with 2.5. The difficulty was installing the correct MSVCR. For 2.5 Apache runs on MSVCR 2010 for 32bit but for some reason you need 2008 revision installed as well. Also had to block IIS it runs on port 80 as wel
I rent Windows 2008 64 R2 on a shared hosting environment with the following specs:
Intel XEON E5520 # 2.27GHZ
2 GB RAM
IIS 7.5
PHP v5.4
MySQL 5.5.27
FastCGI
Normally, I develop for .NET, and my websites are working great with fast rendering times.
However, I have a couple of Wordpress sites as well, and they are rather slow compared to the .NET websites. Today, I decided to investigate this. I just installed a fresh WordPress 3.8 copy using WPI (Web Platform Installer).
The website takes about 1.1 seconds to render (so it takes 1.1 seconds before any response is returned from my web server), which is, in my opinion, really slow.
I didn't install PHP/MySQL on the server myself, but I think that the best well known practices are in place, at least FastCGI is installed.
But still, I believe that Wordpress should be performing much better, even on a WIMP environment.
So, my questions are:
Should I expect more performance with this setup on the given environment (no additional optimizations such as caching), or is 1.1 seconds of rendering time normal?
And if so, any ideas on what's going on?
Btw, I know that I can speedup Wordpress somewhat by using plugins like W3TC.
Today, I finally was able to fix my slow loading problem; until now, my Wordpress sites where still loading slowly.
By chance, I stumbled upon this article:
http://www.customfitonline.com/news/2013/6/20/solve-wordpress-on-windows-server-problems/
I was like, let's try that "Slow Page Loading" tip, change localhost to 127.0.0.1 in wp_config.php:
define('DB_HOST', 'localhost');
To
define('DB_HOST', '127.0.0.1');
Sure enough, this setting makes a HUGE difference in page loading!