Posted 03 June 2006 - 07:24 PM
I'm a new Newbie to PHP. I am running a Mac OS X. I have a need to set up and run PHP within an HTML document. I also want to view this on my system before uploading to the Host.
I understand that this is a fairly simple process, however, I must have a mental block the size of the Great Wall of China.
I would greatly appreciate some guidance in the setup and running of PHP.
Lost in PHP
Posted 04 June 2006 - 02:07 AM
You need to add the .html extension to your httpd.conf file at this line...
AddType application/x-httpd-php .phpbe aware though that this will not be supported on a shared host.
Actually re-reading your post. Sounds like you might be wanting to setup a local server with php. If so, try following the guide in the [a href=\"http://php.net/manual\" target=\"_blank\"]manual[/a], its a great place to start.
Posted 04 June 2006 - 11:15 AM
i'm past that now. thank god. you will need to setup a web server you can do this 2 way.
you could setup apache, php and Mysql on there own.
or you could install a precomplied version like Xammp - [a href=\"http://www.apachefriends.org/en/xampp.html\" target=\"_blank\"]http://www.apachefriends.org/en/xampp.html[/a]
i would use xammp if i was you. its much more simple.
hope this helps
Posted 04 June 2006 - 05:35 PM
Yes I am trying to set up a local test server. I just downloaded a php/apache/mysql bundle so now is my next question. The directions are promptiing me to go the the terminal shell and login as the system adminsitrator root: sudo su. Where do I find the terminal shell?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users