sdk PHP : PHP CLI

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • sdk PHP : PHP CLI

    Hi,

    i try to use functions of SDK in PHP in the system command line.
    I do

    Source Code

    1. c:\wamp\bin\php\php5.2.6\php.exe test.php


    where test.php is

    Source Code

    1. $connection = palo_register_server(CONN, HOST, PORT, USER, PASS);


    but it doesn't work.
    I have the error :
    Warning: Exception caught! ConnectionException: MaximumServerRetrysReachedException : Maximum number of retries to contact the server reached in C:\wamp\www\tests\test.php on line 3


    test.php is OK when called since Firefox or IE

    What happens ?