I use a digital ocean as a server. SoapClient phpinfo() is not found. I am running the following code in the terminal.
1- sudo apt-get install php-soap
2- sudo systemctl restart apache2
Then I reset the server. But again phpinfo() is not seen.
How can i install digital ocean a SoapClient.
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If you installed Apache and PHP on your own, you’ll need to make sure that this package is installed for PHP to work:
libapache2-mod-php7.0
You’d replace 7.0 with the PHP version that corresponds to the version you’re wanting to install. This is the package that installs mod_php, which Apache needs to handle PHP requests.
I’d also recommend using the actual soap package that is available:
php7.0-soap
You can fetch a list of available packages by running:
apt-cache search php7.0
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.