jamesiarmes / php-ews

PHP Exchange Web Services
http://jamesarmes.com/php-ews/
MIT License
567 stars 302 forks source link

Class 'SoapClient' not found... #543

Closed bazzacad closed 5 years ago

bazzacad commented 5 years ago

Version (1.0.0): PHP version: 7.2 Microsoft Exchange version: Office 365 (2013 I think)

Description of problem: On my development server (CentOS, PHP 5.4), I've setup PHP-EWS & have my page running fine & retrieving calendar events. I've uploaded the page to the production server (Amazon Linux 2, PHP 7.2) & I'm getting this error: Class 'SoapClient' not found in /var/www/vendor/jamesiarmes/php-ntlm/src/SoapClient.php on line 13

I've conferred "/var/www/vendor/jamesiarmes/php-ntlm/src/SoapClient.php" does exist. And php-soap is also installed. Composer wouldn't let me install PHP-EWS without it.

My composer.json is just: { "require": { "php-ews/php-ews": "~1.0" } }

Any suggestions?

bazzacad commented 5 years ago

Grrrrr, never mind. I didn't restart Apache after installing php-soap on the Amazon server.