Author Topic: PHP Version Switcher  (Read 9559 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: PHP Version Switcher
« Reply #15 on: May 26, 2017, 11:47:40 AM »
Install of php 5.3 OK, but always errors for 5.2
IE :
In file included from /tmp/php-build/php-5.2.17/ext/dom/document.c:28:0:
/tmp/php-build/php-5.2.17/ext/dom/php_dom.h:98:10: note: expected 'char *' but argument is of type 'const xmlChar *'
 xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
or/and :
In file included from /tmp/php-build/php-5.2.17/main/php.h:38:0,
                 from /tmp/php-build/php-5.2.17/ext/dom/node.c:26:
/tmp/php-build/php-5.2.17/ext/dom/node.c:1955:40: error: dereferencing pointer to incomplete type
     RETVAL_STRINGL((char *) buf->buffer->content, ret, 1);

Offline
*
Re: PHP Version Switcher
« Reply #16 on: June 21, 2017, 03:46:17 PM »
Hello,

I have a problem with mi PHP Versión Switcher, i'm trying to install a php-ldap module, I foundthis option http://forum.centos-webpanel.com/php/enable-php-ldap-extesion-in-php-5-6-(centos-6)/ , but i can't add new flags to the PHP Version Switcher compiler, can you help me to find a solution?

My CWP Versión is: 0.9.8.333 and the PHP Version is 5.6.30