Removeu acidentalmente todas as bibliotecas dinâmicas PHP

Removeu acidentalmente todas as bibliotecas dinâmicas PHP

Eu estava tentando remover uma pasta de módulo de inicialização (ioncube) e removi acidentalmente a pasta de módulos/extensões de inicialização do PHP (debian)

Agora estou entendendo isso

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/pdo.so' - /usr/lib/php5/20100525+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/curl.so' - /usr/lib/php5/20100525+lfs/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/gd.so' - /usr/lib/php5/20100525+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/mcrypt.so' - /usr/lib/php5/20100525+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/mysql.so' - /usr/lib/php5/20100525+lfs/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/mysqli.so' - /usr/lib/php5/20100525+lfs/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/pdo_mysql.so' - /usr/lib/php5/20100525+lfs/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/pdo_pgsql.so' - /usr/lib/php5/20100525+lfs/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/pgsql.so' - /usr/lib/php5/20100525+lfs/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/suhosin.so' - /usr/lib/php5/20100525+lfs/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0

Não consegui encontrar nenhum documento relacionado à reinstalação deles. Tentei reinstalar o PHP, mas parece que não funciona

Existe alguma maneira de recuperar esses arquivos.

EDIT: Não sei o motivo do voto negativo, mas não tenho apoio.

Responder1

Algumas das extensões não são fornecidas pelo pacote PHP5. aqui está a lista do Debian Squeeze

https://packages.debian.org/squeeze/php/

Escolha essas extensões pelo nome correto e reinstale com o apt-get

Por exemplo:apt-get reinstall php5-mysql

alguns deles só podem ser instalados pelo PECLhttp://pecl.php.net/

Por exemplo:pecl install pdo

informação relacionada