-
Notifications
You must be signed in to change notification settings - Fork 631
Any way to have PHPMyAdmin included in the vm? #31
Comments
Do you have any requirements for the installation or is a default installation enough? |
Default would be fine, I just want a nice GUI for working with mysql from the vm :) I ended up getting it working by adding this to the end of my manifests/default.pp file: exec { "phpmyadmin apache conf": |
Not sure if that is the recommended way but it seems to work under my 12.04.02 LTS vm; that was after adding 'phpmyadmin' to the packages-to-be-installed section |
We can add a per-vhost checkbox
|
I think it's the only thing missing from an otherwise perfect setup :) This is a really neat project! I probably wouldn't be the only one who would look to use phpmyadmin out of the gate. |
@jtreminio I would work on this issue after the current PRs are merged for avoiding merge conflicts or did you already work on this issue? |
i did like @Surreal9 i was first a bit lost about installing phpmyadmin and not finding it in host/phpmyadmin je. |
I have to change the used nginx puppet module as we currently are not able to define the vhost for phpmyadmin as we want :/ |
i did this exec { "phpmyadmin apache conf": |
@AV4TAr That means that you have already phpMyAdmin installed and configured properly on your machine. But this however is currently not possible with puPHPet. As I mentioned there is no problem with the apache part.
|
Luckily nginx module did not have to be replaced. phpMyAdmin will be reachable under http://phpmyadmin (new entry in your hosts file is needed) when the PR passes. |
Added phpMyAdmin integration fixes #31
Hey guys, thanks for adding this in. I don't know if the current implementation of using a vhost is preferable to the default config which creates an alias.. I actually prefer the alias since it doesn't force me to use a hostname for a given VM's phpmyadmin, I can just go to mybox/phpmyadmin, easier to work with multiple vm's if required.. anyway just my 2 cents; either way thanks for looking at it. I'll probably just look to adjust my manifest again. |
The aliasing is also my prefered way. However I had a lot of problems defining an according location for nginx (no problem at all with apache). Therefore we decided to skip aliasing in the first step. |
It'd be great if the puphpet homepage mentioned that the hosts file needed to be edited to access phpmyadmin - took me a while to nail down this thread to find that info. |
It does say this somewhere. On Mon, Aug 19, 2013 at 9:09 AM, dabernathy89 notifications@github.comwrote:
|
@w2pc here's what I see: |
You're right I don't see it on there. I am pretty sure it talked about this On Mon, Aug 19, 2013 at 9:19 AM, dabernathy89 notifications@github.comwrote:
|
I can add the 'phpmyadmin' package to be installed, and it is, but the alias isn't made in the apache config to serve it. Any suggestions how this could be done?
The text was updated successfully, but these errors were encountered: