• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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