Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 2.0 on OSX 10.6.6
#1

[eluser]Unknown[/eluser]
Hey guys,

Not sure where I am going wrong with this at the moment wondering if anyone has any pointers.

I have enabled sharing, http://localhost/ says "It Works" and http://localhost/~user serves the default index.html under Sites.

I downloaded CI 2.0 into the Sites directory.

I edited Application/config/config.php to have base url http://localhost/~user/CI/.

When browsing http://localhost/~user/index.php/welcome I was getting 403 Access forbidden. Searched around online and thought it may be permission error? Changed the folder permission to read for everyone.

Now when I try http://localhost/~user/index.php/welcome it says file not found. I stripped back to the index.php and it displayed the php file.

I'm not sure what I'm doing wrong at this stage. Any help appreciated.

Cheers,
#2

[eluser]bubbafoley[/eluser]
you probably need to configure Apache to work with php and mysql. If you aren't comfortable with doing that then take a look a MAMP.

http://www.mamp.info/en/index.html

I prefer it when developing on a Mac.
#3

[eluser]iloveci[/eluser]
Yeah I've setup CI2 on MAMP and it runs fine. So it's probably a mis-configuration somewhere with your webserver/php/mysql setup.




Theme © iAndrew 2016 - Forum software by © MyBB