>I give a popup ask me to download the php script index.php
It means that:
1. php5_module is not loaded (seems like not actual, cause in server log there Apache/2.2.10 ... PHP/5.2.9)
to be make sure on 100%, provide output of apache2ctl -t -D DUMP_MODULES
here:
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_default_module (shared)
authz_user_module (shared)
authn_dbm_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
ssl_module (shared)
userdir_module (shared)
php5_module (shared)
rewrite_module (shared)
perl_module (shared)
suexec_module (shared)
fcgid_module (shared)
jk_module (shared)
python_module (shared)
bw_module (shared)
>
2. apache is not restarted fully yet
Wait a little and try to fetch page again. If get pop-up again, goto 3
3. php5_module is not installed in domain apache config
provide domain apache config /srv/www/vhosts/$DOMAIN_NAME/conf/httpd.include
here:
VirtualHost 123.1.123.123:80>
ServerName domain.xxx:80
ServerAlias
www.domain.xxx
UseCanonicalName Off
SuexecUserGroup annuario psacln
DocumentRoot /srv/www/vhosts/domain.xxx/httpdocs
CustomLog /srv/www/vhosts/domain.xxx/statistics/logs/access_log plesklog
ErrorLog /srv/www/vhosts/domain.xxx/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /srv/www/vhosts/domain.xxxt/web_users
</IfModule>
ScriptAlias /cgi-bin/ /srv/www/vhosts/domain.xxx/cgi-bin/
Alias /plesk-stat /srv/www/vhosts/domain.xxx/statistics/
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /srv/www/vhosts/domain.xxx/statistics/webstat
Alias /webstat-ssl /srv/www/vhosts/domain.xxx/statistics/webstat-ssl
Alias /ftpstat /srv/www/vhosts/domain.xxx/statistics/ftpstat
Alias /anon_ftpstat /srv/www/vhosts/domain.xxx/statistics/anon_ftpstat
Alias /awstats-icon /usr/share/apache2/icons/awstats
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /srv/www/vhosts/domain.xxx/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/srv/www/vhosts/domain.xxx/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/srv/www/vhosts/domain.xxx/httpdocs:/tmp"
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
Options -Includes +ExecCGI
</Directory>
<Directory /srv/www/vhosts/domain.xxx/web_users>
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
</VirtualHost>
I still get a popup