Search code examples
macosapachecodeignitermampvhosts

CodeIgniter site on Virtual Host on Mac without MAMP


I’m keen to find out if there is a way of properly run virtual hosts on a Mac with apache without having to use things like MAMP or WAMP. I have managed to get it to work for a small single page site and it worked seemlessly - However I am having no luck with trying to run a CodeIgniter frameworked site that way.

I would love to hear from anyone who has managed to carry this out successfully. Please let me know!

Thanks a lot.


Solution

  • My advice would be Laravel Valet, which is intended for Laravel, but works well with other frameworks. Support for CodeIgniter is not built-in, but you can always write your own custom driver, or use someone's driver like this written by Github user @rcubitto