Hi Everyone,
I am trying to setup php on my mac but having problems with it.
As directed by few websites i have edited the httpd.conf file and removed the hash symbol before the Loadmodule php part.
I have also followed the step of copying the contents of php.ini.default to php.ini files.
For testing to see if the Apache service runs i am typing http://localhost and it says it works.
However when i am trying to see if php is working by using the phpinfo() and saving it in Macintosh HD:Library:WebServerocuments and then running the file by typing http://localhost/test.php the browser shows me whatever i am typing the test.php file that is the phpinfo method
Can someone please suggest me how to get php installed on my mac? Thanks a lot in advance
I am trying to setup php on my mac but having problems with it.
As directed by few websites i have edited the httpd.conf file and removed the hash symbol before the Loadmodule php part.
I have also followed the step of copying the contents of php.ini.default to php.ini files.
For testing to see if the Apache service runs i am typing http://localhost and it says it works.
However when i am trying to see if php is working by using the phpinfo() and saving it in Macintosh HD:Library:WebServerocuments and then running the file by typing http://localhost/test.php the browser shows me whatever i am typing the test.php file that is the phpinfo method
Can someone please suggest me how to get php installed on my mac? Thanks a lot in advance