windows7在配置php7+apache2.4

1、下载并安装vc14
http://www.microsoft.com/zh-cn/download/details.aspx?id=48145
下载并安装vc_redist.x64.exe

2、下载php7
http://windows.php.net/downloads/releases/php-7.0.4-Win32-VC14-x64.zip
解压缩 D:/web/php/

3、下载xDebuger

https://xdebug.org/files/php_xdebug-2.4.0-7.0-vc14-x86_64.dll

拷贝到D:/web/php/ext

4、下载apache2.4
http://download.anindya.com/apache/apache_2.4.4-x64-openssl-1.0.1e.msi
解压缩 D:/web/apache24/

5、创建web站点目录
D:/web/www/

6、配置apache24/conf/httpd.conf
ServerRoot "D:/web/Apache24"
DocumentRoot "D:/web/www/ "

PHPIniDir "D:/web/php/"
LoadModule php7_module "D:/web/php/php7apache2_4.dll"
LoadFile "D:/web/php/libeay32.dll"
LoadFile "D:/web/php/ssleay32.dll"
LoadFile "D:/web/php/ext/php_pdo_mysql.dll"
LoadFile "D:/web/php/ext/php_mysqli.dll"

<IfModule mime_module>
  TypesConfig conf/mime.types
  AddType application/x-httpd-php .php

7、复制1个php.ini-development ,修改为php.ini,打开php.ini,找到配置(注意把开头的分号去掉):
extension_dir = "D:/web/php/ext"

extension=php_curl.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
把上述几个dll拷贝到Windows\System32目录。

[xDebug]
zend_extension = "D:/web/php/ext/php_xdebug-2.4.0-7.0-vc14-x86_64.dll"
xdebug.auto_trace = On
xdebug.show_exception_trace = On
xdebug.remote_autostart = On
xdebug.remote_enable = On
xdebug.collect_vars = On
xdebug.collect_return = On
xdebug.collect_params = On
xdebug.trace_output_dir="e:/php/debuginfo"
xdebug.profiler_enable=On
xdebug.profiler_output_dir="e:/php/debuginfo"
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp

8、启动apache24服务

9、在D:/web/www/ 创建1个index.php文件
访问测试:http://localhost/index.php

10、最新的PHP用户手册

在线阅读:http://php.net/manual/zh/index.php

下载CHM:http://cn2.php.net/get/php_manual_zh.chm/from/this/mirror

windows7上安装php7和apche2.4的更多相关文章

  1. 如何在windows7上安装启明星系统。

    启明星系统提供多种安装方式.安装包里自带了setup.exe.每个程序的 install下有在线安装(例如请假应用程序为book,则默认为 http://localhost/book/install ...

  2. WINDOWS和Linux上安装php7 alpha 并安装 yaf

    WINDOWS和Linux上安装php7 alpha 并安装 yaf PHP技术  widuu  2个月前 (06-15)  126浏览  0评论 windows 1.windows上安装 php7 ...

  3. windows7 上安装python3.8步骤

    今天给小白们写一个在windows7 上安装python3.8的过程. 1.先到https://www.python.org/downloads/官网下载最新版的python, 不要到别的下载网站去下 ...

  4. linux上安装php7 memcache扩展 和 安装服务端memcached

    linux上安装memcached不算太困难.唯一让本人感到困难的是 php7的memcache扩展安装.真的蛋疼! 先说安装服务端 memcached 1. 首先安装Libevent事件触发管理器. ...

  5. Windows7上安装Ubuntu双系统

    零.前言 最近不小心把Ubuntu系统搞崩了打不开了,在网上找了找方法,从最初的步骤开始安装,本文是安装Ubuntu16.04,不过安装啥版本步骤都一样,下面逐一介绍. 一.如何卸载Ubuntu(第一 ...

  6. 在64位Windows7上安装64位Oracle11g

    我一直在用Oracle10g数据库,最近想看看11g怎么样,就试着装了一下,在安装过程中遇到的麻烦还不少,幸好有搜索引擎,根据前辈的指点,磕磕绊绊地也将Oracle装上了,作一下记录,以后也许能用得着 ...

  7. 在windows7 上安装 Sublime Text 3 及其插件

    1.下载地址:http://www.sublimetext.com/3 请根据你的平台,选择适当的安装版本 安装完毕后,设定TAB键为4个空格( Preferences——>Setings-Us ...

  8. 在Windows7上安装coreseek3.2同时在PHP下简单实现步骤

    这两天安装了coreseek+sphinx服务,前面装的是比较低版本的,再试了一下官网比较稳定一个版本1.首先下载:因为包有点大,就不在这里增加链接了,需要可以到官网下载 coreseek-3.2.1 ...

  9. 64位windows7 上安装32位oracle 10g 的方法

    操作系统: windows7 中文旗舰版 oracle安装版本: 10.2.0.1 中文版,升级补丁至 10.2.0.3 下面说正题首先,我们要解除oracle安装的windows版本检测1.编辑安装 ...

随机推荐

  1. JQuery------制作div模态框

    转载: http://blog.csdn.net/li_xiao_ming/article/details/6738922 如图: 代码: html(使用opacity的话content无法变为不透明 ...

  2. hdu 1300(dp)

    一个模式的dp. Pearls Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)T ...

  3. PMP十大知识领域整理

    2018-7-28至2018-12-8历时4个多月,学写了PMP(拍马屁),感觉自己经历了,哇-唉-哦-嗯这四个阶段 刚开始觉得如遇圣经,被PMP的知识体系和老师的精彩课程深深震撼! 后来觉得很多东西 ...

  4. 【BZOJ2801】[Poi2012]Minimalist Security BFS

    [BZOJ2801][Poi2012]Minimalist Security Description 给出一个N个顶点.M条边的无向图,边(u,v)有权值w(u,v),顶点i也有权值p(i),并且对于 ...

  5. ios 将图片做成圆形

    UIImageView * imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"oiuyfdsa.png ...

  6. aiohttp笔记

    目录 简介 采集模板 一批,一次性采集 动态添加任务 动态添加任务,封装成类 简介 aiohttp需要python3.5.3以及更高的版本,它不但能做客户端爬虫,也能做服务器端,利用asyncio,协 ...

  7. 基于xml文件的格式配置Spring的AOP

    用例子直接说明: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http ...

  8. ZOJ 3932 Deque and Balls

    There are n balls, where the i-th ball is labeled as pi. You are going to put n balls into a deque. ...

  9. mybatis调用oracle存储过程例子.

    1.MYBATIS方法: <select id="getFlowNum" statementType="CALLABLE"> <![CDATA ...

  10. echarts容器动态设置高度

    测试提了bug,柱状图数据多的情况下,都叠到了一起,效果如下图. 要解决这个bug,首先想到的是让柱状图的容器自适应高度.于是,把原本div上写固定的高度去掉. <div id="my ...