You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Bikramjeet Singh <si...@gmail.com> on 2016/05/27 14:24:18 UTC

error while building php-gateway

Hi,
As I was not able to run PGA on mac OS I tried it on cent os 7, everything
else seems to work fine on it, including wso2 IS and I have created tenants
and registered a service provider, now I'm getting this error when i run -
"composer update" in PGA installation step.

Script php artisan clear-compiled handling the post-update-cmd event
returned with an error


[RuntimeException]

  Error Output: PHP Fatal error:  Class 'PDO' not found in
/var/www/html/aira
  vata-php-gateway/app/config/database.php

Thank you

Re: error while building php-gateway

Posted by Bikramjeet Singh <si...@gmail.com>.
Hi supun,
Thanks, I tried
Yum install php-pdo and it didn't show up the error next time.

On Friday 27 May 2016, Supun Nakandala <su...@gmail.com> wrote:

> Hi Bikarmjeet,
>
> I cannot exactly say what is causing this issue. But I can give you some
> steps that I would try if I face this kind of issue.
>
> 1. Check the file actually exists
> 2. Check the correct file permissions are given to the file.
> 3. database.php is a larvel framework file so I would search for this
> issue in larvel forums
> 4. Try again from a fresh clone (sometimes files can get corrupted though
> highly less probable).
>
> Hope this would help.
>
> Thanks
>
> On Fri, May 27, 2016 at 10:24 AM, Bikramjeet Singh <
> singh.bikramjeet3@gmail.com
> <javascript:_e(%7B%7D,'cvml','singh.bikramjeet3@gmail.com');>> wrote:
>
>> Hi,
>> As I was not able to run PGA on mac OS I tried it on cent os 7,
>> everything else seems to work fine on it, including wso2 IS and I have
>> created tenants and registered a service provider, now I'm getting this
>> error when i run - "composer update" in PGA installation step.
>>
>> Script php artisan clear-compiled handling the post-update-cmd event
>> returned with an error
>>
>>
>> [RuntimeException]
>>
>>   Error Output: PHP Fatal error:  Class 'PDO' not found in
>> /var/www/html/aira
>>   vata-php-gateway/app/config/database.php
>>
>> Thank you
>>
>
>
>
> --
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
>

Re: error while building php-gateway

Posted by Supun Nakandala <su...@gmail.com>.
Hi Bikarmjeet,

I cannot exactly say what is causing this issue. But I can give you some
steps that I would try if I face this kind of issue.

1. Check the file actually exists
2. Check the correct file permissions are given to the file.
3. database.php is a larvel framework file so I would search for this issue
in larvel forums
4. Try again from a fresh clone (sometimes files can get corrupted though
highly less probable).

Hope this would help.

Thanks

On Fri, May 27, 2016 at 10:24 AM, Bikramjeet Singh <
singh.bikramjeet3@gmail.com> wrote:

> Hi,
> As I was not able to run PGA on mac OS I tried it on cent os 7, everything
> else seems to work fine on it, including wso2 IS and I have created tenants
> and registered a service provider, now I'm getting this error when i run -
> "composer update" in PGA installation step.
>
> Script php artisan clear-compiled handling the post-update-cmd event
> returned with an error
>
>
> [RuntimeException]
>
>   Error Output: PHP Fatal error:  Class 'PDO' not found in
> /var/www/html/aira
>   vata-php-gateway/app/config/database.php
>
> Thank you
>



-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa

Re: error while building php-gateway

Posted by Bikramjeet Singh <si...@gmail.com>.
It's resolved.

Thanks


On Fri, May 27, 2016 at 7:54 PM, Bikramjeet Singh <
singh.bikramjeet3@gmail.com> wrote:

> Hi,
> As I was not able to run PGA on mac OS I tried it on cent os 7, everything
> else seems to work fine on it, including wso2 IS and I have created tenants
> and registered a service provider, now I'm getting this error when i run -
> "composer update" in PGA installation step.
>
> Script php artisan clear-compiled handling the post-update-cmd event
> returned with an error
>
>
> [RuntimeException]
>
>   Error Output: PHP Fatal error:  Class 'PDO' not found in
> /var/www/html/aira
>   vata-php-gateway/app/config/database.php
>
> Thank you
>