Hi,
I want to execute php in a virtual host. The server is listening, but visit 127.0.0.1:5000 in a browser starts downloading the index.php file, and doesn't execute it.
Has anybody an idea?
Thanks!!!!
Here's my config:
Binding {
Port = 5000
BindingId = p5000
}
FastCGIserver {
FastCGIid = PHP7
ConnectTo = 127.0.0.1:9000
Extension = php
}
VirtualHost {
Hostname = 127.0.0.1
WebsiteRoot = /fs/data0/hiawatha-dev/webroot_wiki
AccessLogfile = /fs/data0/hiawatha-dev/log_wiki/access.log
ErrorLogfile = /fs/data0/hiawatha-dev/log_wiki/error.log
Startfile = index.php
RequiredBinding = p5000
TimeForCGI = 10
UseFastCGI = PHP7
# ExecuteCGI = yes
}