MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: rAXv2 on 2013-06-16, 18:42:04

Title: OpenCart @ kloxo
Post by: rAXv2 on 2013-06-16, 18:42:04
I needed to install opencart @ kloxo-mr but the extension gd is off how to enable?
Title: Re: OpenCart @ kloxo
Post by: MRatWork on 2013-06-16, 18:45:26
Depend on php branch. When select php53u, try 'yum install php53u-gd'.

Better inform here 'sh /script/sysinfo'.
Title: Re: OpenCart @ kloxo
Post by: rAXv2 on 2013-06-16, 19:56:11
[root@server ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2013031822

B. OS: CentOS release 6.4 (Final) x86_64

C. Apps:
   1. MySQL: mariadb-5.5.31-1.el6.x86_64
   2. PHP: php53u-5.3.26-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.24-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.24.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.12.mr.el6.x86_64
   7. Dns: bind-9.9.2-3.P2.el6.x86_64

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          4096        365       3730          0          0        129
   -/+ buffers/cache:        235       3860
   Swap:            0          0          0
Title: Re: OpenCart @ kloxo
Post by: MRatWork on 2013-06-16, 20:09:43
Enough 'yum install php53u-gd'. If you need imagemagick also, try 'yum install php53u-pecl-imagick'.
Title: Re: OpenCart @ kloxo
Post by: rAXv2 on 2013-06-16, 20:16:38
thx bro its working now but what will be command for php54?
Title: Re: OpenCart @ kloxo
Post by: MRatWork on 2013-06-16, 20:42:39
yum php54-gd
yum php54-pecl-imagick
Title: Re: OpenCart @ kloxo
Post by: rAXv2 on 2013-06-16, 21:06:01
[root@server ~]# yum install php54-gd
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: ftp.hosteurope.de
 * extras: ftp.hosteurope.de
 * kloxo-mr-epel: mirror.karneval.cz
 * kloxo-mr-ius: ftp.astral.ro
 * kloxo-mr-ius-c5: ftp.astral.ro
 * updates: ftp.hosteurope.de
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php54-gd.x86_64 0:5.4.16-1.ius.el6 will be installed
--> Processing Dependency: php54-common = 5.4.16-1.ius.el6 for package: php54-gd-5.4.16-1.ius.el6.x86_64
--> Running transaction check
---> Package php54-common.x86_64 0:5.4.16-1.ius.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch        Version                  Repository         Size
================================================================================
Installing:
 php54-gd          x86_64      5.4.16-1.ius.el6         kloxo-mr-ius      116 k
Installing for dependencies:
 php54-common      x86_64      5.4.16-1.ius.el6         kloxo-mr-ius      894 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total size: 1.0 M
Installed size: 7.5 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /etc/php.ini from install of php54-common-5.4.16-1.ius.el6.x86_64 conflicts with file from package php53u-common-5.3.26-1.ius.el6.x86_64
  file /usr/lib64/php/modules/curl.so from install of php54-common-5.4.16-1.ius.el6.x86_64 conflicts with file from package php53u-common-5.3.26-1.ius.el6.x86_64
  file /usr/lib64/php/modules/fileinfo.so from install of php54-common-5.4.16-1.ius.el6.x86_64 conflicts with file from package php53u-common-5.3.26-1.ius.el6.x86_64
  file /usr/lib64/php/modules/json.so from install of php54-common-5.4.16-1.ius.el6.x86_64 conflicts with file from package php53u-common-5.3.26-1.ius.el6.x86_64
  file /usr/lib64/php/modules/phar.so from install of php54-common-5.4.16-1.ius.el6.x86_64 conflicts with file from package php53u-common-5.3.26-1.ius.el6.x86_64
  file /usr/lib64/php/modules/zip.so from install of php54-common-5.4.16-1.ius.el6.x86_64 conflicts with file from package php53u-common-5.3.26-1.ius.el6.x86_64
  file /usr/lib64/php/modules/gd.so from install of php54-gd-5.4.16-1.ius.el6.x86_64 conflicts with file from package php53u-gd-5.3.26-1.ius.el6.x86_64

Error Summary
-------------

[root@server ~]#
Title: Re: OpenCart @ kloxo
Post by: MRatWork on 2013-06-16, 21:22:08
If you select php53u (that mean php version 5.3), you not able using modules from other version (say it, version 5.2 or 5.4). Will be conflict.

It's LINUX RULES!.
Title: Re: OpenCart @ kloxo
Post by: rAXv2 on 2013-06-16, 22:11:58
thx alot got it working good