php-buildpack: cakephp + composer problems
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?
jeandeklerk at Jeans-MacBook-Pro in /tmp/my_app_name
$ cf curl /v2/info
{
"name": "",
"build": "",
"support": "https://support.run.pivotal.io",
"version": 0,
"description": "Cloud Foundry sponsored by Pivotal",
"authorization_endpoint": "https://login.run.pivotal.io",
"token_endpoint": "https://uaa.run.pivotal.io",
"min_cli_version": "6.22.0",
"min_recommended_cli_version": "latest",
"api_version": "2.74.0",
"app_ssh_endpoint": "ssh.run.pivotal.io:2222",
"app_ssh_host_key_fingerprint": "e7:13:4e:32:ee:39:62:df:54:41:d7:f7:8b:b2:a7:6b",
"app_ssh_oauth_client": "ssh-proxy",
"routing_endpoint": "https://api.run.pivotal.io/routing",
"logging_endpoint": "wss://loggregator.run.pivotal.io:443",
"doppler_logging_endpoint": "wss://doppler.run.pivotal.io:443",
"user": "d96e6ba9-bd4d-486e-b7eb-0f2eb0df8967"
}
jeandeklerk at Jeans-MacBook-Pro in /tmp/my_app_name
$ cf version
cf version 6.22.1+6b7af9c-2016-09-24
What version of the buildpack you are using?
Whatever is on PWS.
If you were attempting to accomplish a task, what was it you were attempting to do?
Push the generic bake app (the thing cakephp prebuilds as a starter project).
What did you expect to happen?
It runs properly.
What was the actual behavior?
It can’t find vendor/autoloader.php.
Fatal error: require(): Failed opening required '/home/vcap/app/htdocs/vendor/autoload.php' (include_path='.:') in /private/tmp/my_app_name/bin/cake.php on line 31
Furthermore, when I cf ssh in I see that /home/vcap/app/htdocs is entirely missing a vendor folder, despite bake giving me a composer.json.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 33 (2 by maintainers)
#243 might be related
Closing this due to inactivity.