LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > PHP Fatal error: Class 'COM' not found

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2012, 05:40 AM
Metalik Metalik is offline
Member
 
Join Date: Aug 2012
Posts: 17
Default PHP Fatal error: Class 'COM' not found

Hello

We have used PHP COM CLASS on our script:
http://www.php.net/manual/en/book.com.php

Code:
[root@localhost logs]# php -v
PHP 5.3.14 (cli) (built: Jun 14 2012 15:38:14)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
"error log" says:
Quote:
Fatal error: Class 'COM' not found in /usr/local/lsws/wm/public_html/final/manager/controller/sale/customer.php on line 1070
Please help how can we enable/active PHP COM Class ?

Regards
Reply With Quote
  #2  
Old 09-09-2012, 06:44 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
http://www.php.net/manual/en/com.installation.php
Quote:
There is no installation needed to use these functions; they are part of the PHP core.
however, http://www.php.net/manual/en/com.requirements.php:
Quote:
COM functions are only available for the Windows version of PHP
so your php script can't run on linux + php + apache(or litespeed)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:09 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.