Re: [IBMiOSS] Error in config file [2]: CommandLine '/QOpenSys/pkgs/bin/php-cgi' is not a regular file
Alan Seiden <[email protected]> Fri, 23 Jun 2023 09:28:40 -0400
| Newsgroups | gmane.comp.systems.ibmi.opensource,gmane.comp.hardware.ibm.midrange,gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <[email protected]> |
Davide and I solved this offline but never posted the solution here.
Root cause was that permissions weren’t set properly for the PHP installation directories.
To solve the problem, run these two commands:
CHGAUT OBJ('/QOpenSys/pkgs') USER(*PUBLIC) DTAAUT(*RX)
CHGAUT OBJ('/QOpenSys/pkgs/lib') USER(*PUBLIC) DTAAUT(*RX)
Thanks,
Alan Seiden
Seiden Group
> On May 26, 2021, at 10:05 AM, Davide Pelagotti <[email protected]> wrote:
>
> Hello,
>
> I'm trying to install Seiden Community PHP.
>
...
> In apache errors file I have this error:
> Error in config file [2]: CommandLine '/QOpenSys/pkgs/bin/php-cgi' is not
> a regular file
>
> these are my php bins
> -rwxr-xr-x 1 QSYS 0 27510485 Apr 29 16:53
> /QOpenSys/pkgs/bin/php
> -rwxr-xr-x 1 QSYS 0 27124468 Apr 29 16:53
> /QOpenSys/pkgs/bin/php-cgi
> -rwxr-xr-x 1 QSYS 0 5088 Apr 29 16:59
> /QOpenSys/pkgs/bin/php-config
>
> Maybe I'm missing something... please do you have any suggestions?
>
> Davide
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.