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.
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.