[PHP-DB] Error on connecting to mysql database

2001-09-25 Thread Jae

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



-- 
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] Error on connecting to mysql database

2001-09-25 Thread Jae

thx a lot
Jason Wong [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
01c14646$74b41ae0$[EMAIL PROTECTED]">news:01c14646$74b41ae0$[EMAIL PROTECTED]...
 -Original Message-
 From: Jae [mailto:[EMAIL PROTECTED]]
 Sent: 26 September 2001 12:18
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] Error on connecting to mysql database
 
 
 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

 Most likely your php was not compiled with mysql support. Use ?
phpinfo();
 ? to find out. If you don't see a mysql section then you need to
recompile
 your php.


 regards
 --
 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-DB] Can't connect Mysql using php

2001-09-26 Thread Jae


±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







-- 
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]




[PHP-DB] @@ To Jason Wong

2001-09-26 Thread Jae

Configure Command

'./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 a lot

How to enable mysql support in php?
The Mysql server is ok and work fine.




-- 
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-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]