In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about the Linux installation PHP configuration parameters, the editor thinks it is very practical, so share it for you to do a reference, I hope you can get something after reading this article.
Linux installation PHP configuration parameters are: 1, "--prefix"; 2, "--with-config-file-path"; 3, "--with-MySQL"; 4, "--enable-safe-mode"; 5, "--enable-zip" and so on.
This article operating environment: linux5.9.8 system, PHP7.1 version, DELL G3 computer
Linux installation PHP configuration parameters
Install PHP under Linux, install it in source code, always need to configure a lot of parameters. The common configuration parameters are listed here and explained in detail in Chinese.
Give you some reference. / configure
-- prefix=/usr/local/PHP php installation directory-- with-apxs2=/usr/local/apache/bin/apxs--with-config-file-path=/usr/local/PHP/etc specified php.ini location-- with-MySQL=/usr/local/mysql mysql installation directory Support for mysql-- with-MySQLi=/usr/local/mysql/bin/mysql_config mysqli file directory Optimization support-- enable-safe-mode turns on safe mode-- enable-ftp opens support for ftp-- enable-zip opens support for zip-- with-bz2 Open support for bz2 files-- with-jpeg-dir open support for jpeg images-- with-png-dir type Enable support for png images-- with-freetype-dir turns on support for freetype font library-- without-iconv closes the iconv function Conversion between different character sets-- with-libXML-dir opens libxml2 library support-- with-XMLrpc opens xml-rpc 's c language-- with-zlib-dir type Open zlib library support-- with-gd open gd library support-- enable-gd-native-ttf support TrueType string function library-- with-curl open curl Support for browsing tools-- with-curlwrappers uses curl tool to open url stream-- with-ttf opens freetype1.* support Can not add-- with-xsl open XSLT file support, extended libXML2 library, need libxslt software-- with-gettext open gnu gettext support The coding library uses-- with-pear to open pear command support, PHP extension-- enable-calendar to open calendar extension function-- enable-mbstring multibyte String support-enable-bcmath opens image resizing This module is used when using zabbix monitoring-- enable-sockets opens sockets support-- metadata support for enable-exif images-- support for enable-magic-quotes magic references-- disable-rpath. Close additional runtime files-- disable-debug turn off debug mode-- location of with-mime-magic=/usr/share/file/magic.mime magic header files-- parameter used for CGI installation-- enable-fpm This parameter is available only after the PHP-fpm patch is applied. Startup program installed in CGI-enable-fastCGI supports starting PHP--enable-force-CGI-redirect in fastcgi mode as above There is no explanation in the help-- with-ncurses 's dynamic library that supports ncurses screen rendering and text-based terminal graphics interaction-- what enable-pcntl freeTDS needs. It is possible to link mssql to use the extension of mhash and mcrypt algorithm-- with-mcrypt algorithm-- with-mhash algorithm-- with-gmp--enable-inline-optimization--with-openssl openssl support. Encrypted transmission used-- enable-dbase--with-pcre-dir=/usr/local/bin/pcre-config perl regular library plan installation location-- disable-dmalloc--with-gdbm dba gdbm support-- enable-sigchild--enable-sysvsem--enable-sysvshm--enable-zend-multibyte Multi-byte supporting zend-- enable-mbregex--enable-wddx--enable-shmop--enable-soap
About "what are the Linux installation PHP configuration parameters" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 231
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.