eduard Posted February 3, 2011 Author Share Posted February 3, 2011 Programing is dificult! Teaching how programing works is very difficult! (not many persons can do this!) Link to comment Share on other sites More sharing options...
eduard Posted February 3, 2011 Author Share Posted February 3, 2011 Because it is most likely that it is conflicting with an application that is already using that port Ie (the preinstalled Apache), the same thing happen when I installed wamp NO CONNECTY TO WEB SERVEE, it was conflicting with IIS windows server, which was using the same port, and skype. disabling IIS, and forcing skype to use another port fixed this problem.I've got the answer to what port is used 8888, from the MAMP preferences, but STILL no DEFINITE answer on the document root from MAMP preferences.its no good changing the port, and using this new port setting, when the root directory is looking in a totally different location.last time then I'm off. it will get to the point where you will post a topic, and people who have already attempted to help, will just give it a wide birth, and ignore.I agree with you! Also I wrote this before I assume it´s a conflict problem! Your answer is too complicated and I´m now too tired! Tomorrow I´ll solve this problem! (however NOT by these fora!) Link to comment Share on other sites More sharing options...
eduard Posted February 3, 2011 Author Share Posted February 3, 2011 Right! we now know the port settings, but what about my second question htdocs location, I know you are working from '/Applications/MAMP/htdocs', BUT! is MAMP?Where should I store my HTML and PHP pages? on the web site, DOES IT show under Apache -> document root (as shown in web site example) '/Applications/MAMP/htdocs' without the single quotes.NOTE: it does NOT need to show /Applications/MAMP/htdocs/test, this is to identify THE htdocs (root/ document root / web root / localhost) folder/ directory location.We have established that by your port setting you should be most definitely and absolutely using http://localhost:8888/myfirstpage.php, or if file placed in test folder http://localhost:8888/test/myfirstpage.php.Once we establish that the document root is correct, we can consider changing port setting for Apache, as i mentioned before, Mac sometime come with Apache pre installed and it is looking at this version, instead of the newly installed version. By giving a new port setting, it might not be conflicting with old Apache.I finally found it why my Apache server WASN´T running! Because my keyboard is set to SPANISH and I changed Applications in Aplicaciones in the References menu! That was the error! I think it must be very easy now to run .PHP files! IT´S WORKING! THANKS FOR YOUR HELP! Link to comment Share on other sites More sharing options...
thescientist Posted February 3, 2011 Share Posted February 3, 2011 so all it was was because the path was wrong? Hmm.. if only that had been brought up sooner...... Link to comment Share on other sites More sharing options...
eduard Posted February 3, 2011 Author Share Posted February 3, 2011 so all it was was because the path was wrong? Hmm.. if only that had been brought up sooner...... Only? Strange? I hope you know they speak spanish here, not american english! Link to comment Share on other sites More sharing options...
boen_robot Posted February 3, 2011 Share Posted February 3, 2011 Only? Strange? I hope you know they speak spanish here, not american english!That doesn't imply that your file paths would be different. Nevertheless, the possibility of the path not being correct was brought up, which is what thescientist was ironically referring to. Link to comment Share on other sites More sharing options...
dsonesuk Posted February 3, 2011 Share Posted February 3, 2011 Which was mentioned in post #3, by... wait for it, OH what do you know, IT WAS ME! only took you 25 more post to finally look properly and carry out my suggestion. Link to comment Share on other sites More sharing options...
boen_robot Posted February 3, 2011 Share Posted February 3, 2011 It was already smoking, but now it's starting to burn, so... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.