October 19, 2016 at 16:53 #10935
it is posible to have PHP with php_soap extension enabled?
I built a php page with phpinfo() function and I don’t see php_soap option…
Let me know.
TyOctober 20, 2016 at 06:55 #10937October 20, 2016 at 15:03 #10940
I downloaad it with wget and installed using ‘opkg install
‘command but in my info.php extension php_soap is not present..
Could you add also php_xmlrpc extension? I would to make a SOAP webservice …October 20, 2016 at 21:08 #10941
Well, I enabled SOAP support in PHP and phpinfo now says something about SOAP, which it did not do before. However, googling a bit more reveals that your “php_soap” is probably a 3rd-party package that is not part of PHP itself. So it would have to go into a separate *.opk as well. I don’t have time to look into that before middle of next week…October 21, 2016 at 08:16 #10942
Take your time man. You and Tom are doing a wonderfull work!
Wait some day/weeks/months is not a problem. ^_^
Thanks a lot!
December 1, 2016 at 14:25 #11289
- This reply was modified 1 year, 7 months ago by skelos.
Could I ask an update also for this?December 28, 2016 at 11:34 #11345
I’ve made a new version of PHP for CuBox-i. It reports:
soap Soap Client enabled Soap Server enabled Directive Local Value Master Value soap.wsdl_cache 1 1 soap.wsdl_cache_dir /tmp /tmp soap.wsdl_cache_enabled 1 1 soap.wsdl_cache_limit 5 5 soap.wsdl_cache_ttl 86400 86400 xmlrpc core library version xmlrpc-epi v. 0.51 php extension version 0.51 author Dan Libby homepage http://xmlrpc-epi.sourceforge.net open sourced by Epinions.comDecember 30, 2016 at 09:45 #11354
Here is another version of PHP. Besides the changes mentioned above, it needs a little bit less memory. This is achieved by always using the build-in “mysql native driver” (i.e. do not require mysqlclient libs) and by using the shared version of sqlite3, which is installed on Geexbox anyway.February 21, 2017 at 17:56 #11494
Actually I use PHP 5.4.12 as you are shown and I wrote sample HelloWorld method in my webservice using this guide (http://www.herongyang.com/Web-Services/PHP-SOAP-Server-Example-HelloServer.html) and it works fine.
Using these Client/Server php script I can also read and write from a MySql DB running on Geexbox.
But if I ask for WSDL to http://localhost/webservice/HelloServer.php?wsdl this is what browser shown :
SOAP-ENV:ServerWSDL generation is not supported yet
Do you know why?February 23, 2017 at 08:17 #11495February 23, 2017 at 14:11 #11498
Yesterday I saw this. But I try to install it via webconsole. It is not fully compatible for install it.
Now I tried with a telnet session. This is the output:
root@geexbox:~# php composer-setup.php
All settings correct for using Composer
Composer (version 1.3.2) successfully installed to: /root/composer.phar
Use it: php composer.phar
root@geexbox:~# php composer.phar require zendframework/zendframework Do not run Composer as root/super user! See https://getcomposer.org/root for details Your version of PHP, 5.4.12, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
But Geexbox has only root user.
What I can do for have a workaround? May be a php update as suggested here ?
You must be logged in to reply to this topic.