PHP error Fatal error:class ' COM ' not found in solution _php Tutorial

Source: Internet
Author: User
Tags php error
This article to introduce to you the Windows platform PHP error Fatal error:class \ ' com\ ' not found in solution, there is a need to know the friend can refer to.


However, the IIS running on the Win Server 08 to run PHP performance improved a lot, but still feel uncomfortable ...

One day when debugging a win on the PHP production environment, a section of PHP code returned an error:

Fatal error:class ' COM ' not found in xxxxxxxxx
1 Fatal error:class ' COM ' not found in xxxxxxxxx

Did not find the COM class, the PHP code is mainly to call some system information, the first thought should be PHP is not configured, in StackOverflow to find the answer, is to discuss the XAMPP, to extend, I added a few points:

★php the root directory of the Ext folder to ensure that the Php_com_dotnet.dll file is stored

★php.ini Make sure that you have this statement

[Php_com_dotnet]
Extension=php_com_dotnet.dll
1
2 [Php_com_dotnet]extension=php_com_dotnet.dll

★ Start > Run > Services.msc enter > Ensure that the COM + Event System service is turned on

It was built before PHP 5.4.5, but later versions were separated ...

http://www.bkjia.com/PHPjc/632077.html www.bkjia.com true http://www.bkjia.com/PHPjc/632077.html techarticle this article to introduce to you the Windows platform PHP error Fatal error:class \ ' com\ ' not found in solution, there is a need to know the friend can refer to. However, on Win Server 08, go up ...

  • Related Article

    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.