go to: System Preferences > Sharing
check on Web Sharing
Example, http://localhost
or http://localhost/~yourname/
Source Directory
/Library/WebServer/Documents
/Users/yourname/Sites/your web pages are here
Ref devarticles.com
วิธีกำหนดค่า register_globals
สามารถทำได้ 2 วิธีคือ กำหนดที่ไฟล์ php.ini หรือที่ไฟล์ .htaccess