These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Upgrading Debian Squeeze to Debian Wheezy :: No PHP any more !! on the new forum.
Hey guys,
it's pretty urgent for me:
after an upgrade from squeeze to wheezy my php sources are shown on websites. normal html website are working fine.
any idea ?
apache-mpm-worker is installed.
Thanks.
Howdy,
Hmm, I'm wondering if some PHP config file in Apache is causing the problem you're seeing.
Is mod_php installed? In theory, it shouldn't be when using apache-mpm-worker -- but if it is, you may want to try removing it (since it's not compatible with apache-mpm-worker).
Also, are there any PHP related config files residing in /etc/apache2/mods-enabled?
-Eric
Hello,
with installing "apache-mpm-prefork" the php websites are "running" ... but not with their virtualserver name - they are running as www-data:www-data
Installing the apache-mpm-worker again, php is not running ... ?
I compared the php.ini files etc with the backed up files. No differences found (by software).
What has changed during that upgrade ?
Thanks.
I found the following error in the suexec log:
target uid/gid (1027/1014) mismatch with directory (1027/1014) or program (0/0)
checked in user/groups settings in virtualmin. everythings fine: user "test" = 1027 grp "test" = 1014
alle files and dirs of the virtual server are owned by test:test.
why ? I "only" upgraded that f.. server.
Hmm, I'm not sure you answered the second question I was asked in my reply above... are there any PHP related config files residing in /etc/apache2/mods-enabled?
That may be the source of your problem -- especially when mod_php is enabled.
If so, it may just be a matter of disabling the SetHandler lines in it and restarting Apache.
-Eric
On my server there are dozens of websites. What is really strange that about half of them working well after the upgrade. The other half shows the php code only.
Any idea?