Error when trying to access XAMPP from a network [closed]

In your xampppath\apache\conf\extra open file httpd-xampp.conf and find the below tag: # Close XAMPP sites here <LocationMatch “^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))”> Order deny,allow Deny from all Allow from ::1 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> and add “Allow from all” after Allow from ::1 {line} Restart xampp, and you are done. In later versions of Xampp …you can … Read more

How to turn on/off MySQL strict mode in localhost (xampp)?

->STRICT_TRANS_TABLES is responsible for setting MySQL strict mode. ->To check whether strict mode is enabled or not run the below sql: SHOW VARIABLES LIKE ‘sql_mode’; If one of the value is STRICT_TRANS_TABLES, then strict mode is enabled, else not. In my case it gave +————–+——————————————+ |Variable_name |Value | +————–+——————————————+ |sql_mode |STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION| +————–+——————————————+ Hence strict mode … Read more

Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)

There are many possible answers for this problem. The most common and most likely is that you’re running another program which is blocking port 80 or 443. If you’ve installed Skype, then you’ve found your problem! Change apache’s port settings to 81 and apache will work. There’s a good tutorial on that To check this … Read more

PHP on Windows with XAMPP running 100 times too slow

I found the problem was Xdebug in xampp\php\php.ini. Here’re the results of trying many solutions found around the web: Run XAMPP as adminisrator and restart server: 3617 ms In xampp/apache/conf/httpd.conf, replace localhost with and restart server: 3639 ms In Windows/System32/drivers/etc/hosts, add “” & “ localhost” and restart Windows: 3960 ms In Windows/System32/drivers/etc/hosts, un-comment … Read more

Setting up SSL on a local xampp/apache server

Apache part – enabling you to open https://localhost/xyz There is the config file xampp/apache/conf/extra/httpd-ssl.conf which contains all the ssl specific configuration. It’s fairly well documented, so have a read of the comments and take look at The files starts with <IfModule ssl_module>, so it only has an effect if the apache has been started … Read more