I'm using fedora 25 and local LAMP server.
I've Installed all the extensions needed for Drupal, but it says that i need to enable these extensions,
even after I tried this command php -d extension=/usr/lib64/php/modules/xml.so I found that it's already loaded !!!
how can i enable these extensions for Drupal When it's already enabled ??
0
votes
1 Answers
1
votes
You need to check which php.ini is used by Apache.
It's typical to have different php.ini files: one for the PHP command line (what you tried with your php -d command), one for the Apache module, one for the FastCGI style of Apache integration, and so on.
The fact the XML extension is loaded when running the command line PHP executable doesn't mean it's loaded in the other scenarios.
For example, on a Debian distro, there are different conf folders:
/etc/php5/apache2, /etc/php5/cli, etc. Each of these folders contains a php.ini.
This is probably similar on Fedora.

php.ini? i do forget where that file is located in *nixes.. its around/etci think.. - Bagus Tesa