Docker image to run a quick PHP test server

I had a need to run a PHP-capable web server on my Vagrant box to locally test some Javascript that queried a database via PHP, and then presented that via Google Charts.  This Docker image suited that use case just fine.  Replace <full path to location you want as root> as appropriate:

sudo docker run --name web-server -p 127.0.0.1:80:80 -v /opt/mysql:/var/lib/mysql -v <full path to location you want as root>:/web -d osws/php-web-server

Kristian Golding

View more posts from this author
47 thoughts on “Docker image to run a quick PHP test server
  1. the fat decimator review

    It is the best time to make some plans for the future and it’s time to be happy. I have read this post and if I could I desire to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read more things about it!|

     
  2. fat decimator reviews

    An impressive share! I have just forwarded this onto a co-worker who had been conducting a little homework on this. And he in fact bought me lunch because I found it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending some time to talk about this topic here on your site.|

     
  3. fat decimator review

    I loved as much as you will receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this increase.|

     
  4. fat decimator review

    Excellent goods from you, man. I have understand your stuff previous to and you are just too great. I really like what you’ve acquired here, really like what you are saying and the way in which you say it. You make it enjoyable and you still care for to keep it wise. I can not wait to read far more from you. This is really a wonderful website.|

     
  5. the fat decimator system review

    Hey there! This is my first comment here so I just wanted to give a quick shout out and tell you I truly enjoy reading through your articles. Can you recommend any other blogs/websites/forums that deal with the same topics? Thanks a ton!|

     
  6. the fat decimator system amazon

    Do you have a spam problem on this blog; I also am a blogger, and I was wanting to know your situation; many of us have developed some nice practices and we are looking to swap techniques with others, be sure to shoot me an e-mail if interested.|

     
  7. fat decimator amazon

    Howdy would you mind letting me know which webhost you’re utilizing? I’ve loaded your blog in 3 completely different internet browsers and I must say this blog loads a lot faster then most. Can you recommend a good internet hosting provider at a reasonable price? Thanks a lot, I appreciate it!|

     
  8. fat decimator review

    Hi, I do believe this is a great blog. I stumbledupon it 😉 I am going to return yet again since I book marked it. Money and freedom is the best way to change, may you be rich and continue to guide others.|

     
  9. the fat decimator

    Hello everyone, it’s my first pay a quick visit at this web page, and piece of writing is actually fruitful for me, keep up posting these types of articles or reviews.|

     
  10. kyle cooper book

    Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why waste your intelligence on just posting videos to your site when you could be giving us something informative to read?|

     
  11. the fat decimator diet

    I do not even understand how I ended up here, however I assumed this post used to be great. I do not understand who you might be however certainly you’re going to a well-known blogger in case you are not already. Cheers!|

     
  12. fat decimator logo

    Nice post. I learn something totally new and challenging on blogs I stumbleupon everyday. It will always be useful to read through content from other authors and use a little something from other sites. |

     
  13. fat decimator diet pdf

    I know this if off topic but I’m looking into starting my own blog and was curious what all is needed to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet savvy so I’m not 100 certain. Any suggestions or advice would be greatly appreciated. Appreciate it|

     
  14. fat decimator download

    I have to thank you for the efforts you have put in penning this blog. I’m hoping to check out the same high-grade blog posts from you in the future as well. In fact, your creative writing abilities has inspired me to get my very own site now ;)|

     
  15. complete fat decimator system reviews

    Have you ever considered creating an ebook or guest authoring on other websites? I have a blog based on the same information you discuss and would really like to have you share some stories/information. I know my subscribers would appreciate your work. If you’re even remotely interested, feel free to shoot me an e mail.|

     
  16. fat decimator logo

    I like the valuable information you provide in your articles. I’ll bookmark your weblog and check again here frequently. I am quite certain I’ll learn lots of new stuff right here! Good luck for the next!|

     
  17. complete fat decimator system reviews

    Pretty component of content. I simply stumbled upon your site and in accession capital to say that I acquire in fact loved account your weblog posts. Any way I will be subscribing on your augment and even I achievement you get entry to persistently rapidly.|

     
  18. fat decimator system pdf download

    I’m extremely pleased to discover this web site. I need to to thank you for your time for this particularly wonderful read!! I definitely enjoyed every part of it and i also have you saved to fav to see new information in your web site.|

     
  19. back 2 life program

    Fantastic goods from you, man. I’ve understand your stuff previous to and you’re just extremely excellent. I actually like what you have acquired here, certainly like what you are stating and the way in which you say it. You make it enjoyable and you still take care of to keep it smart. I can’t wait to read much more from you. This is really a tremendous web site.|

     
  20. Miquel Shapouri

    Interesting blog! Is your theme custom made or did you download it from somewhere? A theme like yours with a few simple adjustements would really make my blog stand out. Please let me know where you got your theme. Many thanks|

     
  21. zvodretiluret

    Very nice post. I just stumbled upon your blog and wanted to say that I’ve really enjoyed surfing around your blog posts. In any case I’ll be subscribing to your rss feed and I hope you write again soon!

     
  22. furtdsolinopv

    I’ll right away grab your rss feed as I can not find your e-mail subscription link or e-newsletter service. Do you’ve any? Please let me know so that I could subscribe. Thanks.