I have set up Xampp for php development on my mac studio. On monterey.
Problem is that my virtual hosts responds really slow. Sometimes up to 10 seconds to load a site. And sometimes i just get the below message in chrome, then the page reloads and try to get the page again.
This page isn’t workingfhm.test didn’t send any data.
ERR_EMPTY_RESPONSE
Here's my setup:
httpd-vhosts.conf.
<VirtualHost *:80>
ServerName fhm.test
DocumentRoot "/applications/XAMPP/xamppfiles/htdocs/fhm.test"
<Directory "/applications/XAMPP/xamppfiles/htdocs/fhm.test">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
And here is my etc/hosts.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 fhm.test
In the site folder it points to i only have a php info script right no. Any ideas on what the problem is and how to resolve?