• 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 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Uninstall PHP from OS vendor

marowi

New Pleskian
Hello,

I am running Plesk Obsidian 18.0.30 and would like to know if I can uninstall PHP from OS vendor? This is 7.0.33 and outdated.

1600953410276.png

All websites on our server run PHP 7.4, so I don't really need the outdated OS vendor version.

1600953614481.png

But I want to make sure that it does not cause any problems when I uninstall it.

The only post I found about this is a bit older:

Best regards
Manuel
 
It worked without any problems. :)

Plesk now feels a bit faster too. But maybe it's just coincidence.
 
After uninstalling PHP from OS vendor (7.0.33) and PHP 7.2.33, I now get the following error message every hour by mail:

run-parts: /etc/cron.hourly/plesk-php-cleanuper exited with return code 1
 
After uninstalling PHP from OS vendor (7.0.33) and PHP 7.2.33, I now get the following error message every hour by mail:
The cron script failed to execute becase the /var/lib/php/sessions directory is missing
Create the missing /var/lib/php and /var/lib/php/sessions directories:

# mkdir /var/lib/php
# mkdir /var/lib/php/sessions

Set the correct permissions for these directories:

# chmod 755 /var/lib/php
# chmod 1733 /var/lib/php/sessions

Execute the /etc/cron.hourly/plesk-php-cleanuper task to make sure it runs correctly. Exit code 0 means that the execution was successful:

# sh -x /etc/cron.hourly/plesk-php-cleanuper
+ '[' -e /etc/cron.d/php -a -x /usr/lib/php/sessionclean ']'
+ pgrep -f '.*/etc/cron.hourly/plesk-php-cleanuper$'
+ grep -qv 30892
+ renice 19 -p 30892
+ '[' -x /usr/lib/plesk-9.0/maxlifetime ']'
+ '[' -d /var/lib/php/sessions ']'
++ /usr/lib/plesk-9.0/maxlifetime
+ /usr/lib/plesk-9.0/php_session_cleaner /var/lib/php/sessions 24

# echo $?
0
 
Back
Top