I have some example code, at the top of the code is:
require_once('./lib/soap.php');
But get the following error:
Warning: require_once(./lib/soap.php): failed to open stream: No such file or directory in /var/www/vhosts/site.com/httpdocs/test.php on line 1
I'm using PHP7.0.27 and the soap extension is installed and enabled by default and located on the server in directory /opt/plesk/php/7.0/lib/php/modules/soap.so
But I can't find the soap.php, I've tried searching via SSH with:
find . soap.php
But that returns
find: ‘soap.php’: No such file or directory
I've checked the answer at:
PHP - Failed to open stream : No such file or directory
But as I can't find the soap.php file, I'm stuck on what my next step should be. Do I need to set up a whole new soap server as described in this tutorial: https://www.youtube.com/watch?v=e_7jDqN2A-Y or is there a much simpler way of doing this?
Thank you.