apache配置PHP5.5后启动服务报错 求大神帮忙
我第一次配置php开发环境
就是在配置这一行数据的时候开始报错
LoadModule php5_module H:/devphp/php-5.5/php5apache2_4.dll
网上说地址需要加上双引号 但是加上仍然报错 把这行注释掉可以正常启动
服务启动报错内容:The Request operationi has failed
请知道的大神指引指引啊!!!
回复讨论(解决方案)
你的 apache 是 2.4 的吗?
H:/devphp/php-5.5/php5apache2_4.dll 存在吗?
php 5.5 不能工作在 XP 和 windows 2003 中
注意 32位 和 64位 的区别
你的 apache 是 2.4 的吗?
H:/devphp/php-5.5/php5apache2_4.dll 存在吗?
php 5.5 不能工作在 XP 和 windows 2003 中
注意 32位 和 64位 的区别
php的的包是:php-5.5.10-Win32-VC11-x64.zip 我的电脑是64位的Win7
这个路径是我从从属性里面拷贝出来的 不会有错的文件真是存在
我用了低版本的5.2 的php5apache2_4.dll 也出错
你的 apache 也是 64位 的吗?
你的 apache 是 2.4 的吗?
H:/devphp/php-5.5/php5apache2_4.dll 存在吗?
php 5.5 不能工作在 XP 和 windows 2003 中
注意 32位 和 64位 的区别 写错了低版本的是php5apache2_2.dll
php5apache2_4.dll你php-5.5文件目录下有这个文件吗,还有就是你的Apache是哪个版本的,应该是Apache2.4才行吧
配置:
1.在Apache的配置文件里面加上上LoadModule php5_module H:/devphp/php-5.5/php5apache2_4.dll
PHPIniDir "H:/devphp/php-5.5"
AddType application/x-httpd-php .php .phtml
在php.ini文件中修改extension_dir=‘H:/devphp/php-5.5/ext’
还要知道要知道编译的VC版本vc6、vc9、vc10、vc11等等
环境是XP还是其他,因为php5.5已经不支持Windows XP和2003
这些你都检查一遍吧
你的 apache 也是 64位 的吗?
我在官网上找的只有x86的apache 没找到x64的 你要是能找到可以给我发个连接吗
apache 官网上应该有 64 位 的 2.4
你也可以下载个 64位 的集成环境
不过 win7 并不适合做运行环境服务器,所以你全部改用 x86 的就可以了
开发环境,效率不是第一位的
php5apache2_4.dll你php-5.5文件目录下有这个文件吗,还有就是你的Apache是哪个版本的,应该是Apache2.4才行吧
配置:
1.在Apache的配置文件里面加上上LoadModule php5_module H:/devphp/php-5.5/php5apache2_4.dll
PHPIniDir "H:/devphp/php-5.5"
AddType application/x-httpd-php .php .phtml
在php.ini文件中修改extension_dir=‘H:/devphp/php-5.5/ext’
还要知道要知道编译的VC版本vc6、vc9、vc10、vc11等等
环境是XP还是其他,因为php5.5已经不支持Windows XP和2003
这些你都检查一遍吧
我用的apache是这个httpd-2.0.65-win32-x86-no_ssl.msi 包 我的系统是win7 64位的 php是VC11x64的
你说的这些都检查过了 还是报错。。。
64位的apache
http://www.apachelounge.com/download/
既然是第一次配置,何必为难自己,先找个集成环境来用就可以了。可以用wamp,下载64位的。
apache 和php要保持一致,你下载一个httpd-2.4.9-win64-VC11.zip 试试,地址http://www.apachelounge.com/download/
其实完全可以下载个wamp安装上能用就可以,比较稳定
我用的是xampp 一键搞定。 刚开始就选择傻瓜安装吧 。登以后有经验在做单独配置的
经过各位大神认真的指导和专业的回答 并经过屡次修改 安装 下载 安装...后 Apache的服务仍然保持着不为我动的姿态 在下心灰意冷后 索性全部卸载之前安装并按照大神们的指引 走向了集成环境安装的道路 本以为会摆脱困扰 柳暗花明 唉 可能道路注定坎坷本人安装的appserv-win32-2.5.10.exe又在次以不可启动的姿态伫立在在下面前 顿时手软~
php5.5+Apache2.4安装教程http://jingyan.baidu.com/article/fcb5aff797ec41edaa4a71c4.html
Wampserver下载http://sourceforge.net/projects/wampserver/
系统是win7 64位,也要安装64位的吧
你看看是不是80端口被占用了
64位的系统可以安装 64位的 apache+mysql+php 也可以安装 32 位的 apache+mysql+php
但 32位 的系统只能安装 32位的 apache+mysql+php
64位的系统可以安装 64位的 apache+mysql+php 也可以安装 32 位的 apache+mysql+php
但 32位 的系统只能安装 32位的 apache+mysql+php
果然是可以的 弄好了 谢谢你 还有以上各位

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Alipay PHP...

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.

The article discusses adding custom functionality to frameworks, focusing on understanding architecture, identifying extension points, and best practices for integration and debugging.

Sending JSON data using PHP's cURL library In PHP development, it is often necessary to interact with external APIs. One of the common ways is to use cURL library to send POST�...

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

An official introduction to the non-blocking feature of ReactPHP in-depth interpretation of ReactPHP's non-blocking feature has aroused many developers' questions: "ReactPHPisnon-blockingbydefault...
