Design with PHP Apache and MySQL

Joined
Apr 4, 2011
Messages
18
Reaction score
0
Points
1
Hi Friends!! I'm a developer with PHP, Apache and MySql, but I've developed Web Pages in Windows and Linux in PC desktops. And now I'm working with a Mac: PowerPC G4, Mac OS X 10.5.8. It's my first with Mac, and I need to develop web pages. Can anyone tell me how to develop Web Pages in Mac with PHP, Apache and MySql? I've never worked in Mac, but I like it!
Thank you very much!!
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Give this a try. If you have any questions, let us know.
 
Joined
Jan 6, 2011
Messages
41
Reaction score
0
Points
6
Your Mac's Specs
Macbook Pro 15"
PHP and mysql are good to learn once you have the basic foundation first. it will take more than one of us here to teach you. try your bookstore
 
OP
J
Joined
Apr 4, 2011
Messages
18
Reaction score
0
Points
1
I've developed a lot of Web Pages with apache, php and mysql in Linux, but it's my first time under mac. Thank you very much vansmith. Looking at your link, i've configured apache and php, but How can i install mysql? Where are stored the webpages (in Linux were in /usr/local/apache2/htdocs)?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
The htdocs directory is /Library/WebServer/Documents.

Your personal site is at ~/Sites. That can be accessed at localhost/~<username> (replace <username> with your username).

MySQL downloads.
 
OP
J
Joined
Apr 4, 2011
Messages
18
Reaction score
0
Points
1
I've just visited the downloads page, but it's seem to me that the downloads are only for mac with intel, isn't it? and I'm usingo powerpc G4
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
It would appear that they no longer support the PPC architecture. Check out their product archives for older versions that may suit your needs.
 
OP
J
Joined
Apr 4, 2011
Messages
18
Reaction score
0
Points
1
Thank you very much vansmith, but when i visited your page, the links were all broken. Anyway, I've found a package, MAMP, for Apache, Mysql and PHP, and it seems to be fine. Have you probed it?

Thank you very much!
 

bobtomay

,
Retired Staff
Joined
Dec 22, 2006
Messages
26,561
Reaction score
677
Points
113
Location
Texas, where else?
Your Mac's Specs
15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
Can anyone tell me how to download MAMP Pro? and how to create a local environment using MAMP?

??? You might try clicking on the download link at the MAMP site - here.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
You have to buy MAMP Pro and from what I see, you get a license key with the purchase.

As for a work environment, note the following from their FAQ:
By default, PHP and HTML Pages should be stored inside the MAMP "htdocs" folder which is located in the MAMP Application directory /Applications/MAMP. This folder is called "Document Root". You can change the path for the Document Root in the MAMP application's Preferences Panel
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top