php_soap extension enabled

Home Forums GeeXboX on ARM SoCs php_soap extension enabled

This topic contains 10 replies, has 2 voices, and was last updated by  skelos 5 months, 3 weeks ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #10935

    skelos
    Participant

    Hello,
    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.

    Ty

    #10937

    Warped Rudi
    Keymaster

    Try the PHP package found here.

    #10940

    skelos
    Participant

    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 …

    #10941

    Warped Rudi
    Keymaster

    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…

    #10942

    skelos
    Participant

    Take your time man. You and Tom are doing a wonderfull work!

    Wait some day/weeks/months is not a problem. ^_^

    Thanks a lot!

    • This reply was modified 10 months ago by  skelos.
    #11289

    skelos
    Participant

    Could I ask an update also for this?

    #11345

    Warped Rudi
    Keymaster

    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.com
    
    #11354

    Warped Rudi
    Keymaster

    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.

    #11494

    skelos
    Participant

    Hello,
    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?

    #11495

    Warped Rudi
    Keymaster

    No idea. Maybe this link will give you some info on this.

    #11498

    skelos
    Participant

    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
    Downloading…

    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 ?

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.