Skip to content

Commit 0e02dbd

Browse files
committed
Updated README.md [ci skip]
1 parent 7cb83c4 commit 0e02dbd

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff 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

2261
Zephir Parser is open source software licensed under the MIT License. See the LICENSE file for more

0 commit comments

Comments
 (0)