Laragon Slowly
-
I'm not sure but I am feeling that laragon is getting slowly.
I have made some testing by use other local server- php artisan serve
- Neard
- Laragon
- php artisan serve
-
@grace-lord : Laragon orchestrates services to run. It does not control how services running. You may need to check configurations to adapt them to suitable your project (For example: tuning my.ini).
-
@leokhoa mm I'm not sure what is the problem here. I'm just feeling that is getting slowly because everything is same, query, mysql, etc... it run faster before but now it run slowly
-
@grace-lord : How about changing to Nginx and increase upstream process in
usr\laragon.ini
:[nginx] Upstream=10
Ref: https://forum.laragon.org/topic/262/spawn-more-than-one-php-process
-
I think I have found the problem here. it's getting slow when I use php-7.2.2-Win32-VC15-x64, if I switch back to php-7.1.14-Win32-VC14-x64 it's running faster. Do you know why ?
@leokhoa
-
@grace-lord : I don't know why but I can refer that PHP 7.1 is faster than PHP 7.2
PS: I'll check why PHP 7.2 so slow (on Windows)
-
@leokhoa thanks you
anw I have thought that PHP 7.2 faster than PHP 7.1. Where did you get the information that 7.1 is faster than 7.2
-
@grace-lord : Until I saw your test I thought PHP 7.2 is faster than 7.1, too
-
@leokhoa
I found the problem why my website become slowly. I have enabled xdebug in PHP 7.2
xdebug.remote_enable
xdebug.profiler_enableI didn't know that when I enabled xdebug it will effect to performance
-
@grace-lord : That's the reason! XDebug is notorious for performance overhead.
-
For me I noticed real slow down in last 2 weeks but I did not understand why. I just switched to 7.1.21 and laravel app I am working with is now much faster. Just letting any future visitors know. Turning of xDebug in extensions for 7.2 did nothing to improve the speed.