I read and followed tis how-to: http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-8.10 I have no domain name so I remove some lines from site configuration file for apache: <VirtualHost *:80> DocumentRoot /var/www/web1/web/ <IfModule mod_fcgid.c> SuexecUserGroup web1 web1 PHP_Fix_Pathinfo_Enable 1 <Directory /var/www/web1/web/> Options +ExecCGI AllowOverride All AddHandler fcgid-script .php FCGIWrapper /var/www/php-fcgi-scripts/web1/php-fcgi-starter .php Order allow,deny Allow from all </Directory> </IfModule> # ErrorLog /var/log/apache2/error.log # CustomLog /var/log/apache2/access.log combined ServerSignature Off </VirtualHost> I reloaded the apache web server and when I digit on address bar of Firefox http://10.1.4.7/web1/web/info.php a little window appears to select where I have to download info.php file. No page is open by browser but I get a php file to download. I suppose that something is not work. Thanks
If this is your default vhost, then http://10.1.4.7/info.php is the correct address (because /var/www/web1/web is your document root). The fact that you have to type http://10.1.4.7/info.php in your browser shows that there's another default vhost in your configuration which has precedence over this one.