|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-07-19 15:56 UTC] pgodel at gmail dot com
Description: ------------ Trying to compile the readline extension standalone. cd etx/readline phpize ./configure make It fails with: php-5.4.4/ext/readline/readline_cli.c:64:26: fatal error: sapi/cli/cli.h: No such file or directory If I make a symlink to the sapi directory, the compilation works: ln -s ../../sap make PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 14:00:01 2025 UTC |
This is the main PHP configure line: ./configure --with-apxs2=/usr/bin/apxs2 \ --prefix=/usr/local/php54 \ --with-config-file-scan-dir=/etc/php54/conf.d \ --enable-bcmath --enable-ctype --enable-exif --enable-mbstring -- enable-ftp --enable-intl --enable-sockets --enable-sysvmsg --enable-pcntl -- with-bz2 --with-curl --with-gettext --with-gd --enable-gd-native-ttf --enable- exif --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-t1lib=/usr --with- mcrypt --with-openssl --with-kerberos --with-iconv --with-xsl --with-xmlrpc -- with-zlib --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd \ And the when compiling the readline extension I just run: ./configure # from ext/readline