When I compile the PHP source code, I read other people's blogs. I don't feel at ease. Is there such an official document ?? When I compile the PHP source code, I read other people's blogs. I don't feel at ease. Is there such an official document ??
Reply content:
When I compile the PHP source code, I read other people's blogs. I don't feel at ease. Is there such an official document ??
Http://php.net/manual/en/install.php
Large Open-Source Projects basically distribute various documents with the source code. The installation documents are generally calledINSTALL
PHP is no exception
Http://git.php.net /? P = php-src.git; a = blob_plain; f = INSTALL; hb = HEAD
./Configure. You can see the parameters.
This is the case for many compilations.
This is my compilation parameter. In centos, opensuse, ubuntu, and so on, you can use
./Configure \
-- Prefix =/opt/php-5.5.8 \
-- With-config-file-path =/opt/php-5.5.8/etc \
-- With-config-file-scan-dir =/opt/php-5.5.8/etc/php. d \
-- With-MySQL =/opt/mysql-5.6.16 \
-- With-mysqli =/opt/mysql-5.6.16/bin/mysql_config \
-- With-pdo-mysql =/opt/mysql-5.6.16 \
-- With-curl \
-- With-freetype-dir \
-- With-gd \
-- With-gettext \
-- With-iconv-dir =/opt/libiconv-1.14 \
-- With-jpeg-dir \
-- With-kerberos \
-- With-ldap \
-- With-ldap-sasl \
-- With-libdir = lib64 \
-- With-libxml-dir \
-- With-mcrypt \
-- With-mhash \
-- With-openssl \
-- With-pcre-regex \
-- With-pear \
-- With-png-dir \
-- With-xmlrpc \
-- With-xsl \
-- With-zlib \
-- Enable-fpm \
-- Enable-bcmath \
-- Enable-libxml \
-- Enable-inline-optimization \
-- Enable-gd-native-ttf \
-- Enable-mbregex \
-- Enable-mbstring \
-- Enable-opcache \
-- Enable-pcntl \
-- Enable-shmop \
-- Enable-soap \
-- Enable-sockets \
-- Enable-sysvsem \
-- Enable-xml \
-- Enable-zip \
-- Enable-exif \
-- Disable-rpath