Windows 10
WampServer Version 3.0.6 64bit
Apache Version 2.4.23
PHP Version 5.6.25
MySQL Version 5.7.14
So I succesfully ran a php file by going to my web browser and typing in localhost/file.php
while the file.php was in the www folder of wampserver
the file is a simple connection to my a local db and it succeeds.
However I need the file.php to be in my project folder in visual studio and not in the www folder. do I need to use something other than localhost?
or do I need to use a different server name than localhost even though file.php and the server are both on the same machine?
WampServer Version 3.0.6 64bit
Apache Version 2.4.23
PHP Version 5.6.25
MySQL Version 5.7.14
So I succesfully ran a php file by going to my web browser and typing in localhost/file.php
while the file.php was in the www folder of wampserver
the file is a simple connection to my a local db and it succeeds.
However I need the file.php to be in my project folder in visual studio and not in the www folder. do I need to use something other than localhost?
or do I need to use a different server name than localhost even though file.php and the server are both on the same machine?