Affects of PHP MySQL

Browni

Registered
If i install PHP and MYSQL on my mac to test my websites, will it affect permissions or anything? and if not how to i do it? See my sig for spec.
 
If does affect your permissions, you can reset them with disk utility. mySQL has a, to me, painfull install when it comes to setting the right permissions.

ps. PHP is already installed in macs.
 
ummm php is is already installed on macs? is this true?

As for setting up php and mysql. I think we need to make a sticky in this forum of links to php and and mysql binary installs. For beginners and testing environments this is the best thing to do... http://serverlogistics.com/
 
andehlu said:
ummm php is is already installed on macs? is this true?

Yep! I think to activate php you just need to change a line in the httpd.conf file (or something like that). I instsalled MAMP (Macintosh Apache, MySQL and PHP) - an exceptionally easy install. However I had to get a UNIX-geek from downstairs to come and sort my mac out because it then had php installed and activated on it twice and was getting as confused as I was. LOL :D I can recommend MAMP though, it's ace (and open source)! I got it from here:

http://www.mamp.info/en/home/
 
minor_threat said:
Yep! I think to activate php you just need to change a line in the httpd.conf file (or something like that). I instsalled MAMP (Macintosh Apache, MySQL and PHP) - an exceptionally easy install. However I had to get a UNIX-geek from downstairs to come and sort my mac out because it then had php installed and activated on it twice and was getting as confused as I was. LOL :D I can recommend MAMP though, it's ace (and open source)! I got it from here:

http://www.mamp.info/en/home/

It's me again. In one of my threads a really helpful human called "aicul" gave me this advice:

You should be aware that PHP is pre-installed on Panther, but its not activated. All you really have to do is activate it. Something like:

1. open terminal
2. type "open -e /etc/httpd/httpd.conf" this will textedit the httpd.conf file
3. search for "php"
4. remove the # before php line
5. repeat steps 3 and 4 as required
6. search for "<IfModule mod_dir.c>"
7. add index.php after index.html
8. save the changes
9. restart apache using "sudo apachectl start
 
Minor_threat, I would not want to take complements for something someone else told me. Unfortunately, that was sometime ago and I cannot remember the persons name. So whoever he is - BRAVO.
 
Back
Top