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 rea
> 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.
> If this is where you go
> 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
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
В сообщении от Воскресенье 05 Декабрь 2004 15:58 it clown написал(a):
you must start ./configure with mysql enabled options
example from my configure
./configure --with-apxs2=/usr/sbin/apxs2 --with-mysql=/usr --with-mysql-socket
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
hi Clown,
php5 has a new set of functions for mysql, these are all named mysqli_*
instead of mysql_* - this has to do with the problems surrounding mysql
licensing (the work around was, I believe, to write a new set of
functions which were not tied to the mysql lic.)
anyway mysql_connect() won't
Hi All,
i have installed php5 and mysql on 9.1 and when i use php
to connect to mysql i get the following error:
Fatal error: Call to undefined function mysql_connect()
Why is this happening and how do i fix it?
My php script is correct i double checked.
Thanks
Regards