2016/07/07 apmserv5.2.6 Apache failed to start, please check the relevant configuration. MySQL5.1 has been started.

Source: Internet
Author: User
Tags apm

Because to use PHP to do a program, in this machine with PHP environment, under a APMServ5.26, installation is very simple, no longer say, installed, start, prompt error, specifically: "Apache boot failure, please check the relevant configuration." √mysql5.1 has started, and then on the Internet to find a solution, but found a lot, but did not solve the problem, almost want to change an integration environment. However, despite difficulties has always been my principle, finally solved, and now all the steps to sort out, hoping to meet the same situation of friends have helped, if there are friends encounter new situation, welcome to communicate with me. In addition, if everyone has their own experience, welcome to the highway website to share with you.

One solution:

The bottom 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.

Solution Two:

See said the way to hook off the SSL, 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.

The third solution:

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.

concluded that:

1, yesterday the post is not accurate, although yesterday adjusted telnet and start normal has the relation, but today does not matter, the reason is not clear; (Open the remote collaboration today, there may be an association)

2, Apmserv frequent start off is not very good, easy to cause loading is not normal.

Solution Four:

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

Solution V:

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.

Solution VI:

The above 5 methods can not solve, and php.ini in the Extension_dir configuration is correct, or not, it may have been 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: The order of Windows load DLL files is based on the directory specified in the System environment variable path, usually%systemroot%\system32;%systemroot%, when installing apache+php if "unable To load Dynamic Library "error, but the configuration file is also in the correct case, be sure to note that these directories have no current PHP version that requires a different version of the DLL with the same name file.

The Seven solutions:

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" is compiled for PHP version 5.2.6. Rebuild it for your

PHP version (5.2.9) or download precompiled binaries.\n in Unknown _disibledevent=>

Switch

[Eaccelerator]

Zend_extension_ts= "D:/apmserv5.2.6/zend/eaccelerator/eaccelerator0953_5.2.9.dll"

You can do it.

Note: The related path mentioned above is based on the path that you set when you unzip the ampserv yourself, and the system you are using is Windows 2003 server.

-----------I'm a lovely divider-----------

By the way, APMServ5.2.6 the default password for the root account after the installation of MySQL is empty, which is not safe and needs to be changed.

Start-run-input cmd run

d:\apmserv5.2.6\mysql5.1\bin> mysql-u Root MySQL

mysql> UPDATE user SET password=password (' New password ') WHERE user= ' root ';

mysql> FLUSH privileges;

2016/07/07 apmserv5.2.6 Apache failed to start, please check the relevant configuration. MySQL5.1 has been started.

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.