List:Commits« Previous MessageNext Message »
From:uwendel Date:April 2 2007 12:44pm
Subject:PHP mysqlnd svn commit: r319 - in trunk: php5/ext/mysqli php6/ext/mysqli
View as plain text  
Author: uwendel
Date: 2007-04-02 12:44:34 +0200 (Mon, 02 Apr 2007)
New Revision: 319

Modified:
   trunk/php5/ext/mysqli/INSTALL
   trunk/php6/ext/mysqli/INSTALL
Log:
Updated and tested INSTALL for the upcoming release


Modified: trunk/php5/ext/mysqli/INSTALL
===================================================================
--- trunk/php5/ext/mysqli/INSTALL	2007-04-02 10:38:32 UTC (rev 318)
+++ trunk/php5/ext/mysqli/INSTALL	2007-04-02 10:44:34 UTC (rev 319)
@@ -0,0 +1,50 @@
+REQUIREMENTS
+
+The new MySQL native driver for PHP (mysqlnd) requires:
+
+ - PHP 5
+ - MySQL 4.1 or newer
+ 
+
+BUILDING ON UNIX
+
+1) Get a copy of PHP 5
+
+For example, you can check out PHP 5, the current development 
+version of PHP, from the CVS repository on php.net. 
+See http://www.php.net/anoncvs.php for detailed instructions.
+
+me@myhost:~> cvs -d :pserver:cvsread@stripped:/repository checkout -r PHP_5_2 php5
+
+2) Copy mysqlnd into the PHP 5 source tree
+
+Remove the ext/mysqli directory from your PHP directory, 
+for example:
+
+me@myhost:~> cd php5
+me@myhost:~/php5> rm -rf ext/mysqli
+
+Copy mysqlnd into your PHP directory, for 
+example:
+
+me@myhost:~/php5> cp -R ~/php-mysqlnd/php5/ext/mysqli ext/mysqli
+
+3) Run buildconf
+
+me@myhost:~/php5> ./buildconf --force
+
+4) Configure PHP with mysqlnd support
+
+To configure PHP with ext/mysqli using mysqlnd, you
+add ext/mysqli to your PHP using '--with-mysqli' and tell
+it not to link against the MySQL client library, but to 
+use mysqlnd by adding '--enable-mysqlnd'.
+
+me@myhost:~/php5> ./configure --with-mysqli --enable-mysqlnd
+
+Note that you must not specify the path to the MySQL
+utility mysql_config. 
+
+5) Build PHP
+
+me@myhost:~/php5> make clean; make; make install

Modified: trunk/php6/ext/mysqli/INSTALL
===================================================================
--- trunk/php6/ext/mysqli/INSTALL	2007-04-02 10:38:32 UTC (rev 318)
+++ trunk/php6/ext/mysqli/INSTALL	2007-04-02 10:44:34 UTC (rev 319)
@@ -27,7 +27,7 @@
 Copy mysqlnd into your PHP directory, for 
 example:
 
-me@myhost:~/php6> cp -R ~/php-mysqlnd/ext/mysqli ext/mysqli
+me@myhost:~/php6> cp -R ~/php-mysqlnd/php6/ext/mysqli ext/mysqli
 
 3) Run buildconf
 

Thread
PHP mysqlnd svn commit: r319 - in trunk: php5/ext/mysqli php6/ext/mysqliuwendel2 Apr