Hello,
I've got cobalt raq4 with php(work) and mysql(work) but when I try to
connect via mysql_connect() this error happens:
Fatal error: Call to undefined function: mysql_connect()
This is my php.ini:
[MySQL]
mysql.allow_persistent = On ; allow or prevent persistent link
mysql.max_persistent = -1 ; maximum number of persistent
links. -1 means no limit
mysql.max_links = -1 ; maximum number of links
(persistent+non persistent). -1 means no
mysql.default_port = ; default port number for
mysql_connect(). If unset,
;
mysql_connect() will use the $MYSQL_TCP_PORT, or
; entry in
/etc/services, or the compile-time defin
; (in that
order). Win32 will only look at MYSQL_P
mysql.default_host = ; default host for
mysql_connect() (doesn't apply in safe mode)
mysql.default_user = ; default user for
mysql_connect() (doesn't apply in safe mode)
mysql.default_password = ; default password for
mysql_connect() (doesn't apply in safe mode)
; Note that
this is generally a *bad* idea to store
; in this
file. *Any* user with PHP access can run
; 'echo
cfg_get_var("mysql.default_password")' and
; password!
And of course, any users with read acc
; file will
be able to reveal the password as well.
And this is my httpd.conf:
# Extra Modules
#LoadModule php_module
#LoadModule php3_modul
LoadModule php4_module
# because mod_perl lea
#LoadModule perl_modul
# make sure that this
LoadModule ssl_module
# Reconstruction of t
# (static and shared
# [WHENEVER YOU CHANG
#ClearModuleList
# Extra Modules
AddModule mod_php4.c
#AddModule mod_php.c
#AddModule mod_php3.c
#AddModule mod_perl.c
#AddModule mod_casp2.c
I thing that it's all ok but it doesn't work.
Any Ideas?????
Hi
--------------------------------------------
- Moreno Riccardi
--------------------------------------------
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]