For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Sridhar_111831's avatar
Sridhar_111831
Icon for Nimbostratus rankNimbostratus
Mar 04, 2014

Icontrol and PHP

I'm new to this and working with icontrol. I've executed many php pulling information from icontrol through CGI. However, i'm unable touse the below code,it comes up with blank page :

 

https://devcentral.f5.com/wiki/iControl.Getting-Started-with-iControl-and-PHP.ashx?NS=iControl

 

do i need to import or download WSDL into my web server? Please clarify or direct me to any help

 

thank you.

 

4 Replies

  • Two things:

     

    1. Can you enable display_errors in your PHP config to see if any errors are actually getting reported, and

       

    2. Do you have the SOAP module enabled?

       

  • SOAP Enabled..

     

    [soap] soap.wsdl_cache_enabled=1 soap.wsdl_cache_dir="/tmp" soap.wsdl_cache_ttl=86400

     

    and error enabled.. but none reported.. kinda of strange

     

  • look in your php.ini and make sure the SOAP library extension isn't commented out.

    extension=php_soap.so
    
  • Hey, your suggestion helped. The SOAP.so directory was incorrect hence i added the following which fixed.

     

    extension_dir =

     

    Thank you so much.