Com_create_guid () not defined: restores a fatal error

I am using PHP 5 on my dedicated Linux server

5.2.6 (cli) (built: May 7, 2008 01:11:22) Copyright (c) 1997-2008 PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

but the com_create_guid function does not work for me returning this error message

Fatal error: call undefined Function com_create_guid () in /var/www/html/mysite/application/modules/consultant/models/Consultant.php on line 34

I checked http://in.php.net/com_create_guid . It says that you just need PHP5 (and I have it) but this function does not work: (

Please help everyone!

+4
source share
1 answer

COM functions are only available on Windows .

COM functions are only available for the Windows version of PHP.

Support

.Net requires PHP 5 and .Net runtime.

+15
source

All Articles