Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Issue with PHP version 5.4.5, class 'COM' not found |
|
Author |
|
hankman
Joined: 08 Jan 2008 Posts: 24 Location: Veghel, NL
|
Posted: Sat 21 Jul '12 0:01 Post subject: Issue with PHP version 5.4.5, class 'COM' not found |
|
|
Hi,
Today I updated my webservers with the new php 5.4.5 version. I'm using a php script to monitor the servers, checking WMI parameters.
Now the script won't run anymore and php reports the following error: Fatal error: Class 'COM' not found in C:\apache24\htdocs\wserver\wmicheck.php on line 15.
Maybe someone else experienced the same thing, class 'COM' not found.
At php.net there was already someone else reporting the same bug. I reinstalled php 5.4.4 and everything runs like clockwork again. Now I just wait until php.net fixes this bug!
Regards to you all! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
hankman
Joined: 08 Jan 2008 Posts: 24 Location: Veghel, NL
|
Posted: Sat 21 Jul '12 1:41 Post subject: |
|
|
Your answer is not satisfying. Why don't you explain this the right way ?
The given link does not enlighten the problem!!!
I've found the following on the internet:
As of PHP 5.4.5 and above the COM extension isn't compiled into PHP anymore.
It'll still be delivered with the standard PHP release but must be enclosed with the "extension = php_com_dotnet.dll" directive in php.ini.
Is it so difficult to give me such a decent and explaining answer?
But thanks, it was somewhat helpfull to find the way to fix the error.
Admin note:
Please do not use such a tone. James pointed you to the correct direction, so be happy with his answer. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 21 Jul '12 11:02 Post subject: |
|
|
James Blond wrote: | You need to load an extension from the ext folder. |
That was a correct answer and the forum link told you which dll to load |
|
Back to top |
|
anusinghjan2
Joined: 12 Aug 2013 Posts: 1 Location: india
|
Posted: Mon 12 Aug '13 12:15 Post subject: |
|
|
Hi, I tried to add "extension=php_com_dotnet.dll" in php.ini file then too I am getting error "Fatal error: Class 'COM' not found in C:\xampp\htdocs\..."
Is there any other solution?? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 12 Aug '13 14:13 Post subject: |
|
|
In your php.ini
display_startup_errors = On
which version of exampp do you use? |
|
Back to top |
|
|
|
|
|
|