Re: [PHP] mysql and the PHP transition from 4 to 5.

2004-10-22 Thread Curt Zirzow
* Thus wrote Nick Lane-Smith:
 Hello php-list,
 
 I'm curious to why default mysql support was dropped from PHP 5?

It was  due to the changes in the mysql license. Due to the changes
the PHP Team decided not to enable mysql by default.  MySQL had
modified there license but it was too late, the decision to leave
mysql out of default installation was already decided.


 
 The separation seems to have been done for license issues with the 
 mysql library.
 PHP 4.X uses a libmysql with an abandoned copyright for mysql access.
 
 Would the libmysql still work with PHP 5, or is PHP 5 dependent on the 
 Mysql AB mysqlclient library?

You can compile php with any MySQL version of your choice, the
license issues above only affected PHP's ability to bundle the
package with MySQL support included by default.

You just need to include in your unix configure script:

  --with-mysql=/install/dir/of/mysql

Or

Simply uncomment:

  ;extension=mysql.dll 

In the php.ini for windows.


HTH.

Curt
-- 
Quoth the Raven, Nevermore.

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



[PHP] mysql and the PHP transition from 4 to 5.

2004-10-21 Thread Nick Lane-Smith
Hello php-list,
I'm curious to why default mysql support was dropped from PHP 5?
The separation seems to have been done for license issues with the 
mysql library.
PHP 4.X uses a libmysql with an abandoned copyright for mysql access.

Would the libmysql still work with PHP 5, or is PHP 5 dependent on the 
Mysql AB mysqlclient library?

Are there any LGPL mysql libraries that would work with PHP 5?
thanks,
-Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] mysql and the PHP transition from 4 to 5.

2004-10-21 Thread raditha dissanayake
Nick Lane-Smith wrote:
Hello php-list,
I'm curious to why default mysql support was dropped from PHP 5?
The separation seems to have been done for license issues with the 
mysql library.
PHP 4.X uses a libmysql with an abandoned copyright for mysql access.
Suffice to say it's pretty hard to find people who speak in support of it.
Would the libmysql still work with PHP 5, or is PHP 5 dependent on the 
Mysql AB mysqlclient library?
You could compile with the 'old' mysql extension. The problem with that 
is the old client libraries do not work with the newer versions of the 
database.

Are there any LGPL mysql libraries that would work with PHP 5?
According to the mysql terms you cannot write a LGPL client library. You 
would be forced to make it a commercial license or make it GPL.
Good news is there is something better. Postgres is released under a 
freeBSD license.  It's miles ahead of mysql in which way you look at it.

thanks,
-Nick

--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php