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. Quote
0 BeZazz Posted March 10, 2018 Report Posted March 10, 2018 php -i | grep php.ini This will show the php.ini in use. Quote
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. Quote
0 Nelsa Posted March 10, 2018 Report Posted March 10, 2018 4 hours ago, EMar said: 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. Change path to ini file in your command from /etc/php/7.0/cli/php.ini to /etc/php/7.1/cli/php.ini if you have installed mailparse for php 7.1 , the same thing should be done when you install mailparse for php 7.1 and any other php...liike 5.0 ,5.5 ,5.6 etc with difference that lower PHP version will require lower mailparse version due min. requirements every mailparse version require Quote
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 Quote
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:
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.