Possible issues with buildpack with Mediawiki
See original GitHub issueWhat version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version
?
{ “name”: “Bluemix”, “build”: “270030”, “support”: “http://ibm.com”, “version”: 0, “description”: “IBM Bluemix”, “authorization_endpoint”: “https://login.w3ibm.bluemix.net/UAALoginServerWAR”, “token_endpoint”: “http://uaa.w3ibm.bluemix.net”, “min_cli_version”: null, “min_recommended_cli_version”: null, “api_version”: “2.92.0”, “app_ssh_endpoint”: “ssh.w3ibm.bluemix.net:2222”, “app_ssh_host_key_fingerprint”: “b6:98:0b:3e:33:1e:c1:51:1b:3f:06:6e:3f:da:6f:d9”, “app_ssh_oauth_client”: “ssh-proxy”, “doppler_logging_endpoint”: “wss://doppler.w3ibm.bluemix.net:443” }
cf version 6.41.0+dd4c76cdd.2018-11-28
What version of the buildpack you are using? 4.3.78 (https://github.com/cloudfoundry/php-buildpack.git)
If you were attempting to accomplish a task, what was it you were attempting to do?
I was attempting to install Mediawiki 1.32.2 by following their basic installation guide on their page, however, I run into “MediaWiki now also has some external dependencies that need to be installed via composer or from a separate git repo. Please see mediawiki.org for help on installing the required components.”
Upon several googling I found a guide that told me to remove a specific file ( I forgot what it was and can’t find the link) and it allowed me to get past this issue but then I had the issues that I was missing the extensions mbstring, & fileinfo.
To see if this was just me failing to install Mediawiki, I tried to install phpMyAdmin, and I run into the issues that mysqli extension is also missing.
However, I have installed both MediaWiki and phpMyAdmin locally without any issues…so I am wondering if it could be the build pack, as I am trying to replicate an app someone had previously created. They use the same Mediawiki software but under build pack on cloud foundry it just says “no runtime” instead of “PHP_BUILDPACK”
I have tried following comments from this link but no luck: https://github.com/cloudfoundry/php-buildpack/issues/214
What did you expect to happen?
I expected to run into the media wiki install page. I did this locally to confirm I was doing the right steps and and I got successfully to the installation page.
What was the actual behavior?
I get the error that I must use composer to install external dependencies but I did…
Please confirm where necessary:
- I have included a log output
- My log includes an error message
- I have included steps for reproduction
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
There may be multiple things going on here. It’s hard to tell though as there’s not a lot of detailed info here.
If you’re missing extensions, then you likely just need to add an ini snippet and tell PHP to load them. All the ones you mentioned are included with the buildpack but not turned on by default.
https://docs.cloudfoundry.org/buildpacks/php/gsg-php-config.html#php-extensions
As far as the other issues, try what’s on #214 again and try to be more specific about documenting what you’re doing. Include error messages & logs as well as the specific configuration that you’re using.
Hope that helps!
THANK YOU!
I was able to fix the directory and be able to successfully get to the install page. Thanks so much for your patience!