JAVA、PHP、前端、APP、网站开发 - 开发技术学习

开发技术学习 » 服务器 » apache2.4+php7配置

apache2.4+php7配置

此文被围观3255日期: 2016-02-19 分类 : 服务器  标签:  ···

在php官网下载相应的软件包:http://windows.php.net/download/

部分关键配置代码:

PHPIniDir "D:/webconfig/php-7.0.3-Win32-VC14-x86"

LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/php7ts.dll"

LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/libeay32.dll"

LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/ssleay32.dll"

LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/libssh2.dll"

LoadModule php7_module "D:/webconfig/php-7.0.3-Win32-VC14-x86/php7apache2_4.dll"


我系统是64的,先是下载的php-7.0.3-Win32-VC14-x64.zip死活配置不起,后面再下载的php-7.0.3-Win32-VC14-x86.zip,

然后还要下载Visual c++ 2015 地址:https://www.microsoft.com/en-us/download/details.aspx?id=48145


这里要特别注意有些电脑看到是64位的系统,但是x64的就是用不起,就必须下载x86的试。我的电脑就是这样,弄了好久才解决。



站点声明:部分内容源自互联网,为传播信息之用,如有侵权,请联系我们删除。

© Copyright 2011-2024 www.kfju.com. All Rights Reserved.
超级字帖 版权所有。蜀ICP备12031064号