Here is the step by step process to run a selenium test case from the PHP program.
Step 1: Download Selenium from the site http://seleniumhq.org/download/
Step 2: unzip it in the document root of the server.In my case it is /var/www/
Step 3: start the selenium server.
seek for the folder selenium-server-1.0.3 [in my case version is 1.0.3].
go to the directory mentioned above and start the server by issuing following command from command line.
java -jar selenium-server.jar
you can see the following output shown in the above picture.
Step 4: run the test program supplied in the zip file.In my case php program GoogleTest.php under the directory selenium-php-client-driver-1.0.1
after running you would be able to see browser open for selenium giving session id for the test and google web page in other browser. [In my case firefox.].see the attached image.
That's it for now.
running selinium test case using PHP
