PHP(默认设置)配置文件:/usr/local/directadmin/custombuild/configure/fpm/configure.php70 2.转到路径: cd/usr/local/directadmin/custombuild/configure/fpm 3.复制粘贴备份文件: cpconfigure.php70configure.php70_ORG 4.编写configure.php70文档 5.将–with-xmlrpc\添加到配置文件中.
例如
#!/bin/sh ./configure\ --prefix=/usr/local/php55\ --program-suffix=55\ --enable-fpm\ --with-config-file-scan-dir=/usr/local/php55/lib/php.conf.d\ --with-curl=/usr/local/lib\ --with-gd\ --enable-gd-native-ttf\ --with-gettext\ --with-jpeg-dir=/usr/local/lib\ --with-freetype-dir=/usr/local/lib\ --with-libxml-dir=/usr/local/lib\ --with-kerberos\ --with-openssl\ --with-mcrypt\ --with-mhash\ --with-mysql=mysqlnd\ --with-mysql-sock=/var/lib/mysql/mysql.sock\ --with-mysqli=mysqlnd\ --with-pcre-regex=/usr/local\ --with-pdo-mysql=mysqlnd\ --with-pear\ --with-png-dir=/usr/local/lib\ --with-xsl\ --with-zlib\ --with-zlib-dir=/usr/local/lib\ --with-xmlrpc\ --enable-zip\ --with-iconv=/usr/local\ --enable-bcmath\ --enable-calendar\ --enable-ftp\ --enable-sockets\ --enable-soap\ --enable-mbstring\ --with-icu-dir=/usr/local/icu\ --enable-intl注:
假如要在配置文件中间添加模块,请添加\。殊不知,假如您在配备结尾处添加模块,则不用\. 6.进行变更后,请转到下列路径– cd/usr/local/directadmin/custombuild 7.实行下列命令 ./buildphpn模块刚开始编译安装。
8.进行后您能够根据运作命令开展查验 php-m|grepxmlrpc欢迎分享,转载请注明来源:内存溢出
评论列表(0条)