求助关于php4-extensions添加不了MYSQL支持的问题。

求助关于php4-extensions添加不了MYSQL支持的问题。

平台freebsd amd 64
mysql 4.1+apache2.0+php4


为什么php4-extensions就是添加不了MYSQL呢?

重新装了好几遍了,

每次重装都是
make deinstall
make clean
make rmconfig
rm etc/php.ini
rm -f etc/php

最后没办法,在php/extensions.ini里加了extension=mysql.so,还是不行。

在安装过程中也看到提示:
===>   php4-extensions-1.0 depends on file: /usr/local/lib/php/20020429/mysql.so - found

最后无论是从PHPINFO看,还是运行PHP程序均为无MYSQL支持。

郁闷几天了。
没人帮俺?再顶起来,等大虾!
帮不了你 但可以帮你顶下
cd /usr/ports/databases/php4-mysql
make install clean
apahe的httpd-error.log里面提示什么?


QUOTE:
原帖由 HonestQiao 于 2007-6-22 11:47 发表
apahe的httpd-error.log里面提示什么?

除了一些文件不存在外,我认为有价值的就是下面这个了,这个错误占90%以上。

[Fri Jun 22 12:05:35 2007] [error] [client 61.135.166.234] script '/www/archiver/index.php' not found or unable to stat
帮你 顶啊


QUOTE:
原帖由 suek 于 2007-6-22 10:32 发表
cd /usr/ports/databases/php4-mysql
make install clean

cd /usr/ports/databases/php4-mysql
make deinstall
make clean
make rmconfig
make install clean
遇到错误
===>  Installing for mysql-client-4.1.22
===>   Generating temporary packing list
===>  Checking if databases/mysql41-client already installed
===>   mysql-client-4.1.22 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of databases/mysql41-client
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/databases/mysql41-client.
*** Error code 1

Stop in /usr/ports/databases/php4-mysql.

cd /usr/ports/databases/mysql41-client
make deinstall clean
cd /usr/ports/databases/php4-mysql
make install clean

还是有错误。