digigirl Posted March 16, 2010 Share Posted March 16, 2010 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 :'( Link to comment https://forums.phpfreaks.com/topic/195478-php-not-being-parsed-in-apache-virtual-hosts-except-default-one/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.