Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
$service = new NetSuiteService(); fails on Linux server
The first call to instantiate NetSuiteService fails with error "Webservice host must be specified". The OS is ubuntu. Apache, OpenSLL, and PHP are all working.
The error is thrown at this line of code $service = new NetSuiteService(); (NOTE: Exact same code works fine when called form Windows Command Processor)
The only thing I can think of is the library files php_openssl and php_soap but my network administrator assures me these are up to date as well and the extensions are referenced in php.ini (,so for linux and .dll for Windows)
What else may be causing the NetSuiteService instantiation to fail on a Linux server?
0