skaterdav85 Posted January 16, 2009 Share Posted January 16, 2009 I installed PHP on my mac and it worked fine, but then when i turned off my computer and tried going to that same localhost address, it doenst work anymore. What am i doing wrong? sorry for such a newbie question haha Link to comment Share on other sites More sharing options...
Synook Posted January 16, 2009 Share Posted January 16, 2009 Did you start PHP up again? Link to comment Share on other sites More sharing options...
skaterdav85 Posted January 16, 2009 Author Share Posted January 16, 2009 Did you start PHP up again?no. how do i do that? i couldnt figure it out. Link to comment Share on other sites More sharing options...
jlhaslip Posted January 19, 2009 Share Posted January 19, 2009 How did you install php? Did you use a one-click installer like XAMPP? or did you install the individual pieces? Link to comment Share on other sites More sharing options...
justsomeguy Posted January 19, 2009 Share Posted January 19, 2009 You don't start PHP specifically, you just need to restart the web server software, whatever you used for that. Check the manual for the web server you used to figure out how to start it. Link to comment Share on other sites More sharing options...
skaterdav85 Posted January 20, 2009 Author Share Posted January 20, 2009 How did you install php? Did you use a one-click installer like XAMPP? or did you install the individual pieces?well i went to this link: http://www.entropy.ch/software/macosx/php/and followed the following instructions. i can restart php by just reinstalling everytime, but that takes like 5 minutes each time. im sure theres another way to do it, im just too new at this to know haha. 1. Download the appropriate installation package from the list above. 2. Unpack the compressed .tar.gz file but DO NOT USE StuffIt Expander, use Appleās BOMArchiveHelper or the command line. 3. Double-click the installer package and follow the directions of the installer application.PHP should now be up and running. You can test it by dropping a file named test.php into your Sites folder in your home directory. Into that file, write this line:<?php phpinfo() ?>.Now open up http://127.0.0.1/~your_username/test.php in your web browser.You should see a status table with information about the PHP module. Link to comment Share on other sites More sharing options...
justsomeguy Posted January 20, 2009 Share Posted January 20, 2009 That's a module for Apache, so you just need to figure out how to start Apache on OSX. http://www.google.com/search?client=opera&...-8&oe=utf-8 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.