Hi, I've successfully installed and run (green icon) 3.1.3 x64, and tested PHPInfo and PHPMyAdmin to confirm that PHP is successfully executing scripts. I've also created some simple test php scripts in the default /wampserver/www directory and had those execute successfully. So far so good.
My issue (which may not be wampserver-specific) is that I can't execute php scripts from either an aliased directory or a linked (JUNCTION) directory. Instead my browser (both Vivaldi and Chrome, so not browser-specific) downloads the php file instead of executing it. Some examples, where www/ is the default directory and alias/ is the directory either aliased or linked:
1. www/test.php => executes as expected
2. alias/test.php => downloads instead of executing
3. alias/test.html => renders correctly
4. alias/test.txt => loads and display text file correctly
My takeaways:
a: php is installed and working correctly, at least as far as the default www directory is concerned, per test #1
b: My alias and my junction are also working correctly insofar as html files in those directories are loading and I'm not getting 404 or File Not Found messages, per tests #3 and 4
c: I'm satisfied that my JUNCTION is working as I can browse between as expected in File Explorer with the path correctly showing as a sub-directory of the www directory.
d: Case is not an issue - everything is lowercase for testing, and again, the files are found, just not executed.
Any ideas? And if the answer is "this isn't a WampServer problem", that's good as well - I'll go ask on StackOverflow, just thought I'd try here first.
Thanks!
Jim
My issue (which may not be wampserver-specific) is that I can't execute php scripts from either an aliased directory or a linked (JUNCTION) directory. Instead my browser (both Vivaldi and Chrome, so not browser-specific) downloads the php file instead of executing it. Some examples, where www/ is the default directory and alias/ is the directory either aliased or linked:
1. www/test.php => executes as expected
2. alias/test.php => downloads instead of executing
3. alias/test.html => renders correctly
4. alias/test.txt => loads and display text file correctly
My takeaways:
a: php is installed and working correctly, at least as far as the default www directory is concerned, per test #1
b: My alias and my junction are also working correctly insofar as html files in those directories are loading and I'm not getting 404 or File Not Found messages, per tests #3 and 4
c: I'm satisfied that my JUNCTION is working as I can browse between as expected in File Explorer with the path correctly showing as a sub-directory of the www directory.
d: Case is not an issue - everything is lowercase for testing, and again, the files are found, just not executed.
Any ideas? And if the answer is "this isn't a WampServer problem", that's good as well - I'll go ask on StackOverflow, just thought I'd try here first.
Thanks!
Jim