新版php 5.2.6安装时注意事项
2008-07-07 22:38
555 查看
在configure php时,出现以下错误:
checking for MySQL support… yes checking for specified location of the MySQL UNIX socket… no checking for MySQL UNIX socket location… no configure: error: Cannot find libmysqlclient_r under /usr/local/mysql. Note that the MySQL client library is not bundled anymore!
那么,你需要注意了,你可能在编译APACHE的时候,使用–with-mpm模块,请在编译MYSQL的时候加上 –enable-thread-safe-client.
这是PHP5.2的一个改进,在PHP5.2.0之前的版本都不需要MYSQL启用安全线程。 因此在安装MYSQL时,configure应该是: ./configure prefix=/usr/local/mysql –with-extra-charsets=all –enable-thread-safe-client
文章来源:http://blog.csdn.net/zubin006/archive/2008/07/02/2604659.aspx
checking for MySQL support… yes checking for specified location of the MySQL UNIX socket… no checking for MySQL UNIX socket location… no configure: error: Cannot find libmysqlclient_r under /usr/local/mysql. Note that the MySQL client library is not bundled anymore!
那么,你需要注意了,你可能在编译APACHE的时候,使用–with-mpm模块,请在编译MYSQL的时候加上 –enable-thread-safe-client.
这是PHP5.2的一个改进,在PHP5.2.0之前的版本都不需要MYSQL启用安全线程。 因此在安装MYSQL时,configure应该是: ./configure prefix=/usr/local/mysql –with-extra-charsets=all –enable-thread-safe-client
文章来源:http://blog.csdn.net/zubin006/archive/2008/07/02/2604659.aspx
相关文章推荐
- 新版php 5.2.6安装时注意事项
- wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-32b.exe 安装 配置 注意事项
- PHP网站安装程序制作的原理、步骤、注意事项和示例代码
- php 安装mysql扩展注意事项
- PHP性能分析工具xhprof的安装使用与注意事项
- 开发工具_新版CocoaPods安装及注意事项
- php 安装pdo注意事项
- php 5.3.5安装memcache注意事项小结
- php安装注意事项
- PHP性能分析工具xhprof的安装使用与注意事项
- wampserver的php_redis扩展安装注意事项
- php-4.3.10.tar.gz安装过程及注意事项
- PHP环境搭建:Windows 7下安装配置PHP+Apache+Mysql环境教程以及注意事项
- php 5.3.5安装memcache注意事项小结
- linux 安装Apache php mysql注意事项
- PhpStorm +xdebug 调试安装配置注意事项
- redis安装 phpredis Jedis 扩展的实现及注意事项,php,java,python相关插件安装实例代码和文档推荐
- 【关于php】Appserv的安装注意事项
- PHP网站安装程序制作的原理、步骤、注意事项和示例代码
- php5.3.5安装memcache注意事项