Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 21:23:51

Author Topic: Where is php.ini?  (Read 2134 times)

0 Members and 1 Guest are viewing this topic.

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Where is php.ini?
« on: 2014-09-30, 08:01:27 »
I want to add a module, but i can't find /etc/php.ini.
Where is it?

A. Kloxo-MR: 7.0.0.b-2014091001

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.39-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.7.p1-1.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.10.0-P2.3.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Where is php.ini?
« Reply #1 on: 2014-09-30, 08:17:15 »
Usually module after installed will be create their ini file in /etc/php.d (assumption select php-branch)
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: Where is php.ini?
« Reply #2 on: 2014-09-30, 19:41:52 »
My new module added in /opt/php53s/usr/lib64/php/modules/.
Also I made /etc/php.d/new module.ini.

I found it through php -i |grep new module.

But I can't find it in phpinfo.

How can I solve?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Where is php.ini?
« Reply #3 on: 2014-10-01, 03:21:42 »
Remember:

1. phpXYs (like php53s) is special php for Kloxo-MR panel
2. phpXYm (like php53m) is php for normal website but with special install (run with 'sh /script/phpm-installer')
3. php-branch is normal php for website and install their php module with 'yum install'
4. for phpXYs and phpXYm, install module with 'sh /script/phpm-extension-installer'.

So, what's php module want to installed?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.027 seconds with 18 queries.

web stats analysis