Php的安装以及验证apache.docxVIP

  • 0
  • 0
  • 约2.35千字
  • 约 4页
  • 2017-07-15 发布于河南
  • 举报
Php的安装以及验证apache

Php的安装以及验证apachePhp安装tarjxf php-5.3.8.tar.bz2cdphp-5.3.8./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqlmakemake install编译php报错情况php-5.3.8]# ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysqlchecking for specified location of the MySQL UNIX socket... noconfigure: error: Cannot find MySQL header files under yes.Note that the MySQL client library is not bundled anymore!原因是没有找到mysql库的位置现在把上述命令改成如下:./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql如果编译成功的话应该显示如下结束信息:Generating filesupdating cache ./config.cachecreating ./config.statuscr

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档