Let us write a simple Hello Phalanger web page. Type in the following code in a text editor (like Notepad): Save the above file as hello. Browse to the web page at.php and you -.0) be greeted by <i'1-Iello Phalanger" message. Note that we did not install PHP or PHP ISAPI DLL or PHP CGI. Phalanger has taken over as the scripting engine for _php files. It compiles and displays the output of the PHP code.

Name:  Hello Phalanger.jpg
Views: 48
Size:  13.4 KB

With the Phalanger extension for Visual Studio, you can write the above mentioned Phalanger page in Visual Studio. Now we need to start Visual Studio 200S. For this, click on File->New Website. Select PHP from the language dropdown and then select Phalanger PHP Web. This will open a new Visual Studio project which will include a file named default.php. Type in the above print statement in default.php.
Right click on the Website in the Solution Explorer and select "View in browser". This will launch Visual Studio's built in web server and will show a page with the files. Click on default.php to see the output.