You are not logged in.

#1 2023-06-22 23:26:06

Arthurmeade12
Member
From: U.S.A
Registered: 2022-10-18
Posts: 50
Website

[SOLVED] PHP's 'cli' extension

I am installing a project that requires php and several of its extensions, including cli. I am using the php from the repos, not the AUR. Is the cli extension supposed to give access to php from the shell? I already have that by running `php --version`. php82-cli is on the AUR, but both it and its dependency php82 are flagged out of date, and I am using the repo's php anyway. I have checked php.ini for this extension as well, but did not find it there.
Do I need to create my own AUR package for php-cli? If so, where could I find the source? Or, am I missing that is is already 'built-in' to php since I can access it from the command line?

Any help is appreciated. Thanks.

Last edited by Arthurmeade12 (2023-11-01 19:37:44)

Offline

#2 2023-06-22 23:38:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] PHP's 'cli' extension

The repo package provides the cli executable as /usr/bin/php.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB