Home > Backend Development > PHP Tutorial > PHP 的源代码编译安装怎么没有官方的文档?

PHP 的源代码编译安装怎么没有官方的文档?

WBOY
Release: 2016-06-06 20:38:46
Original
1016 people have browsed it

我编译PHP源码的时候都是看别人的博客。感觉这样不太放心。请问有这样的官方文档吗??

回复内容:

我编译PHP源码的时候都是看别人的博客。感觉这样不太放心。请问有这样的官方文档吗??

http://php.net/manual/en/install.php

大型开源项目基本上都会随源码分发各种文档,安装文档一般就叫INSTALL PHP也不例外

http://git.php.net/?p=php-src.git;a=blob_plain;f=INSTALL;hb=HEAD

./configure可以看到参数啊
很多编译都是这样的

这是我的编译参数, 在centos , opensuse , ubuntu等可以通过

./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

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template