Centos 7 PHP 56 installation from asl repo

Support/Development for PHP
zonathen
Forum User
Forum User
Posts: 56
Joined: Mon Jan 15, 2007 2:03 am

Centos 7 PHP 56 installation from asl repo

Unread post by zonathen »

Hi I'm trying to install php 56 from the asl repo on a fresh centos 7.2

I installed everything from yum and it says it's installed but I can't find php anywhere:

yum list installed | grep php
atomic-php56-php.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-cli.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-common.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-gd.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-mbstring.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-mcrypt.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-mysqlnd.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-pdo.x86_64 5.6.25-39.el7.art @atomic
atomic-php56-php-runtime.x86_64 5.6.25-39.el7.art @atomic

php
-bash: php: command not found

which php
/usr/bin/which: no php in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/.local/bin:/root/bin)

Is there another step I'm missing? Thanks!
zonathen
Forum User
Forum User
Posts: 56
Joined: Mon Jan 15, 2007 2:03 am

Re: Centos 7 PHP 56 installation from asl repo

Unread post by zonathen »

Anybody have any ideas? Must be missing something obvious here..
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Centos 7 PHP 56 installation from asl repo

Unread post by faris »

It is usually in /opt/atomic/atomic-php56/root/usr/bin (or something like that. I don't fully understand where these things go)

Remember that you need to specify the config file location if calling it from bash (e.g. in /opt/atomic/atomic-php56/root/etc/php.ini )
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply