Hello,I've created a php file in textWrangler saved with .php extension on the desktop.But it does not open in the browser? Please help.
Jump to Post
Apache is installed on all macs. Do the following:
- Open a terminal
- type "cd /etc/apache2/"
- type "sudo pico httpd.conf", enter your password when requested
- find the line #LoadModule php5_module libexec/apache2/libphp5.so and remove the '#'
- save the file
- then go to system preferences, sharing and turn on 'Web Sharing' …
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.