i installed some days ago the RedHat 7.1 with apache and the php4, since
that i have donne nothing in my system, tham i installed the mysql wich
works fine, i installed the php-mysql rpm packege, my php is version
4.0.4 and the packeg is for version 4.0.1, i dont know if is it but the
php and the mysql works fine .
the php was installed with the --without-mysql option and naw i'd like
to take this option off, what do i got to do to the php access the mysql
in my machine?

i saw the php.ini, the my.conf and the http.conf, i search in a 1000
tutorials but nothing works til now.

i belief that the mysql are not configured to serv tcp/ip connections,
haw can i set it up?

in the php.ini:
extension=mysql ; uncomented.

no apache temos
LoadModule php_module modules/php.so ;uncomented
LoadModule php3_module modules/libphp3.so ;uncomented
LoadModule php4_module modules/libphp4.so ;uncomented
AddModule mod_php.c ;uncomented
AddModule mod_php3.c ;uncomented
AddModule mod_php4.c ;uncomented

PS: in the apache i didnt change anithing, in fact i am using the apache
config of the redhat 7.1

when i use mysqladmin version he says:
server version: 3.23.36
protocol version: 10
connection: localhost via Unix socket
Unix socket: /var/lib/mysql/mysql.sock

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to