Apache failed to start, please check the configuration. MySQL5.1 has started successfully

Source: Internet
Author: User
Tags apm zend

Solutions

A: The lower left corner of the SSL hook, if you do not use the certificate, the removal of that, some friends to remove it. It is also possible to install the certificate hook on the SSL can also be used.

Two: See said the SSL hook off method, also can not solve. Later went to look for the cat, also did not see what set the impact; with APM comes with a software conflict resolution function, after the implementation of the problem remains. It is suspected that the parent folder of the folder where APM is located is in Chinese and has an effect on it, deleting the rebuild or not. Check the operating system "settings-management tools-services" option, there is a telnet option is forbidden, it is remembered to install XP, worry about security issues, so the remote collaboration to turn off, it is estimated that the Telnet function is forbidden, so now hurriedly set it to manually open. After you turn on Telnet, it may be normal to start APMServ5.2.0 again.

Three: It is recommended not to load and unload frequently today in debugging add virtual host and virtual directory, suddenly found that restarting Apmserv has a problem, always can not load Apache, feel very strange, because yesterday and solved the problem I thought. In the forum to see a bit, there are suggestions that do not frequently restart Apmaerv, so uninstall, shut down the machine. After a while the boot, first open apmserv, found normal. Also, the discovery of the telnet that was set up yesterday has not been started manually at all.

Four: is not installed in the directory with Chinese, this program can not use the Chinese directory. If yes, remove the re-installed clothes.

Five: 1, you can try to set the installation directory of PHP as the environment variables of the system: right-click on "My Computer"-"Properties"-"advanced"-"Environment variables"-"System variables", modify path, plus "d:\apmserv5.2.6\php;d:\apmserv5.2.6\ Php\ext "path. Note the semicolon, and the "D:\apmserv5.2.6\php;d:\apmserv5.2.6\php\ext" above is my installation path, remember to replace it with your path. 2. Or copy the DLLs you need to use into the System32 folder of your operating system. Copy the. dll file under PHP and Php\ext to the C:\WINDOWS\system32 folder.

Six: The above 5 methods or can not solve, and php.ini in the Extension_dir configuration is correct, or not, it may be previously installed in the native PHP, there are some residual files, Windows path variable or copied to C:\WINDOWS\ The DLL file under System32 is loaded by Apache first, without loading the DLLs in the Apache directory that should be loaded, note that the order of Windows load DLL files is based on the directory specified in the System environment variable path, generally%systemroot %\system32;%systemroot%, when installing apache+php, if the "Unable to load dynamic Library" error occurs, but the configuration file is also in the correct case, It is important to note that there are no different versions of the same file with the same name for the current PHP version of the DLL.

Seven: According to the above 6 methods to change and try again, try and change, also made n times still not, click "Apache Settings (A)-View run log (E)", found the following text: PHP Warning: [Eaccelerator] This build of " Eaccelerator "was compiled for PHP version 5.2.6. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.\n in Unknown on line 0 php Fatal error:unable t O start eaccelerator module in Unknown on line 0

The above log can clearly determine the reason for the PHP version. Because PHP version (5.2.6) does not change, so the problem is that eaccelerator compile-time version to use 5.2.9.

Open the D:\APMServ5.2.6\Zend\eAccelerator folder, you can see eAccelerator.dll this file immediately, and then in the folder D:\APMServ5.2.6\ Search for keywords containing eaccelerator under PHP

It can be found that only php.ini contains references to EAccelerator.dll. The only key now is to download the Eaccelerator 5.2.9 version.

Looking for a long time finally found: Http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds,

Note Download Eaccelerator 0953 for PHP 5.2.9, do not put down the wrong file, and then drop it directly into the D:\APMServ5.2.6\Zend\eAccelerator folder,

Then to the php.ini file [eaccelerator] zend_extension_ts= "D:/apmserv5.2.6/zend/eaccelerator/eaccelerator.dll"

Change to [Eaccelerator] zend_extension_ts= "D:/apmserv5.2.6/zend/eaccelerator/eaccelerator0953_5.2.9.dll"

Apache failed to start, please check the configuration. MySQL5.1 has started successfully

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.