Can I remove /etc/php/5.6 after I purged php5.6-common?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I tried to install the php5.6 besides php7.0 of the ondrej repository on my Ubuntu Root-Server Version 16.04.
Both PHP-Versions doesn't work for me like expected and I decide to deinstall that ondrej php5.6 package. After some weeks I found an entry in my var/mail/root
file, where some lines like this was:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/mysqlnd.so' - /usr/lib/php/20131226/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
I searched askubuntu and found this:
apt list --installed
In the following list I found that lines:
php5.6-cli/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-common/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-json/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-opcache/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-readline/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
It tells me that my deinstallation doesn't work, so i askubuntu again ;)
With
apt-get purge php5.6-common
the 5 lines was no more found in apt list --installed
. And the folder /usr/lib/php/20131226
was also removed.
But I got those Error messages:
Purging configuration files for php5.6-cli (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-cli, directory
'/etc/php/5.6/cli/conf.d' not empty so not removed
and
Purging configuration files for php5.6-common (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-common, directory '/etc/php/5.6/mods-
available' not empty so not removed
My question is: Can I delete /etc/php/5.6
folder with rm -r 5.6
or do I getting errors then?
16.04
add a comment |Â
up vote
1
down vote
favorite
I tried to install the php5.6 besides php7.0 of the ondrej repository on my Ubuntu Root-Server Version 16.04.
Both PHP-Versions doesn't work for me like expected and I decide to deinstall that ondrej php5.6 package. After some weeks I found an entry in my var/mail/root
file, where some lines like this was:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/mysqlnd.so' - /usr/lib/php/20131226/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
I searched askubuntu and found this:
apt list --installed
In the following list I found that lines:
php5.6-cli/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-common/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-json/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-opcache/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-readline/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
It tells me that my deinstallation doesn't work, so i askubuntu again ;)
With
apt-get purge php5.6-common
the 5 lines was no more found in apt list --installed
. And the folder /usr/lib/php/20131226
was also removed.
But I got those Error messages:
Purging configuration files for php5.6-cli (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-cli, directory
'/etc/php/5.6/cli/conf.d' not empty so not removed
and
Purging configuration files for php5.6-common (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-common, directory '/etc/php/5.6/mods-
available' not empty so not removed
My question is: Can I delete /etc/php/5.6
folder with rm -r 5.6
or do I getting errors then?
16.04
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I tried to install the php5.6 besides php7.0 of the ondrej repository on my Ubuntu Root-Server Version 16.04.
Both PHP-Versions doesn't work for me like expected and I decide to deinstall that ondrej php5.6 package. After some weeks I found an entry in my var/mail/root
file, where some lines like this was:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/mysqlnd.so' - /usr/lib/php/20131226/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
I searched askubuntu and found this:
apt list --installed
In the following list I found that lines:
php5.6-cli/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-common/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-json/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-opcache/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-readline/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
It tells me that my deinstallation doesn't work, so i askubuntu again ;)
With
apt-get purge php5.6-common
the 5 lines was no more found in apt list --installed
. And the folder /usr/lib/php/20131226
was also removed.
But I got those Error messages:
Purging configuration files for php5.6-cli (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-cli, directory
'/etc/php/5.6/cli/conf.d' not empty so not removed
and
Purging configuration files for php5.6-common (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-common, directory '/etc/php/5.6/mods-
available' not empty so not removed
My question is: Can I delete /etc/php/5.6
folder with rm -r 5.6
or do I getting errors then?
16.04
I tried to install the php5.6 besides php7.0 of the ondrej repository on my Ubuntu Root-Server Version 16.04.
Both PHP-Versions doesn't work for me like expected and I decide to deinstall that ondrej php5.6 package. After some weeks I found an entry in my var/mail/root
file, where some lines like this was:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/mysqlnd.so' - /usr/lib/php/20131226/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
I searched askubuntu and found this:
apt list --installed
In the following list I found that lines:
php5.6-cli/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-common/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-json/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-opcache/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
php5.6-readline/now 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,local]
It tells me that my deinstallation doesn't work, so i askubuntu again ;)
With
apt-get purge php5.6-common
the 5 lines was no more found in apt list --installed
. And the folder /usr/lib/php/20131226
was also removed.
But I got those Error messages:
Purging configuration files for php5.6-cli (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-cli, directory
'/etc/php/5.6/cli/conf.d' not empty so not removed
and
Purging configuration files for php5.6-common (5.6.33-
3+ubuntu16.04.1+deb.sury.org+1) ...
dpkg: warning: while removing php5.6-common, directory '/etc/php/5.6/mods-
available' not empty so not removed
My question is: Can I delete /etc/php/5.6
folder with rm -r 5.6
or do I getting errors then?
16.04
16.04
edited Mar 20 at 14:31
asked Mar 20 at 12:15
![](https://i.stack.imgur.com/AyEJQ.jpg?s=32&g=1)
![](https://i.stack.imgur.com/AyEJQ.jpg?s=32&g=1)
MonTea
1085
1085
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017609%2fcan-i-remove-etc-php-5-6-after-i-purged-php5-6-common%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password