Web Design and Development Forums

[SOLVED] my MAMP won't play ball with php

This is a discussion on "[SOLVED] my MAMP won't play ball with php" within the PHP Forum section. This forum, and the thread "[SOLVED] my MAMP won't play ball with php are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > PHP Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old May 2nd, 2008, 14:15   #1 (permalink)
Up'n'Coming Member
 
Join Date: Mar 2006
Location: UK
Posts: 85
[SOLVED] my MAMP won't play ball with php

A couple of weeks ago I installed MAMP on my mac and made my first php pages [ woohoo! which worked just fine, nothing fancy but working!

Come back to them today and they don't work any more. The MAMP welcome page tells me its working ok, servers are started etc. but none of my pages with php included work as previously.

I uploaded my php pages to my remote server to check them that way in Fireworks and all I see is the source code rather than the actual page.

Can anyone help me check if php/MAMP is working properly?

cheers!
snappy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 14:32   #2 (permalink)
Junior Member
 
Join Date: Apr 2007
Location: Kansas
Age: 18
Posts: 33
Send a message via AIM to BRONIC
re: [SOLVED] my MAMP won't play ball with php

are you using include "file.php"

or is the code in the files.

if the code is in the files then it has to be saved as .php and not .html

do you have a link?
BRONIC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 15:00   #3 (permalink)
Up'n'Coming Member
 
Join Date: Mar 2006
Location: UK
Posts: 85
re: [SOLVED] my MAMP won't play ball with php

the main file is .php and the included files are .html.
they were working fine last week.
snappy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 15:01   #4 (permalink)
Junior Member
 
Join Date: Apr 2007
Location: Kansas
Age: 18
Posts: 33
Send a message via AIM to BRONIC
re: [SOLVED] my MAMP won't play ball with php

do you have a link
BRONIC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 15:23   #5 (permalink)
Up'n'Coming Member
 
Join Date: Mar 2006
Location: UK
Posts: 85
re: [SOLVED] my MAMP won't play ball with php

The files are all on my local server. there is no problem with the files themselves as they worked fine earlier. The problem is with MAMP and php rendering on my mac.

Does anyone have experience of MAMP instability?
snappy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 15:34   #6 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
re: [SOLVED] my MAMP won't play ball with php

Mamp can sometimes report itself as running, when infact its not, open up preferences change a preference and change it back, ok it and see if that works.
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 15:56   #7 (permalink)
New Member
 
Join Date: Jan 2008
Location: London, UK
Posts: 4
Send a message via ICQ to ooyes Send a message via Skype™ to ooyes
re: [SOLVED] my MAMP won't play ball with php

i don't know read apache docs
ooyes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 18:29   #8 (permalink)
Reputable Member
 
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 294
re: [SOLVED] my MAMP won't play ball with php

Have you upgraded the Mac? I have see httpd configurations get lost:

http://www.wellho.net/mouth/1449_Upg...nfig-lost.html


and that includes the PHP load lines (which are, as I recall, commented out by default)
__________________
Graham Ellis ...
Open Source trainer with Well House Consultants
grahame is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 9th, 2008, 10:45   #9 (permalink)
Up'n'Coming Member
 
Join Date: Mar 2006
Location: UK
Posts: 85
re: [SOLVED] my MAMP won't play ball with php

httpd.conf is still in the same place - in 'apache' in the conf folder in mamp files.

I got it working again the other night by reinstalling mamp and also using something called headdress which is supposed to configure everything for you. I'm not sure which of these fixed the problem as it suddenly started working.

Alas, the problem is not solved. Today its not working again and I'm back to square one. Can anybody tell me exactly what my httpd.conf file should look like?
snappy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 15th, 2008, 14:46   #10 (permalink)
Up'n'Coming Member
 
Join Date: Mar 2006
Location: UK
Posts: 85
re: [SOLVED] my MAMP won't play ball with php

I seem to have got to the bottom of this, so if it helps anyone else I'll explain.

Start up MAMP. In 'preferences' go to 'ports' tab and click Reset MAMP ports. Apache Port is now 8888 and MySQL Port is 8889 on my machine. Now I can view my PHP files again, yipee!!

Let's hope it stays that way! and Lets hope this doesn't cause me more problems along the line, who knows?
snappy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] simple catch the ball game ahwell Flash & Multimedia Forum 10 Jan 25th, 2008 22:58
Looking for random bouncing ball bubberz Flash & Multimedia Forum 1 Oct 24th, 2007 21:35
Ecopa-ball speakma Free Web Site Critique 4 May 22nd, 2007 11:31
Spot the ball website markyfarms Flash & Multimedia Forum 1 Jan 2nd, 2006 15:51
Glass Ball tutorial always fails autumn_whispers2me Graphics Forum 2 Jan 26th, 2005 20:48



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 19:24.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59