![]() |
Debian 5 и Curl
Как в Debian 5 установить модуль curl?
В etc/apache2/mods-enabled файла не обнаружил. |
curl это модуль php, а не апача. Ставиться автоматом из synaptic'a, единственное надо после установки апач перезапустить
|
apt-get install php5-curl
|
Цитата:
|
Цитата:
/root$ apt-get install php5-curl Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: php5-curl 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 25.3kB of archives. After this operation, 123kB of additional disk space will be used. Get:1 ftp://mirror.hetzner.de lenny/main php5-curl 5.2.6.dfsg.1-1+lenny3 [25.3kB] Err ftp://mirror.hetzner.de lenny/main php5-curl 5.2.6.dfsg.1-1+lenny3 Unable to fetch file, server said 'Failed to open file. ' Failed to fetch ftp://mirror.hetzner.de/debian/security/pool/updates/main/p/php5/php5-curl_5.2.6.dfsg.1-1+lenny3_amd64.deb Unable to fetch file, server said 'Failed to open file. ' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Get:2 ftp://mirror.hetzner.de lenny/updates/main php5-curl 5.2.6.dfsg.1-1+lenny3 [25.3kB] Err ftp://mirror.hetzner.de lenny/updates/main php5-curl 5.2.6.dfsg.1-1+lenny3 Unable to fetch file, server said 'Failed to open file. ' |
пропиши другие зеркала
отредактируй /etc/apt/sources.list пропиши туда эти зеркала Код:
deb http://mirror.yandex.ru/debian/ lenny mainи apt-get install php5-curl |
Цитата:
|
Цитата:
http://upwap.net/4737 |
перезагрузи сервер
|
Цитата:
|
| Время: 12:47 |