Home  >  Article  >  Backend Development  >  What is the php error code 0xc0000135?

What is the php error code 0xc0000135?

藏色散人
藏色散人Original
2021-02-20 09:24:142397browse

php error code 0xc0000135 is related to the compiler. The solution is: first check the corresponding compiler according to different PHP versions; then install "VC 2012"; finally run "phpinfo()".

What is the php error code 0xc0000135?

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

Configuring ASP PHP environment under IIS7.5 and error handling (0xc0000135)

http://user.qzone.qq.com/93701178/blog/1398155812

The operating system is updated to Win7 or Win8, and IIS is also followed. After upgrading to 7 and 7.5, for testing needs, I set up a PHP platform under Windows, which is much more convenient to use.

Follow the normal steps, enable the IIS function in the program installation (enable or turn off Windows functions)

Select all the options related to IIS, so that you can basically use the Web normally And asp function, but PHP is not possible.

Downloadphp5.5.10, unzip it to C:\PHP,

Install PHPManager

Modify the configuration file:

date.timezone = "Asia/Shanghai"

Add or delete the function of the extension library (extension=mysql.dll, etc.)

Click checkinfo() in PHP Manager. If you are lucky, the phpinfo() probe page will appear. Congratulations!

Unfortunately, it didn’t go so smoothly for me. An HTTP 500.0 error occurred. There was a detailed error description, but I couldn’t figure it out at all!

It doesn’t matter, find the specific error code inside, such as 0xc0000135, different machines may have different error codes, mine is 0xc0000135, Baidu , I found that this error is related to the compiler. Generally, it requires a .net compilation environment on the running machine. I tried to install .net3.5, .net4.0 and still failed. What a blow!

I tried VC 2008 runtime again, but it still failed. [Recommended study: "PHP Video Tutorial"]

Check out similar situations that some people encountered on the Internet and solved them in this way. How to respond? thing? After searching for the error code (0xc0000135), I saw someone reporting that the UPUPW PHP integrated environment sometimes encounters such errors. The corresponding compilers are different according to different PHP versions. Now I suddenly became enlightened and found the source of the problem.

Microsoft Visual C 2012 (32-bit) (php5 compiled by VC11. 5 series 32-bit version must be installed)

Microsoft Visual C 2012 (64-bit) (php5.5 series 64-bit compiled by VC11 Version must be installed)

Microsoft Visual C 2010 SP1 (32/64 bit) (Required for some components compiled by VC10)

Microsoft Visual C 2008 SP1 (32/64 bit) (Required for 5.3/5.4 series compiled with VC9)

Microsoft Visual C 2005 SP1(32 /64-bit) (Must be installed for PHP5.2 series compiled with VC6)

After installing VC 2012, phpinfo() appeared smoothly!

At this point, Win8 IIS7.5 ASP PHP should be successfully built. But there may also be a small episode, that is, phpinfo() can be run in PHP Manager, but a PHP script written by oneself cannot run normally. The page displays blank and no error is reported.

I was puzzled at first, but finally found out that it was not a configuration problem, but a script editing problem.

Solution:

Just convert the script into utf8 encoding format . It is best to use a special editor such as DW or Notepad, Editplus, etc.

The above is the detailed content of What is the php error code 0xc0000135?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]