Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

PHP in sub folder not running (2 replies)

$
0
0
Hi there,
I set up a virtual host and every php script is running smoothly in the root Directory of that vhost.
When I put this working php-file into a newly created subdirectory of that vhost, the file refuses to work.
Easy example:
c:\wamp\www\vhostdir\phpinfo.php runs perfect in any browser (http://vhost/phpinfo.php), but
c:\wamp\www\vhostdir\subdir\phpinfo.php returns a blank page in the browser (http:// vhost/ subdir/phpinfo.php).

Any idea why php does not work in a subdir of vhost?

Thanks for help,
Michael

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>