dmikusa / cf-php-apache-buildpack

CloudFoundry PHP & Apache HTTPD Buildpack
Apache License 2.0
4 stars 11 forks source link

Application failed to stage #12

Closed narendrachoudhary closed 10 years ago

narendrachoudhary commented 10 years ago

Hi i have tried to deploy the phpmyadmin using the cf-php buildpack but it is failed to stage on my private cloud foundry instance.

dmikusa commented 10 years ago

First off, don't use this build pack. It's been deprecated. Use this one which is its successor.

Second, you need to troubleshoot further and debug the issue. Run "cf logs --recent" and inspect the output. Make sure that you have a MySQL service bound to the application and the application is finding the MySQL service. Note how this code looks at VCAP_SERVICES and pulls out the credentials for the bound service. This may differ on your private CF installation which might use a different name for MySQL services.