Control Web Panel

WebPanel => Installation => Topic started by: emar on March 11, 2018, 11:15:34 AM

Title: Centos 7 - PHP 7.1.15 where is cli and fpm located?
Post by: emar on March 11, 2018, 11:15:34 AM
Hi,

I setup Centos 7 with CWP 7 and switched the default php version to 7.1.15.

My applications required a few extra extensions,

I'm following this tutorial to install mailparse link (https://gist.github.com/thelbouffi/118107b77f52f5a07eb840c3f2993509)

I got stuck at:

CONFIGURATION:

- add extension =mailparse.so to php.ini under cli and fpm (in dynamics extensions)

sudo nano /etc/php/7.0/cli/php.ini

sudo nano /etc/php/7.0/fpm/php.ini

I can't find the path to the cli and fmp ini files. I mean etc/php doesn't exist at this location.
I mean  /etc/php/ doesn't exist.

I can see cli is running:

[root@me/]# php --version                                                                             
PHP 7.1.15 (cli) (built: Mar  9 2018 07:04:44) ( NTS )                                                       
Copyright (c) 1997-2018 The PHP Group                                                                       
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies                                               
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.0, C
opyright (c) 2002-2018, by ionCube Ltd.