Leopard has PHP 5 built in but you need to enable it. Follow the instructions linked below.
how to create report in php
You need to upload the scripts to web hosting space that support PHP.
You need to install PHP either on a pre built apache server such as xampp or download PHP directly from the website.
Download xampp or wamp and everything you need to run PHP would be installed with it
The PHP website has a comprehensive online manual that can explain most aspects of PHP, including its installation. See the related links for a constantly-updated PHP installation guide.
Yes, Apache Tomcat supports the installation and usage of PHP (of any version below 5, not including 5). See the related links for an official Tomcat-PHP installation guide.
You can install an entire web server on your flash drive with XAMPP Portable. http://portableapps.com/apps/development/xampp You will need an entire server (at least Apache and PHP) if you want to execute PHP scripts.
Visit the downloads section of the PHP website (see the related links), and find the PHP 5.2 download for your operating system. Install the package accordingly -- which is an entirely customized step, depending on your operating system.
The principle of WAMP/LAMP server is that MySQL, Apache and PHP are staked in a neat package easy to install. However, it is easy to install only the components you need separately.
There are many free PHP editors available online. You can check out the Free PHP Editor website, or download "Davor's PHP Editor". If you need one for Mac OSX, try Netbeans.
To test PHP on your computer you can use a localhost. I use XAMPP for my localhost and it hasn't failed me yet.
You can install the Mac version of LimeWire on Mac OS X. (See links below)