0 / 0 / 0
Регистрация: 21.10.2017
Сообщений: 59
|
|
1 | |
Debian 9. Установка php26.12.2019, 19:44. Показов 1498. Ответов 1
Метки нет (Все метки)
Всем привет.
Хотел поднять свой сайт на Apache2, установил, но php не активирован. При создании php файла в корне сайта просто отображает содержимое php файла. При попытке установить выводит такой лог: Кликните здесь для просмотра всего текста
Код
root@hide:~# apt-get install libapache2-mod-php5 php5-cli php5-memcache php5-memcached php5-mysql php5-pgsql php5-curl php5-gd php5-imagick php5-intl php5-mcrypt Reading package lists... Done Building dependency tree Reading state information... Done Package php5-gd is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-pgsql is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-cli is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-mcrypt is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-mysql is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-curl is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-imagick is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package libapache2-mod-php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libapache2-mod-php5' has no installation candidate E: Package 'php5-cli' has no installation candidate E: Unable to locate package php5-memcache E: Unable to locate package php5-memcached E: Package 'php5-mysql' has no installation candidate E: Package 'php5-pgsql' has no installation candidate E: Package 'php5-curl' has no installation candidate E: Package 'php5-gd' has no installation candidate E: Package 'php5-imagick' has no installation candidate E: Unable to locate package php5-intl E: Package 'php5-mcrypt' has no installation candidate P.S. apt-get update и apt-get upgrade выполнял, нет результата
0
|
26.12.2019, 19:44 | |
Ответы с готовыми решениями:
1
Установка PHP на Debian 7.4 установка debian Установка и настройка DEBIAN 4 Установка wine 1.5 на Debian |
13016 / 7407 / 801
Регистрация: 09.09.2009
Сообщений: 28,986
|
|
26.12.2019, 22:56 | 2 |
Сообщение было отмечено vitya790 как решение
Решение
если дебиан "свежий" (9-й, 10-й), то пхп в нем уже седьмой. пробуйте ставить нужные пакеты без пятерки в имени. типа вместо php5-cli указывайте php-cli
0
|
26.12.2019, 22:56 | |
26.12.2019, 22:56 | |
Помогаю со студенческими работами здесь
2
Установка VirtualBox в Debian Установка Debian по SHH Установка KDE в Debian 6 Первая установка Debian 9 Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |