CentOS 7 - PHP56

Issues related to applications and software problems
Post Reply
ripface
Posts: 3
Joined: 2016/01/21 20:07:50

CentOS 7 - PHP56

Post by ripface » 2017/06/26 15:10:08

Hi Folks,

Hope someone can help, I've struggled and googled for days without finding the answer to this.

I'm installing LAMP on a CentOS 7 VM to use with OwnCloud 10. Using PHP56 from REMI's repository. All was going well until I tried to surf up the OwnCloud admin page. The page loads as the php text, as Apache is not interpreting PHP. Seems the mod_php is not working ... and therein lies the problem ...

Can't find mod_php anywhere in the PHP56 packages
Can't find libphp5.so anywhere in the PHP56 packages

OS is CentOS 7.3
Vanilla HTTPD
PHP56 from REMI

Can anyone point me in the right direction, starting to lose the will to live!!

Cheers,
Ripface

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: CentOS 7 - PHP56

Post by remirepo » 2017/06/26 15:31:18

For "remi" repository, better to ask on https://forum.remirepo.net/

Notice: installation instruction are on https://rpms.remirepo.net/wizard/

So you probably forget for "php" package (for base package) of "php56-php" (for SCL package) which both provide the "mod_php" module.
Remi's Repository - Forum - Blog

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: CentOS 7 - PHP56

Post by remirepo » 2017/06/26 15:42:59

> Can't find mod_php anywhere in the PHP56 packages

Code: Select all

# yum search mod_php
php.x86_64 : PHP scripting language for creating dynamic web sites
php56-php.x86_64 : PHP scripting language for creating dynamic web sites
...

# yum info php
...
            : The php package contains the module (often referred to as mod_php)
            : which adds support for the PHP language to Apache HTTP Server.

# yum install mod_php
Package matching php-5.6.30-1.el6.remi.x86_64 already installed. Checking for update.
Nothing to do
Remi's Repository - Forum - Blog

ripface
Posts: 3
Joined: 2016/01/21 20:07:50

Re: CentOS 7 - PHP56

Post by ripface » 2017/06/27 08:56:55

Hi All,

I'm a donkey!

Apologies for wasting peoples time ... I was missing the package with the mod_php!

php56-php.x86_64

Regards,
Ripface

Post Reply