full title:Error: Compilation failed: POSIX named classes are supported only within a class
This error from openID class in Zend Framework. Working fine on other web server except Litespeed.
preg_match() [function.preg-match]: Compilation failed: POSIX named classes are supported only within a class at offset 21
And
Source file: http://framework.zend.com/svn/framework/standard/trunk/library/Zend/OpenId.php
Line 162, 409.
I try to upgrade, downgrade php from 5.3.5 to 5.3.14 but it can not help.
Could you please help me fix this?
Thank you.
This error from openID class in Zend Framework. Working fine on other web server except Litespeed.
preg_match() [function.preg-match]: Compilation failed: POSIX named classes are supported only within a class at offset 21
PHP:
preg_match('|^([^:]+)://([^:@]*(?:[:][^@]*)?@)?([^/:@?#]*)(?:[:]([^/?#]*))?(/[^?]*)?((?:[?](?:[^#]*))?(?:#.*)?)$|', Zend_OpenId::selfUrl(), $reg)) {
PHP:
preg_match('|^([^:]+)://([^:@]*(?:[:][^@]*)?@)?([^/:@?#]*)(?:[:]([^/?#]*))?(/[^?#]*)?((?:[?](?:[^#]*))?)((?:#.*)?)$|', $res, $reg)
Line 162, 409.
I try to upgrade, downgrade php from 5.3.5 to 5.3.14 but it can not help.
Could you please help me fix this?
Thank you.
Last edited by a moderator: