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.
|
|
|
|
|
![]() |
||
[SOLVED] my MAMP won't play ball with php
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[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! |
|
|
|
|||
|
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? |
|
|||
|
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. |
|
|||
|
re: [SOLVED] my MAMP won't play ball with php
do you have a link
|
|
|||
|
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? |
|
|||
|
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.
|
|
|||
|
re: [SOLVED] my MAMP won't play ball with php
i don't know read apache docs
|
|
|||
|
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) |
|
|||
|
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? |
|
|||
|
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? |
![]() |
| Thread Tools | |
|
|
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 and 3D | 2 | Jan 26th, 2005 20:48 |