Установка php для mikbill

Ubuntu 14.04
http://3pc.name/miscellanea/kak-udalit-php-5-3.html
https://rusadmin.biz/rukovodstva/ustanovka-php-5-3-na-debian-7/

#add-apt-repository ppa:ondrej/php5-oldstable
#apt-get update
#apt-get install php5

sed -i.bak "s/trusty/precise/g" /etc/apt/sources.list
apt-get update
apt-get -s install php5
-s - проверяем версию

возвращаем назад
sed -i.bak "s/precise/trusty/g" /etc/apt/sources.list
apt-get update

удаляем php
aptitude purge `dpkg -l | grep php | grep -w 5 | awk '{print $2}' | xargs`
 или так
apt-get remove --purge `dpkg -l | grep php | grep -w 5.4 | awk '{print $2}' | xargs`

установка php ubuntu 14.04
#!/bin/bash

apt-get -q -y install php5 php5-cli php5-cgi
apt-get -q -y install phpmyadmin php-xml-rss php-radius php5-xsl php-xml-serializer php-net-lmtp php-xml-util php-pear php-net-url suphp-common phpsysinfo
apt-get -q -y install php5-sasl php5-snmp  php5-sybase php5-curl php5-fpm
apt-get -q -y install php5-memcache php5-pspell php5-xmlrpc php5-mcrypt php5-recode php5-imap php5-geoip php5-xcache php5-imagick php5-mysql php5-dbg

отдельно доставил
php5-gd php5-gmp php5-xsl

# apt-get install php5-snmp
Reading package lists... Done
Building dependency tree    
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php5-snmp : Depends: libsnmp15 (>= 5.4.3~dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



# apt-get install php5-syck
Reading package lists... Done
Building dependency tree    
Reading state information... Done
E: Unable to locate package php5-syck

Ubuntu php5-syck package gone? 2013-08-19
I upgraded to Edgy from Dapper yesterday.. and some php5 software I've been working on no longer works. It looks like the 'php5-syck' package is no longer installed and isn't available in the repo's either. It used to be available in Dapper universe.

# apt-get install php5-gpib
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-gpib

# apt-get install php5-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php5-dev : Depends: libssl-dev but it is not going to be installed
            Depends: libtool (>= 2.2)
E: Unable to correct problems, you have held broken packages.


недоставило php5-snmp, php5-syck, php5-gpib, php5-dev


****************************
Debian
gmp  no module
readline  no module - Планировалось юзать но как то не срослось

apt-get install php5-gmp -установился

# apt-get install php5-readline
Reading package lists... Done
Building dependency tree    
Reading state information... Done
E: Unable to locate package php5-readline
**********************************


Комментарии

Популярные сообщения из этого блога

Accel-ppp команды

mikbill расшифровка завершений сессий

Zabbix agent установка и настройка