Marcus, I'm getting the following error when trying to access http://localhost:8080/test.php -
*Warning*: require(/Users/tilaks/summer/airavata-php-gateway/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in */Users/tilaks/summer/airavata-php-gateway/bootstrap/autoload.php*on line *17* *Fatal error*: require(): Failed opening required '/Users/tilaks/summer/airavata-php-gateway/bootstrap/../vendor/autoload.php' (include_path='.:') in */Users/tilaks/summer/airavata-php-gateway/bootstrap/autoload.php*on line *17* Regards, *Sneha Tilak* On Fri, Jun 16, 2017 at 1:48 PM, Sneha Tilak <[email protected]> wrote: > Thank you, Marcus. > > Regards, > *Sneha Tilak* > > On Fri, Jun 16, 2017 at 1:46 PM, Christie, Marcus Aaron <[email protected]> > wrote: > >> >> Sneha, >> >> Here is a link on Github to the service Anuj created: >> https://github.com/apache/airavata/tree/b1c390cb42c >> 4f02a7a45231627e0d646fa7c23d5/airavata-services/profile- >> service/iam-admin-services-core >> >> It should be in the ‘develop’ branch of airavata. >> >> See also: https://github.com/apache/airavata/tree/3b80b596b7bf11 >> 14e7314c03206598f9207c4496/airavata-services/profile- >> service/profile-service-server/src/main/java/org/ >> apache/airavata/service/profile/handlers >> >> These are the 3 handlers for the 3 thrift services in the Profile Service. >> >> >> Here’s the PGA repo: https://github.com/apache/airavata-php-gateway >> >> >> >> Here are my PGA install notes: >> >> >> Install apache, php, php-mcrypt, and composer using homebrew. Note, the >> apache >> installed through homebrew will run on port 8080 and will be completely >> separate >> from the builtin apache server that comes with macOS. >> >> brew install homebrew/apache/httpd24 >> brew install homebrew/php/php54 --with-httpd24 >> brew install homebrew/php/php54-mcrypt >> brew install composer >> >> In /usr/local/etc/apache2/2.4/httpd.conf make sure the following line is >> added >> >> LoadModule php5_module /usr/local/opt/php54/libexe >> c/apache2/libphp5.so >> >> Then also add >> >> <IfModule php5_module> >> Include /usr/local/etc/apache2/2.4/extra/httpd-php.conf >> </IfModule> >> >> Now create the file /usr/local/etc/apache2/2.4/extra/httpd-php.conf (see >> [docs](http://php.net/manual/en/install.unix.apache2.php)). >> >> <FilesMatch \.php$> >> SetHandler application/x-httpd-php >> </FilesMatch> >> >> Create a file in /usr/local/var/www/htdocs/test.php >> >> <?php >> >> phpinfo(); >> >> ?> >> >> Then restart apache >> >> apachectl restart >> >> Now you should see the phpinfo test page at http://localhost:8080/test. >> php >> >> Enable the rewrite module by uncommenting this line in >> /usr/local/etc/apache2/2.4/httpd.conf >> >> LoadModule rewrite_module libexec/mod_rewrite.so >> >> Create the following file: /usr/local/etc/apache2/2.4/ext >> ra/httpd-pga.conf >> >> <VirtualHost *:8080> >> DocumentRoot /Users/machrist/Documents/Aira >> vata/airavata-php-gateway/public/ >> <Directory "/Users/machrist/Documents/Air >> avata/airavata-php-gateway/public/"> >> DirectoryIndex index.php >> AllowOverride All >> Require all granted >> </Directory> >> </VirtualHost> >> >> (Optional) NOTE: instead of `*:8080` you can specify a hostname, like >> `pga.local` and then >> just make sure to add to your /etc/hosts file: >> >> 127.0.0.1 pga.local >> >> Add the following line to /usr/local/etc/apache2/2.4/httpd.conf >> >> Include /usr/local/etc/apache2/2.4/extra/httpd-pga.conf >> >> Restart apache >> >> apachectl restart >> >> ## Other configuration stuff >> >> Increase the TTL of the SOAP wsdl cache. Change the default 1 day TTL >> value to >> something much larger in /usr/local/etc/php/php.ini, for example, 10 days: >> >> soap.wsdl_cache_ttl=864000 >> >> Set the timezone in the php.ini file too >> >> >> >> >> >> Once I have Airavata running in our new dev environment with Keycloak >> I’ll give you a configuration you can use to connect to it from your >> locally running PGA. >> >> >> Let me know if you have any questions. >> >> Thanks, >> >> Marcus >> >> >> >> >
