./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--enable-fpm--enable-pcntl-- Enable-mysqlnd--enable-opcache--enable-sockets--enable-sysvmsg--enable-sysvsem--enable-sysvshm--enable-shmop-- Enable-zip--enable-ftp--enable-soap--enable-xml--enable-mbstring--disable-rpath--disable-debug-- Disable-fileinfo--with-mysql--with-mysqli--with-pdo-mysql--with-pcre-regex--with-iconv--with-zlib--with-mcrypt --WITH-GD--with-openssl--with-mhash--with-xmlrpc--with-curl--with-imap-ssl
This is an order, online said this parameter is the MySQL installation directory, must first install MySQL?
Reply content:
./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--enable-fpm--enable-pcntl-- Enable-mysqlnd--enable-opcache--enable-sockets--enable-sysvmsg--enable-sysvsem--enable-sysvshm--enable-shmop-- Enable-zip--enable-ftp--enable-soap--enable-xml--enable-mbstring--disable-rpath--disable-debug-- Disable-fileinfo--with-mysql--with-mysqli--with-pdo-mysql--with-pcre-regex--with-iconv--with-zlib--with-mcrypt --WITH-GD--with-openssl--with-mhash--with-xmlrpc--with-curl--with-imap-ssl
This is an order, online said this parameter is the MySQL installation directory, must first install MySQL?
This parameter is an deprecated parameter and should be discarded, and subsequent versions will remove the compilation option.
Please use--with-pdo--with-pdo-mysql--with-mysqlnd instead.
Oh, add, this parameter is used to provide MySQL database operation extension, without these can not connect MySQL database, because you ask this question, generally need to do the website, definitely to open.
No need to install MySQL, but need to install MySQL library! The compilation needs to rely on its header files and some link libraries.
You can choose not to install, but if you need to use a MySQL link, you will have to configure it later
How you do not consider is with MySQL can not install, first install PHP, in the configuration of MySQL will be more troublesome