EMar Posted March 10, 2018 Report Posted March 10, 2018 Hi, Centos 7 - PHP 7.1.15 - CWP 7. I'm following this tutorial to install mailparse link But 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. But 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.
0 BeZazz Posted March 10, 2018 Report Posted March 10, 2018 php -i | grep php.ini This will show the php.ini in use.
0 EMar Posted March 10, 2018 Author Report Posted March 10, 2018 Thanks but I know the main php ini is at /etc/php.ini As far as i know I need the paths to /etc/php/7.0/cli/php.ini and /etc/php/7.0/fpm/php.ini Which don't exist at these locations. Maybe they're not installed fully or they exist at a different location.
0 EMar Posted March 11, 2018 Author Report Posted March 11, 2018 Maybe I'm being a dumbass but there is no /etc/php/ in my installation
Question
EMar
Hi,
Centos 7 - PHP 7.1.15 - CWP 7.
I'm following this tutorial to install mailparse link
But I got stuck at:
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.
But I can see cli is running:
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now