Copy link to clipboard
Copied
1 - turned on web sharing in sys prefs
2 - i set up a new blank site in DW in the webserver docs folder of osx
html works ok - but php is not working ....
Q: how do I turn on php built in server on 10.6?
locate the hidden file /etc/apache2/httpd.conf and comment out line 115
#LibraryModule php5_modulte libexec/apache2/libphp5.so
Then locate /etc/apache2/php.ini and change the following lines:
/var/tmp/mysql.sock on line 1060, 1213, and 1272
change to
/tmp/mysql.sock
finally setup timezone on line 997 (remove semicolon at the beginning of the line)
date.timezone = "America/Los_Angeles"
Then depending on if you require a database or not instal MySQL and phpMyAdmin. Relaunch Apache by stopping and restarti
...
Copy link to clipboard
Copied
locate the hidden file /etc/apache2/httpd.conf and comment out line 115
#LibraryModule php5_modulte libexec/apache2/libphp5.so
Then locate /etc/apache2/php.ini and change the following lines:
/var/tmp/mysql.sock on line 1060, 1213, and 1272
change to
/tmp/mysql.sock
finally setup timezone on line 997 (remove semicolon at the beginning of the line)
date.timezone = "America/Los_Angeles"
Then depending on if you require a database or not instal MySQL and phpMyAdmin. Relaunch Apache by stopping and restarting web sharing in System Preferences.
Copy link to clipboard
Copied
THANKS IPHP - THAT WORKED GREAT! Now I'm up and running!
Copy link to clipboard
Copied
many mac users simply download MAMP which dumbs down the entire process to a start and stop button. you can choose your ports and served folder location (if you want to use Sites).
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more