PHP Fatal error: Call to undefined function ldap_connect()

126 views
Skip to first unread message

che...@gmail.com

unread,
Feb 20, 2015, 7:33:03 PM2/20/15
to vcap...@cloudfoundry.org
I am using https://github.com/cloudfoundry/php-buildpack with Bluemix and get the above error. Do I need to install ldap extension? Can someone explain the steps?

--Chenulu

che...@gmail.com

unread,
Feb 21, 2015, 9:50:50 AM2/21/15
to vcap...@cloudfoundry.org, che...@gmail.com
Should have read the docs carefully. The docs do mention to define  a .bp-config/options.json file and add "PHP_EXTENSIONS": ["ldap"] 

Daniel Mikusa

unread,
Feb 22, 2015, 9:08:17 AM2/22/15
to vcap...@cloudfoundry.org, che...@gmail.com

That's one way to do it. If you're using composer, you can also include it through composer.json.

Ex:

https://github.com/cloudfoundry/php-buildpack/blob/master/cf_spec/fixtures/app_with_remote_dependencies/composer.json

Dan

--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/0f7e0f9f-3b5b-4f4f-95c5-0bd5b419437e%40cloudfoundry.org.

To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
Reply all
Reply to author
Forward
0 new messages