#Long page loading on a fresh Laravel
1 messages · Page 1 of 1 (latest)
My apologies for creating a new one, my discord bugged out I can't seem to send out a message. Glad you're back to help me out!
To answer your question:
Yes, I've installed debugbar, I'll be attaching the following below. I Assume I have to take a look at Timeline?
How I installed it:
- Installing Composer & Laragon
- Create a new project from Laragon via the terminal (composer create-project laravel/laravel example-app).
- Once it's done, I basically right click on Laragon under www i selected my project.
** I did not install any other stuff except for debugbar at the moment **
@sand tusk , here is a picture.
Hi Sid, no.. I did not, i'm running the web through laragon itself by right clicking, under www and clicking on my project
try to disable / uninstall the x-debug, just to confirm its not the case
laragon just an alternative of xampp, but specialize for Laravel
pretty sure its not the case( have been using it for a while)
tried, not difference either
is this under the .ini file? googled and i couldnt find xdebug inside of that .ini file
yeah, but since you are using Laragon. you will able to deactivate the extension by using the apps
probably check the php error logs as well, check if there is any errors there
@odd dune this means i havent got xdebug installed tho..
Make sure you are using the same php
is there any error shows in the php_errors.log?
Make sure that the Laragon folder is excluded in Windows Defender. It can have a huge impact on performance.
it said there is no php errors
I've allowed laragon.exe to be through the windows defender firewall, still same..
just to verify, you are using the same Laragon's php?
tried, saved the file, restart laragon its still same. 😦
That's not the same. You have to exclude the entire laragon folder from Defender. It's in Windows settings under Virus & Threat detection > Exclusions.
Hi Frankie, i'm using the latest php version 8.2.8, im sure laragon default's php is 8.1.10? Download the latest php version through the official site
bad news, i cannot do that as it's a work laptop, they got their own settings for it 😦
i got it installed in my SSD, i've also install and uninstall laragon multiple times following tutorials, but their pages load almost instantly as compared to mine
Are you running out of disk space by any chance?
No sir, still have more than 500gb left in disk space
perhaps check your environment variable?
else, it is useless to continue editing the laragon
my environment variable includes PHP 8.2.8 and Composer, is laragon supposed to be in the path? does it work that way?
I believe Laragon's php is pointing to its folder, which probably located at ~/Laragon/bin/phpVersion/php something
so there is no point edit/cross check the extension/errors at Laragon
try the command php -m to list all the extenstions
and since you mentioned this is a work laptop, perhaps they have configured something?
why don't you just request the help from them?
what is sail used for really? I've looked it up
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
fileinfo
filter
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
Phar
random
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
This is what it is showing
I dont think that is the case, i'm using other IDE, frameworks and dont seem to have the problem until i've recently wanted to learn PHP
let me try to install on top of my existing program
just tried this, still 2200ms
i'm going to try on my personal laptop tonight to see whether is there any difference
Hi everyone, i will marking the post as closed.. i just tried on my laptop with the same step of installation and it gives me less than 300ms or 200ms which is 10 times lesser than my other laptop, could be what @steady vigil said, could be due to defender..