New to this. Just want to practice my php scripting without FTPing a website. I have resolved the problems discussed elswhere on this forum on my laptop and control panel is working in everything from administrator (Apache through to Tomcat showing 'RUNNING') and I get the localhost welcome page and can click on phpinfo from that page and it works fine, but I can doubleclick a .php file in the same directory/sub-directory such as htdocs and it will run in a browser (Firefox) but only as an HTML file. The same is true calling a .php file using <a href...> from an html file.
I'm running Win8.1 on an ASUS Laptop. XAMPP Control Panel v3.2.1 as downloaded 1 week ago. XAMPP v5.6.11
HELP please!!!
Error logs:
[Wed Aug 26 11:30:42.155048 2015] [ssl:warn] [pid 7060:tid 476] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Aug 26 11:30:42.325101 2015] [core:warn] [pid 7060:tid 476] AH00098: pid file D:/Data/Data/XAMPP2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Aug 26 11:30:42.536169 2015] [ssl:warn] [pid 7060:tid 476] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Aug 26 11:30:42.660211 2015] [mpm_winnt:notice] [pid 7060:tid 476] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.11 configured -- resuming normal operations
[Wed Aug 26 11:30:42.660211 2015] [mpm_winnt:notice] [pid 7060:tid 476] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Wed Aug 26 11:30:42.660211 2015] [core:notice] [pid 7060:tid 476] AH00094: Command line: 'D:\\data\\data\\xampp2\\apache\\bin\\httpd.exe -d D:/Data/Data/XAMPP2/apache'
[Wed Aug 26 11:30:42.664210 2015] [mpm_winnt:notice] [pid 7060:tid 476] AH00418: Parent: Created child process 676
[Wed Aug 26 11:30:44.285731 2015] [ssl:warn] [pid 676:tid 368] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Aug 26 11:30:44.659852 2015] [ssl:warn] [pid 676:tid 368] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Aug 26 11:30:44.838909 2015] [mpm_winnt:notice] [pid 676:tid 368] AH00354: Child: Starting 150 worker threads.
I used an old version of Apache on XP for many happy years php-ing without any problems but this one is baffling me.