[PHP-DEV] PHP for Win32 without MySQL?

2001-12-18 Thread Matt White

Has anyone attempted to build a version of PHP on Win32 without MySQL?

In config.w32.h there is the following couple of lines:

/* set to enable mysql */
#define HAVE_MYSQL 1

... and if you set this equal to 0, the compile progresses normally until
you hit php_mysql.c. (VC++ gives up after a couple of hundred errors...
mostly undeclared identifier errors, which are most likely caused by a
header not being included somewhere along the way.)

- Matt



-- 
PHP Development 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-DEV] PHP for Win32 without MySQL?

2001-12-18 Thread Marc Boeren

 Has anyone attempted to build a version of PHP on Win32 without MySQL?
snip
 normally until you hit php_mysql.c. 

Just remove the mysql files from the project and recompile? That should
work, even though I didn't try it :)

Cheerio, Marc.

-- 
PHP Development 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-DEV] PHP for Win32 without MySQL?

2001-12-18 Thread Andi Gutmans

Your best bet is to remove all files which are related to MySQL from your 
project.
(and not define HAVE_MYSQL)
Andi

At 11:16 AM 12/18/2001 -0500, Matt White wrote:
Has anyone attempted to build a version of PHP on Win32 without MySQL?

In config.w32.h there is the following couple of lines:

/* set to enable mysql */
#define HAVE_MYSQL 1

... and if you set this equal to 0, the compile progresses normally until
you hit php_mysql.c. (VC++ gives up after a couple of hundred errors...
mostly undeclared identifier errors, which are most likely caused by a
header not being included somewhere along the way.)

- Matt



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