1

Configuring Apache vhost to process PHP files

view story
linux-howto

http://serverfault.com – Description Now I have setup up a site in Apache using vhost. If I request something it response me a PHP file raw. Question How should I configure my vhost to process PHP files? Stage My vhost configuration: Listen 8010 <VirtualHost *:8010> ServerAdmin webmaster@mysite.org ServerName mysite.org ServerAlias www.mysite.org DocumentRoot /srv/www/mysite.org/public_html/ ErrorLog /srv/www/mysite.org/logs/error.log CustomLog /srv/www/mysite.org/logs/access.log combined DirectoryIndex index.html index.php AddType application/x-httpd-php .php AddType applicat (HowTos)