Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JBot

macrumors 6502
Original poster
Jan 9, 2006
271
1
Calgary.Alberta.Canada
I am very new to the PHP language, and am trying to start some tutorials.
I have MAMP installed, and running, i am not sure if i need that? Its a php server, which i believed was necessary.
I am trying to run this example, http://www.kubelabs.com/phpdugg.php
I have in unzipped, and i believe, i have followed these instructions correctly:

1) Download PHPDugg from the kubelabs site
2) Extract the zip file onto your computer
3) Upload all of the files that were in the zip file via ftp to your web host
4) Set the chmod permisions on the includes/config.php file to 0777
5) Open the url where you uploaded the files in your web browser, for example http://demos.kubelabs.com/PHPDugg/
6) You will now be presented with the installation wizard

Except i zipped it to my local hdd. Than i ran in the terminal 'sudo chmod 0777 config.php,' but when i access file:///........../PHPDugg/ it just shows the plain list of files available in that directoy. what am i doing wrong?
 
Take the phpdugg.0.7 folder that you got from the zip file and drag it to the htdocs folder inside your Applications/MAMP folder. Then, in your web browser, go to localhost:8888/PHPDugg.0.7/install/ and you'll get the install thingy.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.