• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

PHP as Apache module fails after upgrade

A

aburany

Guest
I just upgraded PLESK from 8.6 to 9.2.1 and it seems that the PHP doesn't work as Apache module anymore - it throws the php pages for "Save as... " instead.
I'm not sure how PLESK does the configuration of Apache files, but what was strange that I couldn't find any reference on "LoadModule php5module...".
PHP sites work however if I set it to fastcgi or cgi, but I would prefer finding the cause of this bug and fixing it.

I would appreciate any help on how could I re-enable PHP as apache module.
 
The issue got resolved in the meantime, thanks to some research and the talented system aministrator.

The server was initially installed with PHP5, and PLESK 8.6 was installed on top on it.
At the upgrade of PLESK it tried to install PHP4 however, together with PHP5 which failed due to an inaccessible mirror given. PHP4 module was present at mods-available, but PHP5, probably because of failure of install wasn't added to mods-enabled nor as an Apache type.

A manual install of PHP5 and enabling it in Apache config solved the issue.
 
Back
Top