Skip to content

Unable to load apc and soap libraries #19

Closed
imuino opened this Issue Oct 10, 2012 · 3 comments

3 participants

@imuino
imuino commented Oct 10, 2012

Hi,
When the compilation get to php, it throws the following errors.

PHP Warning: PHP Startup: Unable to load dynamic library '/app/php/ext/apc.so' - /app/php/ext/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/app/php/ext/soap.so' - /app/php/ext/soap.so: cannot open shared object file: No such file or directory in Unknown on line 0

I read on another issue that apc should be compiling with the latest version of this repo.

Any idea what could be the issue here?

Thanks in advance.

@sumkincpp sumkincpp referenced this issue in sumkincpp/heroku-buildpack-symfony2 Feb 25, 2013
@iphoting iphoting Suppress user/group directive ignored info messages from php-fpm.
Fixes #19.
048d14a
@dzuelke
dzuelke commented Apr 30, 2014

ext/soap is now available in the new version of PHP support on Heroku (but not APC, since it's been superseded by Opcache in 5.5). Check out the blog post and the Dev Center category with the Getting Started Guide and other resources!

Specifically, to enable the SOAP extension, require it in your composer.json like so:

{
  "require": {
    "ext-soap": "*"
  }
}
@dzuelke dzuelke closed this Apr 30, 2014
@rajeevdubey004

not working and still getting FATAL ERROR "SoapClient class is not found"
Below is the attached log
2015-08-12T06:59:12.228052+00:00 app[web.1]: [12-Aug-2015 06:59:12 UTC] PHP Fata
l error: Class 'SoapClient' not found in /app/web/soapclient/SforcePartnerClien
t.php on line 44

@dzuelke
dzuelke commented Aug 12, 2015

Please read the documentation at https://devcenter.heroku.com/articles/php-support#using-optional-extensions carefully and follow all steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.