Apache is configured to load modules that cannot be loaded after rebooting, but other integrated environments can

Source: Internet
Author: User
Tags phpinfo

The visual AMP integration environment is detected with phpinfo.php, and the Server API shows cgi/fastcgi such as,
Do not display the details below Apache2handler, for example,

These graphs have a loaded modules that shows the modules that have been loaded, not the modules that have been loaded, that are not loaded successfully.
Other integrated environments such as Wamp Appserv are detected with phpinfo.php, and the Server API shows Apache 2.0 Handler such as

, that is, Apache has loaded modules that are relevant to success.
Found using the Server API in phpinfo.php can display the Apache 2.0 handler, in the Apache configuration file
Httpd.conf There is such a sentence LoadModule php5_module ". /php/php5apache2_4.dll "
The PHP5 version is divided into 2, one is None thread safe (NTS, non-thread safe) and the other is thread safe (TS, thread safe),
The PHP version of NTS does not contain the Php5apache2_4.dll file, which means that the module cannot be loaded with the load module,
The other is the TS version, which has php5apache2_4.dll this file, according to the logic can be loaded with load module to support,
Back in the visual AMP integration environment, load the file with the load module in its own Apache httpd.conf, and restart
Apache, the Server API is still showing cgi/fastcgi, and there is no apache2handler details below, such as

。 That is, Apache cannot load many modules.
I don't know what else to do. The visual amp can be used to display the module information that has been loaded (it has been configured to load many modules. )

Reply content:

The visual AMP integration environment is detected with phpinfo.php, and the Server API shows cgi/fastcgi such as,
Do not display the details below Apache2handler, for example,

These graphs have a loaded modules that shows the modules that have been loaded, not the modules that have been loaded, that are not loaded successfully.
Other integrated environments such as Wamp Appserv are detected with phpinfo.php, and the Server API shows Apache 2.0 Handler such as

, that is, Apache has loaded modules that are relevant to success.
Found using the Server API in phpinfo.php can display the Apache 2.0 handler, in the Apache configuration file
Httpd.conf There is such a sentence LoadModule php5_module ". /php/php5apache2_4.dll "
The PHP5 version is divided into 2, one is None thread safe (NTS, non-thread safe) and the other is thread safe (TS, thread safe),
The PHP version of NTS does not contain the Php5apache2_4.dll file, which means that the module cannot be loaded with the load module,
The other is the TS version, which has php5apache2_4.dll this file, according to the logic can be loaded with load module to support,
Back in the visual AMP integration environment, load the file with the load module in its own Apache httpd.conf, and restart
Apache, the Server API is still showing cgi/fastcgi, and there is no apache2handler details below, such as

。 That is, Apache cannot load many modules.
I don't know what else to do. The visual amp can be used to display the module information that has been loaded (it has been configured to load many modules. )

  • 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.