• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Error: Option +Includes wasn't set, Includes Filter Removed

P

pointclick

Guest
After upgrading I have been having problems with php scripts and file ownership or permissions. I think that my php.ini, httpd.conf (or includes or vhost.conf) files were changed. I am getting the following error in the domains log on a static site.

mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed.

Could this be causing all of the above problems. If so what is the best way to fix it. Is there a way to reinstall apache to see if that fixes it?
 
PHP Ownership changed

As I was looking further I noticed that my php scripts are running as apache/apache instead of domainuser/psacln. The machine is a vps running centos 4.2 I can see where files uploaded prior to the upgrade via drupal and joomla were previously owned by the user and new files are owned by apache. Does this mean that php was running as cgi nd now is not?
 
Try doing following:

cp /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
/etc/init.d/httpd restart

This should fix it.
 
Thanks but it did not work

I copied suexec and restarted. Suexec is running and logging, I tested it with a cgi but php is still running as apache. I have read on the forum that this is normal but it was not the way the stock vps was configured and it is much easier to manage if php runs as the user. Right now I have had to change permissions to keep php sites working.
 
PHP scripts will run under user only if PHPSuExec is enabled on the server.For this you have to recomplie apache with PHPSuExec support.
 
Back
Top