Author Topic: Centos 7 - PHP 7.1.15 where is cli and fpm located?  (Read 6902 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Centos 7 - PHP 7.1.15 where is cli and fpm located?
« 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

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.
« Last Edit: March 11, 2018, 11:49:11 AM by emar »