Hello, I installed PHP5 and Apache along with ISPConfig on a web server. While testing it local, I put a PHP script in the default directory (/var/www/html). The page just brought up the code. The PHP worked when I set them up through ISPConfig. How do I enable the PHP in the default directory?
In your httpd.conf, but if you do that you will not be able anymore to control php in ISPConfig! Why do you want that? In an ISP Setup the /var/www/html is not used anymore.
Oh. When I browse the computer locally (http://node) or by IP address (i.e. no host header), it still uses the /var/www/html page as default.
This might be, depends on your httpd configuration. When no other vhost is configured for the IP / Domain apache shows the default page.
But there is a virtual host configured. However... I did manually enter the FQDN in BIND. How can I change the default?