PHP

5.4

$ apt-get install php5 php5-fpm dh-php5 php5-cgi php5-cli php5-common php5-curl php5-dev php5-gd php5-geoip php5-intl php5-json php5-mcrypt php5-memcache php5-memcached php5-mongo php5-mysql php5-readline php5-redis php5-sqlite php5-ssh2 php5-xcache php5-xsl

7.0

$ apt install php7.0 php7.0-fpm php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-sqlite3 php7.0-xml php7.0-xsl php7.0-xdebug

7.1

$ apt install php7.1 php7.1-fpm php7.1-common php7.1-curl php7.1-gd php7.1-intl php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-opcache php7.1-sqlite3 php7.1-xml php7.1-xsl php7.1-xdebug
$ apt install $(dpkg --get-selections | grep -v "deinstall" |grep php7.0| cut -f1 | tr '\n' ' '| tr '7.0' '7.1')
$ apt install autoconf automake libtool m4 php7.1-dev
$ pear config-set php_suffix 7.1
$ pecl install event
  • @var tag
  • @return
  • @property type (string, integer)
  • @see tag
  • @inheritdoc
  • @author
  • @since

PHP inline

  • php -r 'echo md5("123");' - запуск с shell строки

WEB crawling library for PHP / Парсеры PHP

REST Клиенты

Node Socket

Видеоуроки