My favorites | Sign in
Project Logo
                
Search
for
Updated Sep 15, 2009 by soundasleep
Labels: Phase-Deploy, EndUser
InstallationPlatform  
Brief guide in installing Apache/PHP for serving web applications

Introduction

In 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:

  • A web server, such as Apache Tomcat;
  • And a scripting language, such as PHP.

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 Apache

Download the latest version of Apache httpd 2.2, and follow the installation tutorial on the Apache website.

Installing PHP

Download 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:

  • PDO
  • SQLite over PDO

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 Apache

Follow the PHP/Apache installation notes on the PHP website.

Testing

In 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.

Troubleshooting

Troubleshooting 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
Hosted by Google Code