You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+18-10Lines changed: 18 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
These are a set of bash scripts for building and running PHP 7 (CLI and FPM) on Debian based Linux distributions:
4
4
5
5
-`build.sh` installs the necessary build dependencies and the latest development version of PHP with CLI and FPM server APIs (SAPI) from the latest PHP 7 branch of https://github.com/php/php-src
6
-
6
+
7
7
-`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.
8
8
9
9
Please note that these are very simple scripts that don't implement error checking or process validation.
@@ -25,17 +25,18 @@ while the FPM socket is available at
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
34
34
35
+
35
36
## Configuration files
36
37
37
38
All PHP configuration files are stored under `/usr/local/php7`:
38
-
39
+
39
40
/usr/local/php7/lib/php.ini
40
41
/usr/local/php7/etc/php-fpm.conf
41
42
/usr/local/php7/etc/php-fpm.d/www.conf
@@ -45,6 +46,7 @@ while the Debian init script is added to:
45
46
46
47
/etc/init.d/php7-fpm
47
48
49
+
48
50
## Extensions
49
51
50
52
Note that most of the third-party PHP extensions are [not yet compatible with PHP 7](https://github.com/gophp7/gophp7-ext/wiki/extensions-catalog) and [GoPHP7-ext](http://gophp7.org/) (also on [GitHub](https://github.com/gophp7/gophp7-ext)) is a project to help do that. Here is a list of PHP modules that are enabled by default in this build:
@@ -110,20 +112,26 @@ Note that most of the third-party PHP extensions are [not yet compatible with PH
110
112
[Zend Modules]
111
113
Zend OPcache
112
114
113
-
## Installing Memcached Extension
114
115
115
-
$ cd php-7-debian/extensions
116
+
## Installing Extensions
117
+
118
+
Please note that you need to restart `php7-fpm` to activate the extension.
- Based on [`php7.sh`](https://gist.github.com/tvlooy/953a7c0658e70b573ab4) by [Tom Van Looy](http://www.intracto.com/nl/blog/running-symfony2-on-php7)
137
+
- Based on [`php7.sh`](https://gist.github.com/tvlooy/953a7c0658e70b573ab4) by [Tom Van Looy](http://www.intracto.com/nl/blog/running-symfony2-on-php7)
0 commit comments