File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,45 @@ Prerequisite packages are:
1717* GCC/Clang compiler (Linux/Solaris/FreeBSD) or Xcode (MacOS)
1818* [ ` re2c ` ] ( http://re2c.org/ ) >= 0.13
1919
20+ #### Ubuntu
21+
22+ ``` bash
23+ sudo apt-get install php7.0-dev gcc make re2c
24+ ```
25+
26+ #### Suse
27+
28+ ``` bash
29+ sudo zypper install php7.0-devel gcc make re2c
30+ ```
31+
32+ ### CentOS/Fedora/RHEL
33+
34+ ``` bash
35+ sudo yum install php-devel gcc make re2c
36+ ```
37+
38+ ## General Compilation
39+
40+ Follow these instructions to generate a binary extension for your platform:
41+
42+ ``` bash
43+ git clone git://github.com/phalcon/php-zephir-parser.git
44+ cd php-zephir-parser
45+ bash ./build-linux
46+
47+ make -j" $( getconf _NPROCESSORS_ONLN) "
48+ sudo make install
49+ ```
50+
51+ Add the extension to your php.ini:
52+
53+ ``` ini
54+ extension =zephir_parser.so
55+ ```
56+
57+ Finally, restart the web server.
58+
2059## License
2160
2261Zephir Parser is open source software licensed under the MIT License. See the LICENSE file for more
You can’t perform that action at this time.
0 commit comments