Closed aphofstede closed 3 years ago
It's part of the php source code. If you are using Linux you may need to install the php-dev
package first if you only want to compile the extension w/o php source code.
Ah I see, it does indeed say to cd
into the php source.
My script does:
# ^ ... copy libxl deps to /usr/lib/libxl and install libxml2-dev ...
phpize && pwd && ./configure --with-libxl-libdir=/usr/lib/libxl/lib64 --with-libxl-incdir=/usr/lib/libxl/include_c
export C_INCLUDE_PATH=/usr/include/libxml2:$C_INCLUDE_PATH
make && make install
This works, so phpize
seems to work as well. Any differences we should know about?
The docs say to run
./buildconf --force
when building for php7, but I seem to be missing something?