Home » Php » php – Laravel web site loading very slow

php – Laravel web site loading very slow

Posted by: admin February 25, 2020 Leave a comment

Questions:
  • Apache version: Apache/2.4.39
  • PHP version: 7.3.14
  • MySQL version: 10.1.44-MariaDB
  • Centos Web Panel
  • Virtualization: vmware
  • PE OS Name: cpe:/o:centos:centos:7
  • Kernel: Linux 3.10.0-1062.12.1.el7.x86_64
  • Architecture: x86-64
  • CPU Model: Intel(R) Xeon(R) CPU X5550 @ 2.67GHz
  • CPU Details: 2 Core (2667 MHz)
  • Download : 100 Mbit/s
  • Upload : 100 Mbit/s
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]

APACHE

Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 deflate_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 expires_module (shared)
 headers_module (shared)
 unique_id_module (shared)
 setenvif_module (shared)
 version_module (shared)
 proxy_module (shared)
 proxy_connect_module (shared)
 proxy_http_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
 pagespeed_module (shared)
 rpaf_module (shared)
 ssl_module (shared)
 suphp_module (shared)

Website randomly loading very long sometimes its take 150ms to load but sometimes its take 1-5min to load.

Projects is laravel

loading time:

enter image description here

How to&Answers: