Page 1 of 1

Centos 7 PHP 56 installation from asl repo

Posted: Sat Sep 10, 2016 5:23 pm
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!

Re: Centos 7 PHP 56 installation from asl repo

Posted: Mon Sep 12, 2016 5:43 pm
by zonathen
Anybody have any ideas? Must be missing something obvious here..

Re: Centos 7 PHP 56 installation from asl repo

Posted: Sun Sep 25, 2016 7:08 am
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 )