Chinaunix
标题:
PHP请助--请高人指点
[打印本页]
作者:
joy_xie
时间:
2006-01-27 09:22
标题:
PHP请助--请高人指点
我在打开PHP网页的时候有如下告错。
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 357
在网上查到如下:
Try this....
In your php.ini:
[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On
This will set to 'on' for mysql.allow_persistent, ok but is mysql
enabled.
And what about your configuration Command..
is your configure command looks something like that ?
'./configure' '--with-
mysql=/usr/local/mysql' ............................................
If you don't have --with-mysql it means that you cannot use mysql
functions, so compil again PHP
with this option.
##########################################
可我是个初级菜鸟,请高人指点一下,如何重新编译PHP ?
我的是Redhat 9.安装时自带的PHP。请有耐心的高手们多多指导。多谢谢。
祝大家新年愉快。
作者:
joy_xie
时间:
2006-01-27 09:31
标题:
请高人回复呀。
谢谢,自已顶!
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2