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

Source: Internet
Author: User
Tags php development environment
Apache Configuration PHP5.5 Start service error ask God for help
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!!!
------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
------Solution--------------------
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.
------Solution--------------------
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
------Solution--------------------
64-bit Apache
http://www.apachelounge.com/download/
------Solution--------------------
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
------Solution--------------------
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
------Solution--------------------
You see if the port 80 is occupied.
------Solution--------------------
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
  • Related Article

    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.