Install lamp PHP./configure parameter, mysq_php tutorial not appearing

Source: Internet
Author: User
Compile parameters:

./configure \--prefix=/usr/local/php5 \--with-apxs2=/usr/local/apache2/bin/apxs \--enable-shared \-- With-libxml-dir \--with-gd \--with-openssl \--enable-mbstring  \--with-mcrypt  \--with-mysqli  \-- With-mysql \--enable-opcache  \--enable-mysqlnd \--enable-zip \--with-zlib-dir \--with-pdo-mysql \-- With-jpeg-dir  

After the execution of the Phpinfo ():, very strange is a lot of--without (--without-mysql), but I clearly wrote with the.

System Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 03:15:09 UTC x86_64
Build Date Dec 11 2013 03:30:35
Configure Command './configure '--build=x86_64-redhat-linux-gnu '--host=x86_64-redhat-linux-gnu '--target=x86_64- Redhat-linux-gnu '--program-prefix= '--prefix=/usr '--exec-prefix=/usr '--bindir=/usr/bin '--sbindir=/usr/ Sbin '--sysconfdir=/etc '--datadir=/usr/share '--includedir=/usr/include '--libdir=/usr/lib64 '--libexecdir=/ Usr/libexec '--localstatedir=/var '--sharedstatedir=/var/lib '--mandir=/usr/share/man '--infodir=/usr/share/ Info '--cache-file=. /config.cache '--with-libdir=lib64 '--with-config-file-path=/etc '--with-config-file-scan-dir=/etc/php.d '-- Disable-debug '--with-pic '--disable-rpath '--without-pear '--with-bz2 '--with-exec-dir=/usr/bin '-- With-freetype-dir=/usr '--with-png-dir=/usr '--with-xpm-dir=/usr '--enable-gd-native-ttf '--without-gdbm '-- With-gettext '--with-gmp '--with-iconv '--with-jpeg-dir=/usr '--with-openssl '--with-pcre-regex=/usr '-- With-zlib '--with-layout=gnu '--enable-exif '--enable-ftp '--enable-magic-quotes '--enable-socketS '--enable-sysvsem '--enable-sysvshm '--enable-sysvmsg '--with-kerberos '--enable-ucd-snmp-hack '-- Enable-shmop '--enable-calendar '--without-sqlite '--with-libxml-dir=/usr '--enable-xml '--with-system-tzdata ' '--with-apxs2=/usr/sbin/apxs '--without-mysql '--without-gd '--disable-dom '--disable-dba '--without-unixODBC ' '--disable-pdo '--disable-xmlreader '--disable-xmlwriter '--without-sqlite3 '--disable-phar '-- Disable-fileinfo '--disable-json '--without-pspell '--disable-wddx '--without-curl '--disable-posix '-- Disable-sysvmsg '--disable-sysvshm '--disable-sysvsem '
Server API Apache 2.0 Handler
Virtual Directory Support Disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini


http://www.bkjia.com/PHPjc/802111.html www.bkjia.com true http://www.bkjia.com/PHPjc/802111.html techarticle compilation parameters:./configure \--prefix=/usr/local/php5 \--with-apxs2=/usr/local/apache2/bin/apxs \--enable-shared \-- With-libxml-dir \--with-gd \--with-openssl \--enable-mbstring \-...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.