• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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