看板FreeBSD
标 题【问题】灌phpMyAdmin遇到的问题..
发信站新竹师院自由之城 (Sun Jul 11 12:43:41 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.NHCTC!free
我是用ports灌的..
系统是5.2R
以前都直接make ; make install clean就OK了..
不过几天才CVSup失败救不回来後..
就重灌...
可是灌phpMyAdmin时..
先是遇到他在安装php4时的问题..
> Configuring PEAR
> checking whether to install PEAR... yes
> configure: error:
>PEAR requires PCRE to be enabled. Add --with-pcre-regex to the configure line.
>PEAR requires XML to be enabled. Add --enable-xml to the configure line.
所以到php4下修改Makefile加入上面两个要求...
并顺利make install了 php4..
再来回到phpmyadmin也顺利的install了...
可是设定完config.ini.php
用IE开确得到了..下面的回应..
不能载入 MySQL 模组,
请检查 PHP 的组态设定
说明文件
说明文件里说..
To connect to a MySQL server, PHP needs a set of MySQL functions called
"MySQL extension". This extension may be part of the PHP server (compiled-in),
otherwise it needs to be loaded dynamically. Its name is probably mysql.so or
mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called
"PHP-MySQL" or something similar
去中山找php-mysql相关的pkg回来装...
但却因版本不合没法解决..
问了以前学校里的学长..
他说他直接抓pkg来用..没用ports装过..
於是我抓了几个版本下来...
可得到了一样的问题...
我猜应该是php方面的问题...
可我有把php的application加到http.conf..
所以我实在不知道怎麽决解这问题...
所以PO到这问各位大大们...
php4版本是 php-4.3.4.tar.bz
mysql是mysql-4.1.0-alpha.tar.gz
apache是1.3.29...
麻烦各位大大如果知道方法的请教一下...3Q
--
※ Post by cyk from Free.NHCTC.edu.tw ...
--
@ Origin: 自由之城 [Free.NHCTC.edu.tw(140.126.22.123)]