akurtula Posted November 4, 2011 Report Share Posted November 4, 2011 Hi I got my first mac few months back and been using MAMP for my websites. I just read an article that said that I could enable "web sharing" from the preferences. This would enable me to view the websites from my mac on my PC. However, this only allowed me to view HTML files. So is there a way to share the MAMP websites? so that I would not only be sharing html but also php and mysql. As I said this is very new to me so I am sorry if I am not using the correct terminology, I hope you can help Thanks Quote Link to comment Share on other sites More sharing options...
newseed Posted November 4, 2011 Report Share Posted November 4, 2011 I am not familiar with MAMP but I have used WAMP in the past. Basically, you need to enable your MAMP to be online and configure it so that it displays php along with the database content. Odds are that the url you use to view it via on a Mac may not be the same when viewed from any other computers whether be a Mac or Pc. There is more to what I am saying here which I believe this is best answered by the the folks at the MAMP Forum. Quote Link to comment Share on other sites More sharing options...
griffer Posted November 5, 2011 Report Share Posted November 5, 2011 If you are just talking about viewing the page locally within your home network, you don't need to turn on OSX's built in webshare. MAMP can share pages perfectly fine, you just need to punch in your mac's ip adress from the PC, and then the port number for MAMP, as far as i recall it runs on a port 8888, so you would have to punch in for instance 192.168.1.10:8888 in the PCs browser Quote Link to comment Share on other sites More sharing options...
newseed Posted November 5, 2011 Report Share Posted November 5, 2011 I have been corrected and the info by Ajoe is valid. Thanks. Quote Link to comment Share on other sites More sharing options...
akurtula Posted November 6, 2011 Author Report Share Posted November 6, 2011 That's great. Thanks; for some reason the styling of wordpress themes dont seem to work. However I'll look into that, thanks Quote Link to comment Share on other sites More sharing options...
falkencreative Posted November 6, 2011 Report Share Posted November 6, 2011 That's great. Thanks; for some reason the styling of wordpress themes dont seem to work. However I'll look into that, thanks My guess would be that you need to use the IP address when linking in your CSS file. It's probably using the local url rather than the IP address, and the stylesheet isn't able to be found. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.