Table of Contents
回复讨论(解决方案)
Home Backend Development PHP Tutorial 死活无法加载php5apache2_2.dll模块,apache死活启动不了的进来看看

死活无法加载php5apache2_2.dll模块,apache死活启动不了的进来看看

Jun 23, 2016 pm 02:27 PM

    本来我不打算发这个贴的,实在是咽不下这口气,足足浪费了我半个月的时间搭建这个破环境。开发环境这样的apache2.2+mysql+php5.3.6,无论我怎么配置,怎么去琢磨php.ini以及apache的httpd conf配置文件,我死活就是报一个什么什么路径下的语法错误,无法加载php5apache2_2.dll模块到服务器上(这一段在显示的时候是全英文的,我翻译了一下)。
    我在百度上搜索了所有可能的情况都不行,最后我开始怀疑自己的操作系统有问题,果然,换了一个系统之后问题迎刃而解了,具体问题出在系统的什么地方我还没这个实力去分析清楚,不过可以肯定,你用雨林木风的ghost xp sp3 装机版YN9.9的就等着报错吧。


回复讨论(解决方案)

感谢!

其实我们都是踏着前人的失败经验走过来的……

没试过,,感谢分享!

很简单啊 就是路径没有认出来。你下次可以把这些dll 全部复制到system32里去 并且修改 php.ini 正确的路径。不过 还是别用这类ghost系统了,反正我是从来不用的。哈哈 可怜的孩子 

楼主的问题应该不会出现在系统方面,应该就是模块路径的问题

经过仔细的研究,我发现问题的关键了,不是路径的问题,即便我在环境变量里指定了路径,把那些个dll都放在system32默认的系统路径下面仍然是无法启动,apache的错误类别还是报语法错误,经过试验,我把新系统里面的system32文件夹下的所有文件替换了以前的系统文件,结果发现,什么都不用改变就行了,ghost系统看来什么优化版本的以后都别用了,尤其是做开发的朋友们。还是纯净版本的靠谱一点。

还有一种办法解决了这个问题,不管是什么破系统,只要能装软件就能把php install版本装起来,虽然apache不推荐,但是的确不费吹灰之力就解决了一切问题,果然说到底还是配置有问题,只不过手动配置不知道症结在什么地方,无法下手,不管我如何操作就是装不上,这下好了,只要装上了,改一些小配置还不是小菜一碟。呵呵,同乐一下。结贴

楼主啊,我也遇到了这个问题。非常奇怪的是昨天我能成功启动,今天在没有做任何改变的情况下就是不能启动,晕死了,浪费太多时间……

c:\apache\bin>httpd.exe
httpd.exe: Syntax error on line 483 of C:/apache/conf/httpd.conf: Cannot load C:
/PHP/php5apache2_2.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5
\xc4\xc4\xa3\xbf\xe9\xa1\xa3
楼主能解释下这个问题么?

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

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,

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

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.

How to automatically set permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

Explain the concept of late static binding in PHP. Explain the concept of late static binding in PHP. Mar 21, 2025 pm 01:33 PM

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

How to debug CLI mode in PHPStorm? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

How to send a POST request containing JSON data using PHP's cURL library? How to send a POST request containing JSON data using PHP's cURL library? Apr 01, 2025 pm 03:12 PM

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�...

Framework Security Features: Protecting against vulnerabilities. Framework Security Features: Protecting against vulnerabilities. Mar 28, 2025 pm 05:11 PM

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

See all articles