Welcome Guest, Not a member yet? Register   Sign In
Trouble with setting up CI with OSX
#1

[eluser]savr[/eluser]
Hey everyone. I am using a mac and I'm having some trouble with CI. I am using the PHP and Apache that came with my mac. I am using this format (without CI to see all my files) http://localhost/~name/ The reason im using this format is because I decided to put all my PHP projects in the /users/name/sites/ folder. The problem I'm having is running scripts with code igniter (using the URI format http://localhost/~name/index.php). If anyone could help me out here I would greatly appreciate it for I am excited about using CI.

Thank you guys.
-savr
#2

[eluser]johnwbaxter[/eluser]
I'll admit to not having ever tried this but if you're having trouble, why not just go with MAMP?

http://www.mamp.info/en/mamp.html
#3

[eluser]evanwalsh[/eluser]
Yeah, MAMP is what I use and it works very well. You can even change the location of your htdocs folder to your Sites folder, if it suits your fancy.
#4

[eluser]savr[/eluser]
Yeah I tried MAMP and didn't really like it too much. Is there any other way out besides MAMP? Could I just use my htdocs folder instead? I'm sure this can't be too complicated. The thing that's getting me is how in linux the URLs look like this http://localhost/project/controller/function and in OSX the extra ~name thing is really mixing me up. I'm not sure if that is the problem or if it is my config file that is the problem.
#5

[eluser]Pascal Kriete[/eluser]
You can put the files into the /Library/WebServer/Documents directory to avoid the username segment.

I personally just moved away from apache to lighttpd. I only fire up MAMP to test on php4.




Theme © iAndrew 2016 - Forum software by © MyBB