CodeIgniter Forums
CI 4: slow when running through Apache in XAMPP - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: CI 4: slow when running through Apache in XAMPP (/showthread.php?tid=81630)



CI 4: slow when running through Apache in XAMPP - Ahmed Haroon - 03-30-2022

i have a working Development environment for CI 4 now.
as a newbie, want to know about why it is taking some time (nothing changed / add anything in its Folder) when running through Apache (XAMPP) but when used through "php spark serve" and accessing page through http://localhost:8080 it is loading in a second or less
first i thought its folder size is approx. 18.5 MB that's why it is taking time to load all stuff but with "spark" it is loading very fast. 
so, what is the recommendation for my development needs and also for production (sorry asking for Production as per my knowledge level)
regards


RE: CI 4: slow when running through Apache in XAMPP - ignitedcms - 03-31-2022

It is most likely a xampp setup issue.

This is from some time ago so I'm not sure how reliable it is https://stackoverflow.com/questions/36754293/php-on-windows-with-xampp-running-100-times-too-slow

Also assuming your on windows.


RE: CI 4: slow when running through Apache in XAMPP - Ahmed Haroon - 03-31-2022

thanks for reply.
yes, i am on Windows 10 machine and using XAMPP ver. 3.3.0 portable.
will check the link you have posted.
regards


RE: CI 4: slow when running through Apache in XAMPP - ignitedcms - 03-31-2022

I'm using mamp on my mac and I've had no issues so far, setup has been very pleasant.

For windows I'm using the windows version of mamp.

https://www.mamp.info/en/windows/