Home php教程 php手册 安装LAMP PHP的./configure 参数,未出现MYSQ

安装LAMP PHP的./configure 参数,未出现MYSQ

Jun 21, 2016 am 08:47 AM
enable usr with

编译参数:

./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 
Copy after login

执行后的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




Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What does enable mean in computer What does enable mean in computer Aug 30, 2023 pm 01:55 PM

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.

Ubuntu system uses vsftpd to build FTP server. Ubuntu system uses vsftpd to build FTP server. Feb 18, 2024 pm 05:50 PM

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

Demystifying the with keyword in Python Demystifying the with keyword in Python Apr 14, 2023 am 11:31 AM

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

How to cross-compile executable programs of different systems on ubuntu server? How to cross-compile executable programs of different systems on ubuntu server? Mar 06, 2024 pm 01:34 PM

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 ten most commonly used environment variables in Linux The ten most commonly used environment variables in Linux Feb 19, 2024 pm 04:00 PM

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

How to use Python's with statement How to use Python's with statement May 25, 2023 pm 05:22 PM

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

Chip developed that receives 5G and future 6G four times better Chip developed that receives 5G and future 6G four times better Jul 02, 2024 am 07:09 AM

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

Better solar cells, transparent technology and more Better solar cells, transparent technology and more Jun 14, 2024 pm 09:12 PM

Solarcellsbasedonperovskiteinparticularareagoodexamplethatillustratestheopportunitiesofferedbythenew,computer-aidedtechnology.Themineralpromisesanoutstandingelectricityyield,whichwouldbewellover30percentinamulti-layer

See all articles