When i run:

php -m
[PHP Modules]
ctype
dom
iconv
libxml
pcre
posix
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml

[Zend Modules]

i dont see mysql.


On Sun, 05 Dec 2004 14:36:11 +0200
 "it clown" <[EMAIL PROTECTED]> wrote:
> I get the following error when running:
> 
> ./configure --with-apxs2=/usr/sbin/apxs2
> --with-mysql=/usr/local/mysql
> 
> 
> configure: error: Cannot find MySQL header files under
> /usr/local/mysql.
> Note that the MySQL client library is not bundled
> anymore.
> 
> 
> Where will i find the header files.
> 
> whereis mysql
> mysql: /usr/bin/mysql /usr/lib/mysql /usr/share/mysql
> /usr/share/man/man1/mysql.1.gz
> 
> 
> 
> On Sun, 5 Dec 2004 04:13:56 -0800 (PST)
>  Caitlin <[EMAIL PROTECTED]> wrote:
> > Hi.
> > 
> > As of version 5, the PHP developers are no longer
> > bundling MySQL with
> > the distribution. 
> > 
> > If you execute the following program:
> > 
> > <?php
> >  echo phpinfo();
> > ?>
> > 
> > You shouldn't see MySQL mentioned or if you do, the
> > 'status' should not
> > indicate 'enabled'. To resolve this issue, you'll need
> to
> > download the
> > PHP source file (as opposed to a binary) and compile it
> > with mysql
> > support:
> > 
> > # ./configure --with-apxs=/usr/local/apache/bin/apxs
> > --with-mysql=/usr/local/mysql
> > # make
> > # make install
> > 
> > Hope this helps,
> > 
> > ~Caitlin
> > 
> > 
> > 
> >  
> > --- it clown <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi All,
> > > 
> > > i have installed php5 and mysql on suse 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
> > >
> >
>
_____________________________________________________________________
> > > For super low premiums, click here
> > http://www.dialdirect.co.za/quote
> > > 
> > 
> > 
> > =====
> > Those who dream by night in the dusty recesses of their
> > minds wake in the day to find that all was vanity; but
> > the dreamers of the day are dangerous men, for they may
> > act their dream with open eyes, and make it possible.
> > 
> > -T.E. Lawrence ("The Seven Pillars of Wisdom").
> > 
> > 
> >             
> > __________________________________ 
> > Do you Yahoo!? 
> > The all-new My Yahoo! - Get yours free! 
> > http://my.yahoo.com 
> >  
> > 
> 
>
_____________________________________________________________________
> For super low premiums, click here
> http://www.dialdirect.co.za/quote

_____________________________________________________________________
For super low premiums, click here http://www.dialdirect.co.za/quote

Reply via email to