Hi,
Can anyone tell me if it is possible to preview a predominantly php based site without uploading to a server? I ask because it’s sometimes inconvienient to keep uploading every minor change I make to the sites I build using webYep and would really like to be able to preview pages in the way that HTML pages can be previewed directly from Freeway.
It has to run on a web server, however the web server can be local as OSX comes with the Apache web server built in. The trick is getting php installed properly on your Mac.
The easiest and most hands-off way to do this is to use MAMP <http://www.mamp.info/en/index.php> unless you want to manually install PHP which isn’t difficult to do but is more labor intensive.
Todd
On Oct 5, 2008, at 11:28 AM, pixelart wrote:
Can anyone tell me if it is possible to preview a predominantly php based site without uploading to a server?
The easiest and most hands-off way to do this is to use MAMP <http://
www.mamp.info/en/index.php> unless you want to manually install PHP
which isn’t difficult to do but is more labor intensive.
Todd
On Oct 5, 2008, at 11:28 AM, pixelart wrote:
Can anyone tell me if it is possible to preview a predominantly php
based site without uploading to a server?
Thanks for posting this Todd. I got it, its free, and tried it and it seems to work great. Haven’t tried the MySQL yet. It took me a long time to figure out that the URL to put in the browser is http://localhost:8888/test.php, where test.php is my test PHP page I put in the “htdocs” directory. I also figured out to use the “filecopy” feature in the FW UpLoad command to get the my FW site in the correct location to test it out.
LLE
On Oct 5, 2008, at 12:53 PM, Todd wrote:
The easiest and most hands-off way to do this is to use MAMP <http://www.mamp.info/en/index.php> unless you want to manually install PHP which isn’t difficult to do but is more labor intensive.
I’m glad you like it, I’m sure you’ll find it a very useful tool.
Todd
On Oct 6, 2008, at 2:51 PM, LLE Freeway wrote:
Thanks for posting this Todd. I got it, its free, and tried it and it seems to work great. Haven’t tried the MySQL yet. It took me a long time to figure out that the URL to put in the browser is http://localhost:8888/test.php, where test.php is my test PHP page I put in the “htdocs” directory. I also figured out to use the “filecopy” feature in the FW UpLoad command to get the my FW site in the correct location to test it out.
LLE
On Oct 5, 2008, at 12:53 PM, Todd wrote:
The easiest and most hands-off way to do this is to use MAMP <http://www.mamp.info/en/index.php> unless you want to manually install PHP which isn’t difficult to do but is more labor intensive.
Hi,
I have been trying this out also - but so haven’t got it working. If you have the time would mind explaining how you you got it working?
Many thanks,
Richard
On 6 Oct 2008, 7:51 pm, LLE wrote:
Thanks for posting this Todd. I got it, its free, and tried it and it
seems to work great. Haven’t tried the MySQL yet. It took me a long
time to figure out that the URL to put in the browser is http://localhost:8888/test.php
, where test.php is my test PHP page I put in the “htdocs” directory.
I also figured out to use the “filecopy” feature in the FW UpLoad
command to get the my FW site in the correct location to test it out.
LLE
I did nothing special. I’m running 10.5.5 on a G5, but that shouldn’t
matter, The app claims to be a UB. I downloaded the MaMp/MAMP Pro dmg,
opened it and dragged the MAMP folder to my Applications folder. The
docs said it has to be in the Application folder or it won’t work. I
opened the MAMP folder and read the ReadME.rtf file. I installed
dashboard widget by doing the copy as per the ReadMe. Using the
dashboard widget. Click on the Start servers button in the widget and
the MySQL and Apache buttons turn green. Click on the “Open Start
Page” and a " Welcome to MAMP" web page appears. Put the following
line of code in a text file with text edit or BBedit, etc, and save as
“Test.php” in the Applications/MAMP/htdocs folder.
The blank browser window should now have the words “hello world!” in
it.
That’s it. I am just looking at trying the MySQL, but haven’t done it
yet.
LLE
On Oct 7, 2008, at 2:11 AM, pixelart wrote:
Hi,
I have been trying this out also - but so haven’t got it working. If
you have the time would mind explaining how you you got it working?
Many thanks,
Richard