Is it possible to upgrade Apache to the latest version from an OS update?

Refers to:

  • Plesk 12.0 for Linux
  • Plesk 9.x and below for Linux

Created:

2016-11-16 13:20:52 UTC

Modified:

2016-12-21 20:30:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Is it possible to upgrade Apache to the latest version from an OS update?

Symptoms

Is it possible to upgrade Apache to the latest version from an OS update?

Resolution

The Control Panel interface itself is only served by a separate special service at ports 8443 and 8880. Plesk versions 7.x and 8.x use the httpsd service (based on a customized Apache compilation); versions 9.x and later use the sw-cp-server service (based on a customized nginx compilation) to serve the Control Panel. These services cannot be modified.

However, websites in Plesk are hosted under and served by the regular Apache system, which is a part of the Operating System distributive. It can be updated freely with the appropriate Apache updates for this OS from the OS vendor.

In version 7.x, it is necessary to replace the /usr/sbin/suexec file manually after upgrading the Apache package. You may use the following commands to replace it:

    # cp /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
# chown root:apache /usr/sbin/suexec
# chmod 4510 /usr/sbin/suexec

NOTE : In Plesk versions older than 7.5.4, psa-suexec is placed in /usr/sbin/psa-suexec .

In versions 8.x and 9.x, Plesk places a trigger that replaces suexec after upgrading the Apache package. On CentOS, the trigger looks like the following:

    cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
chown root:apache /usr/sbin/suexec
chmod 4510 /usr/sbin/suexec

Therefore, in Plesk 8.x and 9.x, it is not necessary to replace /usr/sbin/suexec after upgrading the Apache package.

Have more questions? Submit a request
Please sign in to leave a comment.