Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   PHP, PERL, MySQL, JavaScript (https://forum.antichat.xyz/forumdisplay.php?f=37)
-   -   Debian 5 и Curl (https://forum.antichat.xyz/showthread.php?t=202655)

vorona 08.05.2010 20:17

Debian 5 и Curl
 
Как в Debian 5 установить модуль curl?

В etc/apache2/mods-enabled файла не обнаружил.

WNZRS 08.05.2010 20:42

curl это модуль php, а не апача. Ставиться автоматом из synaptic'a, единственное надо после установки апач перезапустить

-=us=- 08.05.2010 20:52

apt-get install php5-curl

vorona 08.05.2010 21:06

Цитата:

Сообщение от WNZRS
curl это модуль php, а не апача. Ставиться автоматом из synaptic'a, единственное надо после установки апач перезапустить

Пост выше. Внимательней.

vorona 08.05.2010 21:15

Цитата:

Сообщение от -=us=-
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. '

svesve 08.05.2010 22:14

пропиши другие зеркала

отредактируй /etc/apt/sources.list
пропиши туда эти зеркала

Код:

deb http://mirror.yandex.ru/debian/ lenny main
deb-src http://mirror.yandex.ru/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://ftp.ru.debian.org/debian lenny main

затем apt-get update
и
apt-get install php5-curl

vorona 09.05.2010 09:06

Цитата:

Сообщение от svesve
пропиши другие зеркала

отредактируй /etc/apt/sources.list
пропиши туда эти зеркала

Код:

deb http://mirror.yandex.ru/debian/ lenny main
deb-src http://mirror.yandex.ru/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://ftp.ru.debian.org/debian lenny main

затем apt-get update
и
apt-get install php5-curl

Спасибо. Попробую.

vorona 09.05.2010 10:08

Цитата:

Сообщение от svesve
пропиши другие зеркала

отредактируй /etc/apt/sources.list
пропиши туда эти зеркала

Код:

deb http://mirror.yandex.ru/debian/ lenny main
deb-src http://mirror.yandex.ru/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://ftp.ru.debian.org/debian lenny main

затем apt-get update
и
apt-get install php5-curl

При установке с WinSCP постоянно выбивает вот такую ошибку:

http://upwap.net/4737

phpdreamer 09.05.2010 10:55

перезагрузи сервер

vorona 09.05.2010 11:18

Цитата:

Сообщение от phpdreamer
перезагрузи сервер

Тоже самое.


Время: 12:47