安装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 |

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

AI Hentai Generator
免費產生 AI 無盡。

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

熱門話題

電腦裡enable是指的是啟用或啟動某個功能或選項的意思,在電腦領域,enable通常用來描述在軟體或硬體中啟用某種功能或選項的過程。詳細介紹:1、在軟體方面,enable通常指的是在應用程式或作業系統中啟用某個功能;2、在硬體方面,enable通常指的是在電腦系統中啟用某個裝置或介面。

在Ubuntu系統上使用vsftpd搭建FTP伺服器,您可以依照下列步驟進行:安裝vsftpd:開啟終端,並執行下列指令安裝vsftpd:sudoaptupdatesudoaptinstallvsftpd設定vsftpd:使用文字編輯器(如nano或vi)開啟vsftpd的設定檔案:sudonano/etc/vsftpd.conf在設定檔中,您可以根據需要進行以下變更或新增:啟用匿名存取(如果需要):anonymous_enable=YES停用匿名上傳(如果需要):anon_upload

我們中的許多人在Python 程式碼中一遍又一遍地看到這個程式碼片段:with open('Hi.text', 'w') as f: f.write("Hello, there") 但是,我們中的有些人不知道with 有什麼用,以及為什麼我們需要在這裡使用它。在此閱讀中,您將找到關於 with 可解決的幾乎所有問題。讓我們開始吧!首先,讓我們考慮一下如果不使用 with 關鍵字我們需要做什麼。在這種情況下,我們需要先開啟檔案並嘗試執行 write。不管成功與否,我們最好在

相信很多C程式設計師都有這樣的疑問,如果一台伺服器有不同的gcc版本怎麼辦,它們之間會互相影響嗎?答案是會的,我們一般使用gcc編譯原始檔時,這個gcc是系統環境變數PATH中最開始找到的gcc。如果要交叉編譯不同系統的程式呢?這就需要多套的編譯工具鏈了,分別使用對應的工具鏈編譯目標系統的程式。預設路徑編譯器路徑:通常放置在/usr/bin目錄下。頭檔路徑:系統層級的頭檔通常放在/usr/include中,標準庫的頭檔一般在/usr/local/include。庫路徑:系統動態函式庫往往位於/u

Linux作業系統提供了多種環境變量,用於配置和管理系統行為。本文將介紹Linux中最常見的10個環境變量,並給出範例程式碼以及對應的解析。 1.PATHPATH環境變數決定係統尋找可執行檔的目錄。當終端機輸入指令時,系統會檢索在PATH變數中指定的目錄中的可執行檔。範例程式碼:echo$PATH輸出:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: /snap/bin解析

語句體(with-body):with語句包裹起來的程式碼區塊,在執行語句體之前會呼叫上下文管理器的enter()方法,執行完語句體之後會執行exit()方法。基本語法與運作方式with語句的語法格式如下: 清單1.with語句的語法格式withcontext_expression[astarget(s)]: with-body 這裡contextexpression要傳回一個上下文管理器對象,該物件並不賦值給as子句中的target(s),如果指定了as子句的話,會將上下文管

未來幾年,幹擾和重疊訊號可能會增加。畢竟,不僅僅是汽車越來越多地變成無線電控制中心,一方面監視周圍環境並希望交換大量數據
