I am working on a new project using Laravel 5.4 on my windows. Here are the version info of my software stack:
- PHP v5.6.30
- MySQL Community Server v5.7.17 (64-bit)
- Apache v2.4.25
I've optimised my MySQL server with the following: my.ini
Both Apache (with php) and MySQL server is installed on my D:\ drive, which a second hard drive (7200 RPM).
When I run the following command in my Laravel project:
php artisan migrate:refresh --seed
This command is taking anywhere from 45 ~ 60 seconds. Sometimes longer.
The same project hosted on a Linux server (centos 7 VM, our staging environment with very similar setup for apache/php/mysql), migration with seed takes approx approx 3 ~ 5 seconds.
My windows development environment is much higher spec than our linux vm, so any ideas why the migration is so slow?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jFlq8u
via IFTTT
Aucun commentaire:
Enregistrer un commentaire