我原有的一台服务器,上面其实已经有 php+mysql+apache了
但是我想再装一套,于是装了apche 2。2。3 然后装了php5
mysql是原来就有的,没有新装,但是装完php不能连接mysql数据库
用 phpinfo()看的信息如下:
System SunOS jasmine 5.9 Generic_112233-06 sun4u
Build Date Dec 6 2006 09:03:29
Configure Command './configure' '--prefix=/usr/local/php5' '--with-apxs2=/usr/local/apache223/bin/apxs' '--with-mysql-dir=/usr/local/mysql' '--enable-track-vars' '--enable-mbstring=all' '--with-xml=/usr/local/libxml2'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php5/lib/php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*
请指教为什么 谢谢
作者: radarwave
发布时间: 2006-12-06