我的ubuntu上有apache2 web服务器.我需要安装pthreads,所以我从rep(copy到/ ext /)克隆了php7和pthreads的源代码.我为php安装了所有库,然后我跑了
./buildconf
Run Code Online (Sandbox Code Playgroud)
和
./configure --prefix =/usr --with-config-file-path =/etc --enable -bcmath --enable-calendar --enable-cli --enable-debug --enable-dba --enable- exif --enable-ftp --enable -gd-native-ttf --enable-mbregex --enable-mbstring --enable-pcntl --enable-shmop --enable-soap --enable-opcache --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --enable-zip --enable-maintainer-zts --with-freetype-dir =/usr/local/opt/freetype - with-openssl --with-gd --with-gettext =/usr/local/opt/gettext --with-iconv-dir =/usr --with-icu-dir =/usr --with-mhash --with -jpeg-dir =/usr/local/opt/jpeg --with-kerberos =/usr --with-libedit --with-mhash --with-png-dir =/usr/local/opt/libpng --with -zlib =/usr --with-apxs2 =/usr/bin/apxs--libexecdir =/usr/local/php7/7.0.0/libexec --with-bz2 =/usr --enable-fpm --with-fpm-user = _www --with-fpm-group = _www --with -curl --with-mysqli = mysqlnd --with-pdo-mysql = mysqlnd …