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. 2018-06-20, 07:13:42

Author Topic: Installing the GD Library for PHP  (Read 1338 times)

0 Members and 1 Guest are viewing this topic.

Offline I<3Kloxo

  • Senior Member
  • *
  • Posts: 199
  • Karma: +0/-0
    • View Profile
Installing the GD Library for PHP
« on: 2017-09-07, 20:09:16 »
Hi,

I want to install the third part script and I can not continue with the installation because what I do not have 'GD extension for PHP '. I leave the picture to see.




How to install 'GD Library for PHP' for Kloxo-MR ?

This is my sysinfo:

Code: [Select]
[root@server ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017081502
   - Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
   - PHP: php56s - 5.6.31-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: xxxxx.com
C. Services:
   1. MySQL: MariaDB-server-10.0.32-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.31-1.ius.centos6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.13.4-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.27-1.ius.centos6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: nsd
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.16-1.el6.x86_64
     - PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.5-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch

« Last Edit: 2017-09-25, 00:52:22 by I<3Kloxo »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,382
  • Karma: +115/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installing the GD Library for PHP
« Reply #1 on: 2017-09-08, 02:55:54 »
Inform here 'php -m; php56m-cli -m'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Installing the GD Library for PHP
« Reply #2 on: 2017-09-08, 10:36:41 »
Sorry to jumping into this post.

Yesterday, I do have the same problem, I've installed with:

Code: [Select]
yum install php56u-gd

But after restart of httpd with
systemctl restart httpd.service
it didn't work. I try phpinfo and it wasn't listed in Additional .ini files parsed?
After 30min, it start to work from itself, and it was listed in phpinfo in Additional .ini files parsed    :).

Today I get similar error, but only with imap, so I've installed
yum install php56-imap,
restart httpod didn't help.
Restart whole server and it works.

What I'm missing here? What else need to be restarted to add this extensions to php, httpd restart didn't help.
Tnx.


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,382
  • Karma: +115/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installing the GD Library for PHP
« Reply #3 on: 2017-09-08, 11:57:21 »
php56 != php56u
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Installing the GD Library for PHP
« Reply #4 on: 2017-09-08, 14:00:35 »
php56 != php56u

Uh, didn't know that.
So what's the difference? I didn't know that is possible to install php56_gd, I was thinking php56u_gd is default.
Sorry to bumping in this thread ;(.
« Last Edit: 2017-09-08, 14:10:51 by idove »

Offline I<3Kloxo

  • Senior Member
  • *
  • Posts: 199
  • Karma: +0/-0
    • View Profile
Re: Installing the GD Library for PHP
« Reply #5 on: 2017-09-08, 15:50:56 »
Hi,

I solved the problem in the way 'sh /script/restart-all'
I know that GD library for php comes by default in the Kloxo-MR panel, for this reason I did not know why the script does not recognize it.   :)

Seems it stop to work from itself.


« Last Edit: 2017-09-08, 15:53:27 by I<3Kloxo »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.039 seconds with 19 queries.

web stats analysis