Skip to content

Commit 275ef70

Browse files
committed
added argument support for incompatible pointers
1 parent e45a056 commit 275ef70

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/installation.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,22 @@ Since Phalcon is compiled as a PHP extension, its installation is somewhat diffe
105105

106106
To install phalcon with PECL you will need at least 4GB of RAM, otherwise the PECL build command will fail.
107107

108+
!!! warning "NOTE"
109+
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+
```
112+
export CFLAGS="-Wno-incompatible-pointer-types"
113+
sudo -E pecl install phalcon
114+
```
115+
116+
!!! warning "NOTE"
117+
118+
If you are trying to install Phalcon in Docker and you face the same issue as above, you can try:
119+
```
120+
ARG CFLAGS="-Wno-incompatible-pointer-types"
121+
pecl install phalcon
122+
```
123+
108124
### PECL
109125
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.
110126
```

0 commit comments

Comments
 (0)