Configuration: www.tp5.com has hosts assigned many local virtual hosts for normal access. the configuration of my new tp5 virtual host is copied and pasted, should it be okay? However, the access prompt "Noinputfilespecified." is displayed, but my index. php Ming...
Configuration,www.tp5.com
Hosts has been sent to The Local
I have configured many local virtual hosts for normal access. my newtp5
The configuration of the VM is copied and pasted. should it be correct? However, the access prompt is displayed.No input file specified.
But I amindex.php
Clearly there?
If you usehttp://localhost/tp/public
But it can be accessed normally. why?
I tried tp3.2 and tp5 to solve this problem,index.php
Clearly
Reply content:
Configuration,www.tp5.com
Hosts has been sent to The Local
I have configured many local virtual hosts for normal access. my newtp5
The configuration of the VM is copied and pasted. should it be correct? However, the access prompt is displayed.No input file specified.
But I amindex.php
Clearly there?
If you usehttp://localhost/tp/public
But it can be accessed normally. why?
I tried tp3.2 and tp5 to solve this problem,index.php
Clearly
Find the reason. it turns out to beroot
Separator ......
Set\
Change/
That is
E:/phpStudy/WWW/tp/public
Really amazing problem ......
View my configuration
listen 80; server_name www.test.com; #charset koi8-r; #access_log logs/host.access.log main; location / { root D:/www/php/www.test.com/www; index index.php; # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 location ~ \.php$ { root D:/www/php/www.test.com/www; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }