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: docs/installation.md
+25-8Lines changed: 25 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
## Requirements
5
5
6
6
### PHP 8.1
7
-
Phalcon v5.9 supports only PHP 8.1 and above.
7
+
Phalcon v5.11 supports only PHP 8.1 and above.
8
8
9
9
Although PHP 8.1 was released several years ago and it's [active support][php-support] as well as security updates have expired, Phalcon still supports it, in order to offer enough time for developers to upgrade their applications.
10
10
@@ -99,29 +99,45 @@ Since Phalcon is compiled as a PHP extension, its installation is somewhat diffe
99
99
100
100
!!! info "NOTE"
101
101
102
-
The preferred method of installation is through [PECL][install-pecl].
102
+
The preferred method of installation is through [PIE][install-pie].
103
103
104
104
!!! warning "WARNING"
105
105
106
-
To install phalcon with PECL you will need at least 4GB of RAM, otherwise the PECL build command will fail.
106
+
To install phalcon with PIE you will need at least 4GB of RAM, otherwise the PECL build command will fail.
107
107
108
108
!!! warning "WARNING"
109
109
110
110
For newer versions of Linux (for instance Debian 13) Phalcon might not compile. To resolve this issue you will need to issue the following command:
111
111
```
112
112
export CFLAGS="-Wno-incompatible-pointer-types"
113
-
sudo -E pecl install phalcon
113
+
sudo -E pie install phalcon
114
114
```
115
115
116
116
!!! warning "WARNING"
117
117
118
118
If you are trying to install Phalcon in Docker and you face the same issue as above, you can try:
119
119
```
120
120
ARG CFLAGS="-Wno-incompatible-pointer-types"
121
-
pecl install phalcon
121
+
pie install phalcon
122
+
```
123
+
124
+
### PIE
125
+
[PIE][install-pie] (PHP Installer for Extensions) is a modern installer for PHP extensions.
126
+
127
+
If `pie` is not installed on your system, install PIE first by following the official installation instructions.
128
+
129
+
Once PIE is available, install Phalcon with:
130
+
131
+
```bash
132
+
pie install phalcon
122
133
```
123
134
124
135
### PECL
136
+
137
+
!!! warning "WARNING"
138
+
139
+
PECL has been deprecated. Please consider installing Phalcon with PIE
140
+
125
141
The PECL installation method is available for Windows, Linux, and macOS. Under Windows pre-compiled dll files are available, while under Linux and macOS, Phalcon will be compiled locally. To install Phalcon using PECL make sure you have [pecl/pear][install-pecl] installed.
126
142
```
127
143
pecl channel-update pecl.php.net
@@ -182,7 +198,7 @@ An overlay for installing Phalcon can be found [here][gentoo-overlay]
182
198
sudo -s
183
199
git clone https://github.com/phalcon/cphalcon
184
200
cd cphalcon/
185
-
git checkout tags/v5.9.2 ./
201
+
git checkout tags/v5.11.0 ./
186
202
zephir fullclean
187
203
zephir build
188
204
```
@@ -321,7 +337,7 @@ Compile Phalcon
321
337
322
338
```bash
323
339
cd cphalcon/
324
-
git checkout tags/v5.9.2 ./
340
+
git checkout tags/v5.11.0 ./
325
341
zephir fullclean
326
342
zephir build
327
343
```
@@ -346,7 +362,7 @@ The instructions above will compile **and** install the module on your system. Y
346
362
347
363
```bash
348
364
cd cphalcon/
349
-
git checkout tags/v5.9.2 ./
365
+
git checkout tags/v5.11.0 ./
350
366
zephir fullclean
351
367
zephir compile
352
368
cd ext
@@ -404,5 +420,6 @@ The plesk control panel doesn't have Phalcon support, but you can find installat
Copy file name to clipboardExpand all lines: docs/upgrade.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,16 @@ We will outline the areas that you need to pay attention to and make necessary c
10
10
11
11
## Requirements
12
12
### PHP 8.1
13
-
Phalcon v5.9 supports only PHP 8.1 and above. PHP 8.1 [active support][php-support] has already expired, including security fixes. We will be supporting this version for a while longer, offering developers more time to upgrade their applications.
13
+
Phalcon v5.11 supports only PHP 8.1 and above. PHP 8.1 [active support][php-support] has already expired, including security fixes. We will be supporting this version for a while longer, offering developers more time to upgrade their applications.
14
14
15
15
Since Phalcon 4, we have been following the PHP releases and adjusting Phalcon accordingly to work with those releases.
0 commit comments