手動安裝php的問題! - Linux

Table of Contents

最近遇到一堆怪事= =

第一次用手動安裝,先用tar把socure code解壓,然後用./configure跟make;

make install來安裝。

第一次裝mysql+apache+php+zend,中間遇到的錯誤問題,一一解決後,完全正常,

phpinfo.php可跑,zend下面該出現的資訊也有,phpMyAdmin也正常。

然後整個砍掉,再重新安裝一次,完完全全的照著步驟,前面mysql+apache沒問題。

到了php,發現我的php-mysql沒有起來,mysqli也沒有起來= =

以下是我php的./configuref後面接的,煩請達人們看有沒有哪有問題?

./configure --with-apxs2=/usr/local/apache2/bin/apxs
--enable-magic-quotes --enable-ftp --enable-mbstring
--with-mysql=/usr/local/mysql --enable-sockets --with-iconv
--with-gd --with-mime-magic --enable-zip --with-pdo-mysql=/usr/local/mysql
--with-ttf=/usr/lib --with-freetype-dir=/usr/lib --with-ldap --with-ldap-sasl

請達人們解惑,小弟先謝過了,一早就發了兩個問題,真不好意思!





--

All Comments

Zenobia avatarZenobia2009-03-24
換yum看看??雖然我這週在小考沒時間試...
Freda avatarFreda2009-03-24
多謝回應,這個問題我找出來了= ="
Gilbert avatarGilbert2009-03-27
原來是我RPM沒有移除完全,導致phpinfo抓到rpm裝的!