Score:0

CentOS7 Remi-PHP81 Followed steps. PHP command not found

uz flag

Trying to install and enable PHP in a CentOS VPS. Found repository information from Remi's RPM Repository - Configuration wizard. Followed steps to install and enable PHP81. But php -v gives command not found error.

yum repolist shows remi-php81.

Is there anymore configurations to be updated like PATH variable?

Remi Collet avatar
jp flag
Have you install php-cli ? (a list of installed package may help)
Vishnu Soman avatar
uz flag
Thank you. Installed using 'yum install php'. Version now available.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.