Re: [PHP-DB] Can't connect Mysql using php

2001-09-27 Thread Jae

I already use ./configure--with-mysql.

Is it need to install again?
thx
Lars B. Jensen [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 you need to install your PHP using
 ./configure --with-mysql
 rather than
 ./configure --without-mysql

 / LJ
 -Original Message-
 From: Jae [mailto:[EMAIL PROTECTED]]
 Sent: 27. september 2001 13:05
 To: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
 000a01c14674$87e58080$[EMAIL PROTECTED]">news:000a01c14674$87e58080$[EMAIL PROTECTED]...
  -Original Message-
  From: Jae [mailto:[EMAIL PROTECTED]]
  Sent: 26 September 2001 17:41
  To: [EMAIL PROTECTED]
  Subject: [PHP-DB] Can't connect Mysql using php
  
  
  
  ±H¥óªÌ: Jae [EMAIL PROTECTED]
  ¦¬¥óªÌ: [EMAIL PROTECTED]
  ¥D¦®: Re: Error on connecting  to mysql database
  ¤é´Á: 2001¦~9¤ë26¤é ¤U¤È 05:09
  
  After recompile, the error still occurs.
  pls help
  
  Jae [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]







-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Can't connect Mysql using php

2001-09-26 Thread Jason Wong

-Original Message-
From: Jae [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 17:41
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Can't connect Mysql using php



±H¥óªÌ: Jae [EMAIL PROTECTED]
¦¬¥óªÌ: [EMAIL PROTECTED]
¥D¦®: Re: Error on connecting  to mysql database
¤é´Á: 2001¦~9¤ë26¤é ¤U¤È 05:09

After recompile, the error still occurs.
pls help

Jae [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Can't connect Mysql using php

2001-09-26 Thread Jae

'./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 [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
000a01c14674$87e58080$[EMAIL PROTECTED]">news:000a01c14674$87e58080$[EMAIL PROTECTED]...
 -Original Message-
 From: Jae [mailto:[EMAIL PROTECTED]]
 Sent: 26 September 2001 17:41
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] Can't connect Mysql using php
 
 
 
 ±H¥óªÌ: Jae [EMAIL PROTECTED]
 ¦¬¥óªÌ: [EMAIL PROTECTED]
 ¥D¦®: Re: Error on connecting  to mysql database
 ¤é´Á: 2001¦~9¤ë26¤é ¤U¤È 05:09
 
 After recompile, the error still occurs.
 pls help
 
 Jae [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Can't connect Mysql using php

2001-09-26 Thread Lars B. Jensen

you need to install your PHP using
./configure --with-mysql
rather than
./configure --without-mysql

/ LJ
-Original Message-
From: Jae [mailto:[EMAIL PROTECTED]]
Sent: 27. september 2001 13:05
To: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
000a01c14674$87e58080$[EMAIL PROTECTED]">news:000a01c14674$87e58080$[EMAIL PROTECTED]...
 -Original Message-
 From: Jae [mailto:[EMAIL PROTECTED]]
 Sent: 26 September 2001 17:41
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] Can't connect Mysql using php
 
 
 
 ±H¥óªÌ: Jae [EMAIL PROTECTED]
 ¦¬¥óªÌ: [EMAIL PROTECTED]
 ¥D¦®: Re: Error on connecting  to mysql database
 ¤é´Á: 2001¦~9¤ë26¤é ¤U¤È 05:09
 
 After recompile, the error still occurs.
 pls help
 
 Jae [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]