undefined function: 'version_compare'.

Discussion about the open-source Phalanger [?] project.

undefined function: 'version_compare'.

Postby Stan92 » June 13th, 2013, 9:57 am

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 :
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'.

Postby weirdan » June 17th, 2013, 10:10 am

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'.

Postby Jakub Misek » June 18th, 2013, 10:21 am

weirdan wrote:I suspect you need to add PhpNetClassLibrary assembly
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.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 109 on September 12th, 2020, 1:40 pm

Users browsing this forum: No registered users and 1 guest