...
Installing PGA in MAC OS
...
- To install MCrypt for PHP on MAC please follow the steps in http://coolestguidesontheplanet.com/install-mcrypt-php-mac-osx-10-9-mavericks-development-server/
- Once above is completed follow the steps given in folowing links;
- Configuring Apache: https://coolestguidesontheplanet.com/how-to-install-php-mysql-apache-on-os-x-10-6/
- Installing Composer: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx
...
Navigate to directory; cd /Library/WebServer/Documents
git clone https://github.com/apache/airavata-php-gateway.git
After cloning is completed navigate to gateway directory: cd /Library/WebServer/Documents/airavata-php-gateway
- Make sure the storage folder is writable sudo chmod -R 777 app/storage
- (optional) Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings. More instruction on pga_config.php follow step 6 in Airavata Documentation: pga_config.php configurations
- Enable Apache extensions (mod_rewrite module and PHP SOAP extension)
sudo vim /etc/apache2/httpd.conf
uncomment #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
uncomment #LoadModule php5_module libexec/apache2/libphp5.so
- Now issue composer update command; sudo composer update
- Restart the web server sudo apachectl restart
Link the Local PGA with Hosted Airavata
- Once the PGA is installed you will have to link with hosted Airavata.
- Contact Airavat hosting team (probably apache Airavata team) and obtain information required in section 'Airavata Client Configurations' of pga_config.php file in directory [PGA_HOME]/app/config
Troubleshooting PGA Installation Issues
Having an issue with installation? Maybe someone earlier faced and the answer could be in FAQs. Please navigate to try: Airavata Documentation: FAQ
...