• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

PHP corrections after upgrade

jorge ceballos

Regular Pleskian
Hi,
Last night there was an upgrade mark in my Plesk v9.2 so I upgraded and apparently everythng came out ok.
This morning noticed most PHP sites worked but 2 (so far!) didn't work on PHP - they popped a 'download file' like if PHP wasn't enabled -; took a look to their httpd.include file and they were different from the working ones.
Copied one from a working site, substituted all the domain references with the non-working domain and changed the SuexecUserGroup as well as the ServerAdmin for the right ones.
Restarted apache and all of them are working fine.
Remember sites using SSL use 2 VirtualHost references, one with port 443 and other with port 80.

Hopefully this will help someone.

saludos,
 
Hi

Also PHP support could be not enabled on a domain. But, in any case, httpd.include is also regenerated if you execute
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.tld
 
Well, seems Apache is re-generating httpd.include every 24 hours but with the wrong one. This is affecting sites using SSL wihtin the same folder.

Attached are both httpd.include files, working and non-working.
Notice that non-working file is missing referalls to sapi_apache2 and mod_php5.

any idea?

TIA
 

Attachments

  • non_working_httpd.include.txt
    5.6 KB · Views: 3
  • working_httpd.include.txt
    6.6 KB · Views: 3
Back
Top