undefined function: 'version_compare'.
3 posts
• Page 1 of 1
undefined function: 'version_compare'.
Hello,
I've just installed Phalanger on my Windows 2008 R2 and I m trying to run myPhpadmin Under IIS7.
But I get this error :
Error: Call to undefined function: 'version_compare'.
32bit app is enable in my appPool.
And my web.config contains these assemblies :
Any help?
Thanks...
I've just installed Phalanger on my Windows 2008 R2 and I m trying to run myPhpadmin Under IIS7.
But I get this error :
Error: Call to undefined function: 'version_compare'.
32bit app is enable in my appPool.
And my web.config contains these assemblies :
- Code: Select all
<add assembly="PhpNetMySql, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="mysql"/>
<add assembly="PhpNetPDOMySql, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="pdomysql"/>
<add assembly="php_image.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="image" />
<add assembly="php_gd2.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="gd2" />
<add assembly="php_mbstring.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="mbstring" />
<add assembly="php_iconv.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="iconv" />
Any help?
Thanks...
- Stan92
- Posts: 1
- Joined: June 13th, 2013, 9:50 am
Re: undefined function: 'version_compare'.
I suspect you need to add PhpNetClassLibrary assembly, see http://wiki.php-compiler.net/Configuration/3.0 for version/token/section details.
- weirdan
- Posts: 17
- Joined: June 4th, 2013, 1:11 am
Re: undefined function: 'version_compare'.
This is correct. If you are running Phalanger app without installing Phalanger, you have to add PhpNetClassLibrary and PhpNetXmlDOM, which contains basic PHP functions and classes.weirdan wrote:I suspect you need to add PhpNetClassLibrary assembly
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests