Remove old php

Doliwa

Verified User
Joined
Jan 18, 2017
Messages
8
I'm using custombuild 2 and php7.1.5
In the directory I have older versions 7.1.4 oeaz 7.1.5
521M /usr/local/directadmin/custombuild/php-7.1.3
522M /usr/local/directadmin/custombuild/php-7.1.4
522M /usr/local/directadmin/custombuild/php-7.1.5
Can I safely delete them?
 
Hello,

Yes, please feel free to remove it.

I can confirm Custombuild does not clean old PHP-7.x versions after build even with clean set to yes. So we can treat it as a bug.
 
These folders under /usr/local/directadmin/custombuild/ are actually just sources. You can even delete the latest one - it's used only during the compile time and no longer after that.
 
Update:
Code:
Executing /usr/local/directadmin/plugins/custombuild/admin/build remove_items.
Removing /usr/local/php56
PHP 5.6 has been successfully removed
Removing /usr/local/php73
PHP 7.3 has been successfully removed
Removing file: /var/www/html/squirrelmail...
Removing all squirrelmail directories from /var/www/html...
/var/www/html/squirrelmail-1.4.23-20190509_0200
Done!
 
Back
Top