All Projects → kasparsd → Php 7 Debian

kasparsd / Php 7 Debian

Install PHP 7 on Debian/Ubuntu

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Php 7 Debian

Wordops
Install and manage a high performance WordPress stack with a few keystrokes
Stars: ✭ 649 (+79.78%)
Mutual labels:  cli, ubuntu, debian
Btfs
A bittorrent filesystem based on FUSE.
Stars: ✭ 2,984 (+726.59%)
Mutual labels:  ubuntu, debian
Vim Lastplace
Intelligently reopen files at your last edit position in Vim.
Stars: ✭ 271 (-24.93%)
Mutual labels:  ubuntu, debian
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (-16.07%)
Mutual labels:  ubuntu, debian
Qtodotxt
Cross Platform todo.txt GUI
Stars: ✭ 358 (-0.83%)
Mutual labels:  ubuntu, debian
Howtopopbuntu
Tweaks for Debian & Ubuntu based Distro.
Stars: ✭ 267 (-26.04%)
Mutual labels:  ubuntu, debian
Quickbox Lite
Lightweigt QuickBox
Stars: ✭ 298 (-17.45%)
Mutual labels:  ubuntu, debian
airgeddon deb packages
Useful related to airgeddon packages for Debian based Linux distributions
Stars: ✭ 22 (-93.91%)
Mutual labels:  debian, ubuntu
Slickstack
SlickStack is a free LEMP stack automation script written in Bash designed to enhance and simplify WordPress provisioning, performance, and security.
Stars: ✭ 311 (-13.85%)
Mutual labels:  ubuntu, debian
Wordpress Nginx
WordPress specific Nginx configuration templates and best practices!
Stars: ✭ 332 (-8.03%)
Mutual labels:  ubuntu, debian
Negibox
All in one downloader 全能下载器
Stars: ✭ 335 (-7.2%)
Mutual labels:  ubuntu, debian
zfs-installer
Shell script program that prepares ZFS on a system, and installs Linux
Stars: ✭ 137 (-62.05%)
Mutual labels:  debian, ubuntu
notion-linux
Native Notion packages for Linux
Stars: ✭ 887 (+145.71%)
Mutual labels:  debian, ubuntu
Polybar Themes
A huge collection of polybar themes with different styles, colors and variants.
Stars: ✭ 3,687 (+921.33%)
Mutual labels:  ubuntu, debian
kakaotalk-env
KakaoTalk Environment on Debian / Ubuntu Linux (데비안, 우분투 리눅스에서 카카오톡 설치 및 사용하기)
Stars: ✭ 45 (-87.53%)
Mutual labels:  debian, ubuntu
Debian Packaging For The Modern Developer
Debian packaging tutorials for the modern developer
Stars: ✭ 284 (-21.33%)
Mutual labels:  ubuntu, debian
Ansible Role Firewall
Ansible Role - iptables Firewall configuration.
Stars: ✭ 343 (-4.99%)
Mutual labels:  ubuntu, debian
ansible-role-daemonize
Ansible Role - Daemonize.
Stars: ✭ 14 (-96.12%)
Mutual labels:  debian, ubuntu
darknet.py
darknet.py is a network application with no dependencies other than Python and Tor, useful to anonymize the traffic of linux servers and workstations.
Stars: ✭ 71 (-80.33%)
Mutual labels:  debian, ubuntu
Battery Wallpaper
Simple bash script to set wallpaper according to battery percentage with charging animations.
Stars: ✭ 314 (-13.02%)
Mutual labels:  ubuntu, debian

Install PHP 7 on Debian/Ubuntu

These are a set of bash scripts for building and running PHP 7 (CLI and FPM) on Debian based Linux distributions:

  • build.sh installs the necessary build dependencies and the latest stable version of PHP with CLI and FPM server APIs (SAPI) from the latest PHP 7 branch of https://github.com/php/php-src.

  • install.sh sets up PHP-FPM by moving configuration files into their correct locations in /usr/local/php7 and enables the php7-fpm service and adds it to the startup sequence.

Please note that these are very simple scripts that don't implement error checking or process validation.

Building PHP 7 on Orange Pi Zero (ARM)

Usage

$ git clone https://github.com/kasparsd/php-7-debian.git
$ cd php-7-debian
$ ./build.sh
$ sudo ./install.sh

On systems with little amount of RAM such as Raspberry Pi you might want to decrease the number of parallel make jobs by passing the JOB_COUNT variable:

$ JOB_COUNT=1 ./build.sh

The default job count is equal to the number of CPU cores.

The PHP-FPM can be operated using the php7-fpm init script:

Usage: /etc/init.d/php7-fpm {start|stop|status|restart|reload|force-reload}

while the FPM socket is available at

127.0.0.1:9007

and PHP CLI at /usr/local/php7/bin/php.

Updating

Pull down the latest changes from this repository git pull and run ./build.sh.

Configuration files

All PHP configuration files are stored under /usr/local/php7:

/usr/local/php7/lib/php.ini
/usr/local/php7/etc/php-fpm.conf
/usr/local/php7/etc/php-fpm.d/www.conf
/usr/local/php7/etc/conf.d/modules.ini

while the Debian init script is added to:

/etc/init.d/php7-fpm

Extensions

Here is a list of PHP modules that are enabled by default in this build:

$ /usr/local/php7/bin/php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Installing Extensions

Please note that you need to restart php7-fpm to activate the extension.

Install the Memcached Extension

$ cd php-7-debian/extensions
$ ./memcached-build.sh
$ ./memcached-install.sh

Install the Imagick Extension

$ cd php-7-debian/extensions
$ ./imagick-build.sh
$ ./imagick-install.sh

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].