Is there a way to have your PHP interpreter (I'm using WAMP) installed locally but have it run for files on the network? So I have...
C:\wamp\bin\php\phpx.x.xx\(Local install)
and
Z:\www\example.com\index.php(Network)
How can I open index.php in the browser and have it run the interpreter? Of course, the way I currently run things is saving to C:\wamp\www\path\ and pull up http://localhost/path/index.php in the browser.
I'm wanting to avoid having to remote connect to my developer desktop to access local files there. I'd rather put my .php files on the network and work with them anywhere.
The browser cannot involve the PHP interpreter. It talks to a webserver, the webserver runs PHP.
You can configure Apache to use whatever directories you like with various directives such as
or
For development purposes, you may just wish to run the built in webserver on whatever machine you are working on: