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 127.0.0.1 and restart server: 3639 ms In Windows/System32/drivers/etc/hosts, add “127.0.0.1 127.0.0.1” & “127.0.0.1 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 http://httpd.apache.org/docs/2.2/ssl/. The files starts with <IfModule ssl_module>, so it only has an effect if the apache has been started … Read more

UTF-8 encoded html pages show � (questions marks) instead of characters

When [dropping] the encoding settings mentioned above all characters [are rendered] correctly but the encoding that is detected shows either windows-1252 or ISO-8859-1 depending on the browser. Then that’s what you’re really sending. None of the encoding settings in your bullet list will actually modify your output in any way; all they do is tell … Read more