Php + apacheextensions loading error cannot record error messages

Source: Internet
Author: User
Tags apache error log
Php + apacheextensions loading error cannot record error messages. I use apache2.2 + php5.4, and I am in php. an Error extensions = xxx is written in ini. dll, and then in php. ini error_log does not see any messages about the dll of this error, and the error in apache logs. log cannot view any dll information about this error.

How can I obtain information about the wrong dll?
This is because I have loaded an additional dll. by checking that phpinfo is not loaded successfully, I just don't know where the error message is.

Hope you can answer this question. thank you!


Reply to discussion (solution)

Php-l will check the syntax error of the configuration file

Or restart the apache server. The apache error log contains records of failed php loading modules.

Php-l will check the syntax error of the configuration file

Or restart the apache server. The apache error log contains records of failed php loading modules.
Hello, as I said, it cannot be found in the apache error log ..
Can you tell me something else to view the error?


Php-l will check the syntax error of the configuration file

Or restart the apache server. The apache error log contains records of failed php loading modules.
Hello, as I said, it cannot be found in the apache error log ..
Can you tell me something else to view the error?

Are you sure you cannot view it?
Yes. the error message is similar to: PHP Warning: PHP Startup: Unable to load dynamic library '. /ext \ php_curl22.dll '-\ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xc4 \ xa3 \ xbf \ xe9 \ xa1 \ xa3 \ r \ n in Unknown on line 0

The red part is a nonexistent extension I added.
If not, it is likely that the modified php. ini file is not the actual INI file used by php.

Restart apache to load the new dll.



Php-l will check the syntax error of the configuration file

Or restart the apache server. The apache error log contains records of failed php loading modules.
Hello, as I said, it cannot be found in the apache error log ..
Can you tell me something else to view the error?

Are you sure you cannot view it?
Yes. the error message is similar to: PHP Warning: PHP Startup: Unable to load dynamic library '. /ext \ php_curl22.dll '-\ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xc4 \ xa3 \ xbf \ xe9 \ xa1 \ xa3 \ r \ n in Unknown on line 0

The red part is a nonexistent extension I added.
If not, it is likely that the modified php. ini file is not the actual INI file used by php.

Are you sure you want to modify the corresponding php. ini? that error is not seen. That's strange. PS: I have a 64-bit system. isn't that an influence?

Php-l will check the syntax error of the configuration file

Or restart the apache server. The apache error log contains records of failed php loading modules.
Let me show you a picture:
This is my php. ini settings


Let's take a look at apache error. log.


Make sure that the same php. ini referenced by the same apache is correct. I restarted apache's

My php5.4 is missing in php?
I added the php home directory and ext to the path environment variable!



Php-l will check the syntax error of the configuration file

Or restart the apache server. The apache error log contains records of failed php loading modules.
Hello, as I said, it cannot be found in the apache error log ..
Can you tell me something else to view the error?

Are you sure you cannot view it?
Yes. the error message is similar to: PHP Warning: PHP Startup: Unable to load dynamic library '. /ext \ php_curl22.dll '-\ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xc4 \ xa3 \ xbf \ xe9 \ xa1 \ xa3 \ r \ n in Unknown on line 0

The red part is a nonexistent extension I added.
If not, it is likely that the modified php. ini file is not the actual INI file used by php.


The problem has been solved. it is true that no dll exists in apache error. log .. No satisfactory answer

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.