Apache Configuration PHP5.5 Start service error ask God for help

Source: Internet
Author: User
Tags php development environment vc9
The first time I configured the PHP development environment
is to start error when configuring this line of data
LoadModule Php5_module H:/devphp/php-5.5/php5apache2_4.dll
The address on the Internet need to add double quotation marks, but with still an error to comment out this line can start normally
Service Start error content: The Request Operationi has failed
Please know the guide of the Great God!!!


Reply to discussion (solution)

Is your Apache 2.4?
Does H:/devphp/php-5.5/php5apache2_4.dll exist?

PHP 5.5 does not work in XP and Windows 2003
Note the difference between 32-bit and 64-bit

Is your Apache 2.4?
Does H:/devphp/php-5.5/php5apache2_4.dll exist?

PHP 5.5 does not work in XP and Windows 2003
Note the difference between 32-bit and 64-bit
PHP's package is: Php-5.5.10-win32-vc11-x64.zip My computer is a 64-bit Win7
This path is the one that I copied from the attribute, and there's no wrong file.
I used a low version of the 5.2 Php5apache2_4.dll and it went wrong.

Is your Apache a 64-bit?

Is your Apache 2.4?
Does H:/devphp/php-5.5/php5apache2_4.dll exist?

PHP 5.5 does not work in XP and Windows 2003
Note that the difference between 32-bit and 64-bit is incorrectly written in the lower version of Php5apache2_2.dll.

Php5apache2_4.dll your php-5.5 file directory has this file, there is your Apache is which version, it should be Apache2.4.
Configuration:
1. Add the LoadModule php5_module h:/devphp/php-5.5/php5apache2_4.dll in the Apache configuration file
Phpinidir "h:/devphp/php-5.5"
AddType application/x-httpd-php. php. phtml
Modify extension_dir= ' H:/devphp/php-5.5/ext ' in the php.ini file
Also know to know the compiled VC version VC6, VC9, VC10, Vc11 and so on
is the environment XP or otherwise, because php5.5 already does not support Windows XP and 2003
You check it all over again.

Is your Apache a 64-bit?
The only x86 Apache I found on the official web site was x64. If you can find it, can you send me a connection?

The Apache website should have 64-bit 2.4
You can also download a 64-bit integrated environment
However, Win7 is not suitable for running environment server, so you can use all x86.
Development environment, efficiency is not the first place

Php5apache2_4.dll your php-5.5 file directory has this file, there is your Apache is which version, it should be Apache2.4.
Configuration:
1. Add the LoadModule php5_module h:/devphp/php-5.5/php5apache2_4.dll in the Apache configuration file
Phpinidir "h:/devphp/php-5.5"
AddType application/x-httpd-php. php. phtml
Modify extension_dir= ' H:/devphp/php-5.5/ext ' in the php.ini file
Also know to know the compiled VC version VC6, VC9, VC10, Vc11 and so on
is the environment XP or otherwise, because php5.5 already does not support Windows XP and 2003
You check it all over again.
I use Apache is this Httpd-2.0.65-win32-x86-no_ssl.msi package my system is win7 64 bit PHP is vc11x64
You said these have been checked or error ...

64-bit Apache
http://www.apachelounge.com/download/

Since is the first time configuration, why embarrass yourself, first find an integrated environment to use it. can use Wamp, download 64-bit.

Apache and PHP to stay consistent, you download a httpd-2.4.9-win64-vc11.zip try, address http://www.apachelounge.com/download/
In fact, can download a Wamp installation can be used, more stable

I'm using a xampp button to fix it. Just start by choosing a fool to install it. After logging has experience in doing a separate configuration

After the serious guidance of the Great God and professional answers and after repeated changes to install download installation ... After the Apache service still kept not for me to move the posture under the despair after completely uninstall before installing and follow the guidance of the great God to the integration of the environment to install the road this thought will get rid of troubled steady alas Maybe the road is doomed I installed Appserv-win32-2.5.10.exe again in a non-starter posture standing in front of the next suddenly soft ~

php5.5+apache2.4 Installation Tutorial Http://jingyan.baidu.com/article/fcb5aff797ec41edaa4a71c4.html
Wampserver Download http://sourceforge.net/projects/wampserver/
The system is Win7 64 bit, also installs 64 bit of bar

You see if the port 80 is occupied.

64-bit system can install 64-bit apache+mysql+php can also install 32-bit apache+mysql+php
However, a 32-bit system can only install 32-bit apache+mysql+php

64-bit system can install 64-bit apache+mysql+php can also install 32-bit apache+mysql+php
However, a 32-bit system can only install 32-bit apache+mysql+php
I'm sure it's okay, thank you.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.