Answer the question
In order to leave comments, you need to log in
Why does a LARAVEL project terribly slow down on a local server and what to do about it?
Decided to learn new tools. Although they are hard ((. Last time I scored and wrote quickly what I needed on codeigniter. This time I decided to become like mice that eat cactus, despite .... Installed LARAVEL 5.2 I
use OPEN SERVER . From the very beginning, the test project became creepy slow down (( The login page opens for 10 seconds. Others can "think" for 25 seconds or "kill" the server with a lack of memory. It is clear that I sometimes write code with errors, but in this situation it is unrealistic to try / develop anything at all (( ((.
PS The project on codeigniter on the same machine flies. Although it has a lot of queries to the database, etc.
Tell me where to look for the cause of the brakes? I don’t want to send new technologies to X again.
Thank you.
Answer the question
In order to leave comments, you need to log in
Если честно, на Open Server у меня были проблемы с тормозами WordPress.
Во-первых, проверьте, что вы выполняли процедуру "Первый запуск" (Дополнительно -> Первый запуск)
И моя проблема была связано с прописыванием адреса MySql в конфиге WordPress. Я писал просто localhost. После смены на 127.0.0.1 (Адрес сервера в настройках Open Server) всё начало летать
Ставил на него все что угодно: symfony, laravel, yii2, kohana и т.п - никогда не замечал лагов.
При этом, обычно, запущено по 3-4 проекта.
Я рекомендую вам, коллега, развернуть простейшую виртуалочку на Debian.
Про посмотрите что у вас тормозит. Поставьте xdebug, сделайте профалинг, а так это гадание по кофейной куще.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question