|
InstallationPlatform
Brief guide in installing Apache/PHP for serving web applications
IntroductionIn order to browse generated applications, you need to install a platform in which to serve generated web applications. Currently, only the PHP platform is supported; however since IAML is a platform-independent modelling language, future work will cover implementation of the model in other languages. Essentially, to serve web applications on your machine, you need:
This installation process will cover the installation of Apache and PHP on Windows, but the implementation of IAML is by no means limited to this combination of technology. Installing ApacheDownload the latest version of Apache httpd 2.2, and follow the installation tutorial on the Apache website. Installing PHPDownload the latest version of the PHP 5.x installer, and follow the installation tutorial on the PHP website. When installing PHP, make sure that you have the following extensions enabled:
In Windows, this is achieved by selecting the following configuration directives in your php.ini: extension=php_pdo.dll extension=php_pdo_sqlite.dll Configure ApacheFollow the PHP/Apache installation notes on the PHP website. TestingIn order to test your PHP install, we will use the phpinfo test. Simply create a new text file as so: <?php phpinfo(); ?> Save this file to the root of your web server as phpinfo.php. If you are using Apache 2.2 on Windows, this location will be C:\Program Files\Apache Software Foundation\Apache2.2\htdocs. If you then browse to http://localhost:8080/phpinfo.php, you should get a successful page describing your current PHP install. TroubleshootingTroubleshooting the installation of Apache/PHP is far beyond the scope of this project; if you have difficulty, just check the Internet for guides on installing Apache/PHP. What Next?Now that you have installed the IAML Eclipse plugin and a platform in which to execute the generated web applications, you can now create your very first Hello World application. For more information, see other End User documentation. |
Sign in to add a comment