APMServ prompts "Apache startup failed, please check related configuration" solution

  

One of the solutions: Hook the SSL in the lower left corner. If you don't use the certificate, remove it and some friends will be removed. . It is also possible to install the certificate hook SSL on it.

Solution 2: I can't solve the problem of hooking up the SSL. Later, I went to Chakaba, and I didn't see any settings impact. With APM's own software conflict resolution function, the problem remains after execution. Do you suspect that the parent folder of the folder where APM is located is Chinese, affecting it, deleting the reconstruction, or not. Check the operating system "Settings - Administrative Tools - Services" inside the option, there is a Telnet option is banned, this is thought to install XP after worrying about security issues, so turn off remote collaboration, it is estimated that Telnet The function is forbidden, so now set it to be manually turned on. After starting Telnet, start APMServ5.2.0, and it may be normal.

Solution 3: It is recommended not to load and uninstall frequently. When adding virtual host and virtual directory during debugging, I suddenly found that there is a problem restarting APMServ. I can't load Apache at all. I feel very strange because yesterday and solved it. I thought this question. Looked at the forum, there are suggestions that do not restart APMAerv frequently, so uninstall, shut down. After a while, I started APMServ and found it normal. Moreover, I found that Telnet set up yesterday was actually not started manually. Conclusion: 1, yesterday's post is not accurate, although yesterday adjusted TELNET has a relationship with the start, but today does not matter, the reason is not clear; (to open the remote collaboration today, may be related) 2, APMServ frequently started to shut down is not too Ok, it is easy to cause the loading to be abnormal.

Solution 4: Is it installed in the Chinese directory, this program can not use the Chinese directory. If yes, delete it and reload it.

Solution 5: 1. You can try to set the PHP installation directory to the system environment variable: right click on “My Computer”-“Properties”-“Advanced”-&ldquo ; environment variable & rdquo; - & ldquo; system variables & rdquo;, modify Path, plus "D: \\ APMServ5.2.6 \\ PHP; D: \\ APMServ5.2.6 \\ PHP \\ ext & rdquo; path. Note the English semicolon; separate, at the same time "D:\\APMServ5.2.6\\PHP; D:\\APMServ5.2.6\\PHP\\ext" is my installation path, remember to change your path. 2. Copy the required dll to the System32 folder of the operating system. That is, copy the .dll files under PHP and PHP\\ext to the C:\\WINDOWS\\system32 folder.

Solution 6: The above 5 methods can not be solved, and the extension_dir configuration in php.ini is correct, or not, it may be that PHP has been installed locally, there are some residual files, The windows PATH variable or the dll file copied to C:\\WINDOWS\\system32 is loaded by Apache first, and the dll in the APACHE directory that should be loaded is not loaded. Note: The order of windows loading dll files is specified by the system environment variable PATH. The order of the directory is generally %SystemRoot%\\system32;%SystemRoot%, if there is an error when installing Apache+PHP, "Unable to load dynamic library" error, but the configuration file is correct, it must be Note that there are no files with the same name for different versions of the dll that the current PHP version needs to use.

Solution 7: According to the above 6 methods changed and tried again, tried and changed, also made n times still not, click "Apache settings (A) - view the running 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.\ in Unknown on Line 0 PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0

The above log can clearly determine the reason for the php version. Since PHP version (5.2.6) won't change, the problem is that the version of eAccelerator is compiled with 5.2.9.

Open the D:\\APMServ5.2.6\\Zend\\eAccelerator folder and you will see the eAccelerator.dll file. Search for the keyword containing eAccelerator in the folder D:\\APMServ5.2.6\\PHP. It can be found that only php.ini contains a reference to eAccelerator.dll. The only key now is to download the 5.2.9 version of eAccelerator. After looking for a long time, I finally found the download address: http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds, pay attention to download eAccelerator 0953 for PHP 5.2.9, don't Wrong the file, put it directly into the D:\\APMServ5.2.6\\Zend\\eAccelerator folder, and then go to the php.ini file to [eaccelerator] zend_extension_ts="D:/APMServ5.2.6/zend/eAccelerator/eAccelerator.dll" is changed to [eaccelerator] zend_extension_ts="D:/APMServ5.2.6/zend/eAccelerator/eAccelerator0953_5.2.9.dll" It is fine. Note: The related path mentioned above is set according to your own decompression of AMPServ. Path, the system used is windows 2003 server.

----------- I am a lovely divider-----------

By the way, APMServ5.2.6 default mysql installation After the root account password is empty, this is very insecure and needs to be changed.

Start - Run - Enter cmd to 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;

Copyright © Windows knowledge All Rights Reserved