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