Re: [PHP-DB] php5 and mysql_connect

2004-12-06 Thread Jason Wong
On Monday 06 December 2004 22:46, Norland, Martin wrote: No, PHP5 does indeed have some new (and different) functions for mysql, but it supports (properly, nothing old about it) the normal mysql functions as well. The change for PHP5 is that it no longer enables mysql functions by default

RE: [PHP-DB] php5 and mysql_connect

2004-12-06 Thread Norland, Martin
anyway mysql_connect() won't work in php5 - although I do believe it's possible to compile in the 'old' mysql lib yourself. No, PHP5 does indeed have some new (and different) functions for mysql, but it supports (properly, nothing old about it) the normal mysql functions as well. The change

RE: [PHP-DB] php5 and mysql_connect

2004-12-06 Thread Norland, Martin
AFAIK no version of PHP ever did compile with mysql by default. You *had* to use --with-mysql if you wanted mysql support. The choice was whether to use the bundled library (the default if you didn't specify a directory with --with-mysql) or some other library. snip If this is where you

Re: [PHP-DB] php5 and mysql_connect

2004-12-06 Thread Jason Wong
On Monday 06 December 2004 23:54, Norland, Martin wrote: Sorry this got a little toasty, but it sure felt like a blind attack, since the most cursory of checks revealed my statements true. I'm sorry if you felt that that was an attack. Your honour, in my defence, I confess that I haven't

Re: [PHP-DB] php5 and mysql_connect

2004-12-05 Thread it clown
Hi Sorry i ment i am running php5 on suse 9.1.When i run php -m i receive: [PHP Modules] ctype dom iconv libxml pcre posix session SimpleXML SPL SQLite standard tokenizer xml How do i load mysql under the modules?Is this why mysql_connect is not working? Regards On Sun, 05 Dec 2004 13:50:39