Re: Can't connect Mysql using php
| From: | Jae | Date: | Thu, 27 Sep 2001 07:34:38 +0000 |
| Subject: | Re: Can't connect Mysql using php | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12766@lists.php.net to get a copy of this message | ||
I already use ./configure--with-mysql.
Is it need to install again?
thx
"Lars B. Jensen" <ljweb@ljweb.com> ¼¶¼g©ó¶l¥ó
news:PMEIKBLAHLHGGJANAICMIEGJDAAA.ljweb@ljweb.com...
> you need to install your PHP using
> ./configure --with-mysql
> rather than
> ./configure --without-mysql
>
> / LJ
> -----Original Message-----
> From: Jae [mailto:jae_lee@hongkong.com]
> Sent: 27. september 2001 13:05
> To: php-db@lists.php.net
> Subject: Re: [PHP-DB] Can't connect Mysql using php
>
>
> './configure' '--prefix=/usr' '--with-config-file-path=/etc'
> '--disable-debug' '--enable-pic' '--enable-shared'
> '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
> '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext'
> '--with-gd' '--with-jpeg-dir=/usr' '--with-png'
> '--with-zlib' '--with-db2'
> '--with-db3' '--with-gdbm' '--enable-debugger'
> '--enable-magic-quotes'
> '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
> '--enable-sysvshm' '--enable-track-vars' '--enable-yp'
> '--enable-ftp'
> '--enable-wddx' '--without-mysql' '--without-oracle'
> '--without-oci8'
> '--with-xml'
>
> thx
>
> "Jason Wong" <phplist@gremlins.com.hk> ¼¶¼g©ó¶l¥ó
> news:000a01c14674$87e58080$0100000a@gremlins.com.hk...
> > >-----Original Message-----
> > >From: Jae [mailto:jae_lee@hongkong.com]
> > >Sent: 26 September 2001 17:41
> > >To: php-db@lists.php.net
> > >Subject: [PHP-DB] Can't connect Mysql using php
> > >
> > >
> > >
> > >±H¥óªÌ: "Jae" <jae_lee@hongkong.com>
> > >¦¬¥óªÌ: <php-db@lists.php.net>
> > >¥D¦®: Re: Error on connecting to mysql database
> > >¤é´Á: 2001¦~9¤ë26¤é ¤U¤È 05:09
> > >
> > >After recompile, the error still occurs.
> > >pls help
> > >
> > >"Jae" <jae_lee@hongkong.com> ¼¶¼g©ó¶l¥ó
> > >news:20010926041027.99013.qmail@pb1.pair.com...
> > >> I got this message when i call the php script,
> > >>
> > >> "Fatal error: Call to undefined function: mysql_connect() in
> > >> /home/jaelee/public_html/test01.php on line 6"
> > >>
> > >> what's wrong?
> > >> thx
> >
> > Run <? phpinfo(); ?> and tell us the output of the 3rd row of the first
> > table, ie the "Configure Command".
> >
> > --
> > Jason Wong
> > Gremlins Associates
> > www.gremlins.com.hk
> > Tel: +852-2573-5033
> > Fax: +852-2573-5851
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
>