Jump to content

Recommended Posts

Hi all,

 

I have 3 websites running php (5.0.4) configured as Apache (2.0.54) virtual hosts on one Red Hat (4.0.2) linux server.

 

All was working fine until...... I upgraded Plesk from 8.1.1 to 9.2.2.  This automatically overwrote my /etc/httpd/conf.d/zz010_psa_httpd.conf file (which unfortunately was not backed up) and made all 3 websites fail.

 

I did some configuration to get the main website back up and it is now running fine with all the php being parsed. This runs under /var/www/vhosts/default/htdocs.  So Apache is loading the php module ok.

 

However, the php is not being parsed in the other 2 websites.  They run under /var/www/vhosts/XXX/htdocs and /var/www/vhosts/YYY/htdocs. If you 'View Page Source' on a webpage, it just shows the raw php code.

 

The master open_basedir is set to /var/www/vhosts/default/htdocs in php.ini.  I have safe_mode on.

 

Open_basedir is set to /var/www/vhosts/XXX/htdocs and /var/www/vhosts/YYY/htdocs in the 2 respective VirtualHost sections in zz010_psa_httpd.conf.

 

Any ideas why the php is being ignored? All input would be greatly appreciated!

 

Many thanks, digigirl  :'(

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.