安装LAMP PHP的./configure 参数,未出现MYSQ
编译参数:
./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 \ --with-freetype-dir \ --with-curl \ --without-pdo-sqlite \ --without-sqlite3
执行后的phpinfo():,很奇怪的是很多--without(--without-mysql),但我明明写了with的。
System | Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 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 |

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



In computers, enable refers to enabling or activating a certain function or option. In the computer field, enable is usually used to describe the process of enabling a certain function or option in software or hardware. Detailed introduction: 1. In terms of software, enable usually refers to enabling a certain function in an application or operating system; 2. In terms of hardware, enable usually refers to enabling a certain device or interface in a computer system.

To use vsftpd to build an FTP server on an Ubuntu system, you can follow the steps below: Install vsftpd: Open a terminal and execute the following command to install vsftpd: sudoaptupdatesudoaptinstallvsftpd Configure vsftpd: Use a text editor (such as nano or vi) to open the configuration of vsftpd File: sudonano/etc/vsftpd.conf In the configuration file you can make the following changes or add as needed: Enable anonymous access (if needed): anonymous_enable=YES Disable anonymous upload (if needed): anon_upload

Many of us have seen this snippet over and over again in Python code: with open('Hi.text', 'w') as f: f.write("Hello, there") However, some of us Some people don't know what with is used for and why we need to use it here. In this read, you'll find out about almost any problem that can be solved with. let's start! First, let's consider what we need to do without using the with keyword. In this case we need to open the file first and try to write. Regardless of success or failure, we'd better be

I believe many C programmers have had this question, what if a server has different gcc versions? Will they affect each other? The answer is yes. When we generally use gcc to compile source files, this gcc is the first gcc found in the system environment variable PATH. What if you want to cross-compile programs for different systems? This requires multiple sets of compilation tool chains, and the corresponding tool chains are used to compile the programs of the target system. Default path compiler path: usually placed in the /usr/bin directory. Header file path: System-level header files are usually placed in /usr/include, and standard library header files are generally placed in /usr/local/include. Library path: System dynamic libraries are often located in /u

The Linux operating system provides a variety of environment variables for configuring and managing system behavior. This article will introduce the 10 most common environment variables in Linux, and give sample code and corresponding analysis. 1. The PATHPATH environment variable determines the directory where the system searches for executable files. When you enter a command in the terminal, the system retrieves the executable file in the directory specified in the PATH variable. Sample code: echo$PATH output:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: /snap/bin parsing

Statement body (with-body): The code block wrapped in the with statement will call the enter() method of the context manager before executing the statement body, and the exit() method will be executed after the statement body is executed. Basic syntax and working principle The syntax format of the with statement is as follows: Listing 1. The syntax format of the with statement withcontext_expression[astarget(s)]: with-body Here contextexpression returns a context manager object, which is not assigned to the as clause. target(s) in, if the as clause is specified, the context will be managed

Interference and overlapping signals are likely to increase in the coming years. After all, it is not just cars that are increasingly turning into radio control centers that monitor their surroundings on the one hand and want to exchange large amount

Solarcellsbasedonperovskiteinparticularareagoodexamplethatillustratestheopportunitiesofferedbythenew,computer-aidedtechnology.Themineralpromisesanoutstandingelectricityyield,whichwouldbewellover30percentinamulti-layer
