📄 install
字号:
REQUIREMENTSThe new MySQL native driver for PHP (mysqlnd) requires: - PHP 5 - MySQL 4.1 or newer BUILDING ON UNIX1) Get a copy of PHP 5For 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@cvs.php.net:/repository checkout -r PHP_5_2 php52) Copy mysqlnd into the PHP 5 source treeRemove the ext/mysqli directory from your PHP directory, for example:me@myhost:~> cd php5me@myhost:~/php5> rm -rf ext/mysqliCopy mysqlnd into your PHP directory, for example:me@myhost:~/php5> cp -R ~/php-mysqlnd/php5/ext/mysqli ext/mysqli3) Run buildconfme@myhost:~/php5> ./buildconf --force4) Configure PHP with mysqlnd supportTo configure PHP with ext/mysqli using mysqlnd, youadd ext/mysqli to your PHP using '--with-mysqli' and tellit not to link against the MySQL client library, but to use mysqlnd by adding '--enable-mysqlnd'.me@myhost:~/php5> ./configure --with-mysqli --enable-mysqlndNote that you must not specify the path to the MySQLutility mysql_config. 5) Build PHPme@myhost:~/php5> make clean; make; make install
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -