On Fri, 2003-07-04 at 21:19, AzN wrote:
> I have yet to try MySQL on PHP5 because I cant use any of my scripts that
> use MySQL!

Sure you can! The latest snapshots include a MySQL client.

Cheers,


Marco

> 
> "Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Help!!!
> >
> > I just installed PHP 5.0.0 Beta 1 with Apache on W2K SP4, and I also
> > read though the postings.  The problem is that we have to use mysql
> > clients which comes with mysql to use PHP. I read following mysql docs,
> > and I don't have any clue, anyone?
> >
> > -----------------------------------------------------------------------
> > 2.6.2.6 Compiling MySQL Clients on Windows
> >
> > In your source files, you should include `windows.h' before you include
> > `mysql.h':
> >
> > #if defined(_WIN32) || defined(_WIN64)
> > #include <windows.h>
> > #endif
> > #include <mysql.h>
> >
> > You can either link your code with the dynamic `libmysql.lib' library,
> > which is just a wrapper to load in `libmysql.dll' on demand, or link
> > with the static `mysqlclient.lib' library.
> >
> > Note that as the mysqlclient libraries are compiled as threaded
> > libraries, you should also compile your code to be multi-threaded!
> > ------------------------------------------------------------------------
> >
> > PHP 5.0x installation on W2K (apache module)
> >
> > Here is my prog. and conf.
> >
> > php-5.0.0b1-Win32.zip
> > mysql-4.0.13-win.zip
> > apache_20.046-win32-x86-no_src.msi
> >
> > 1. edit httpd.conf
> >
> > LoadModule php5_module C:\php\sapi\php4apache2.dll
> >
> > #
> > # To use PHP scripts
> > #
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php-source .phps
> >
> > 2. copy c:\php\php4ts.dll to c:\winnt\system32
> >
> > 3. edit c:\winnt\php.ini
> >
> > ; Windows: "\path1;\path2"
> > include_path = ".;c:\php\dlls"
> >
> > ; Directory in which the loadable extensions (modules) reside.
> > extension_dir = "c:\php\extensions\"
> >
> > upload_tmp_dir = c:\tmp
> >
> > session.save_path = c:\tmp
> >
-- 

Marco Tabini
President

Marco Tabini & Associates, Inc.
28 Bombay Avenue
Toronto, ON M3H 1B7
Canada

Phone: (416) 630-6202
Fax: (416) 630-5057
Web: http://www.tabini.ca


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to