LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   PHP Fatal error: Class 'COM' not found (http://www.litespeedtech.com/support/forum/showthread.php?t=6219)

Metalik 09-09-2012 05:40 AM

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

NiteWave 09-09-2012 06:44 AM

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)


All times are GMT -7. The time now is 02:26 AM.