• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Apache2 ignores httpd.include(partially)

N

nitalaut

Guest
Hello everyone,

Strange problem has appeared after upgrade from 8.2.1 to 8.6.0(debian linux 4.0).
Everything works fine except few things.

problem 1) I wasn't able to turn php(and safe mode) on/off through plesk - it gave me an error saying that psa.SiteApps table doesn't exist.
I looked inside $psa_root/etc/db/psa_db.sql and created missing tables manually.
I executed $psa_root/admin/bin/websrvmng -a command to make sure that all vhosts are configured as they should be.
Now I'm able to turn off php and php safe mode on per-domain basis BUT here's the second problem...

problem 2) All php settings(and may be not only php) made through plesk are not applied to virtual hosts.
For example I can turn php off completly for domain example.com, then look at httpd.include file of that domain(located in it's conf subdirectory) and confirm that nessesary settings were made to that file(php_admin_flag engine off). Everything looks ok, BUT the example.com site(which needs php) keeps working. It seems like apache ignores all changes(related to php configuration) which plesk made in httpd.include files.

May be someone has any ideas about this situation ?)
 
And if you, after an update in the domain config, restart apache manually thru 'apachectl graceful', does the new config takes place?
 
I found an interesting fact about the problem(just a minute ago).
If I disable SuPHP for particular domain - everything works as it should(in that domain only).
So SuPHP is creating my troubles.
Investigating further...
 
Back
Top