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-03-28, 15:47:53

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zjsz007

Pages: [1] 2
1
Kloxo-MR Development / Re: PHP-FPM auto
« on: 2016-07-20, 17:59:07 »
after create new domain php.ini load a wrong config in /opt/php54s/custom/php.ini
and service php-fpm restart can fix it back to /etc/php.ini
So Can you help me with which file can add this exec ?

2
Kloxo-MR Development / PHP-FPM auto
« on: 2016-07-20, 17:32:28 »
How to run service php-fpm restart after create a new domain.
which file is for the setting in /usr/local/lxlabs/kloxo/ ?

3
Kloxo-MR Development / Re: About php.ini
« on: 2016-07-17, 14:53:42 »
Every time add a new Domain Name ,the php.ini for website Loaded Configuration File   /opt/php54s/custom/php.ini
after running service php-fpm restart the php.ini for website Loaded Configuration File   /etc/php.ini
which setting cause ?

4
Kloxo-MR Development / Re: About php.ini
« on: 2016-07-14, 18:06:59 »
It was a new fresh install.
Every time after install kloxo-mr7,It shows Used: --PHP Branch--
It was not my select,It was default of fresh install.

5
Kloxo-MR Development / Re: About php.ini
« on: 2016-07-14, 17:41:01 »
So you have set
Quote
max_execution_time = 3000000
max_input_time = 60000
memory_limit = -1
post_max_size = 2000M
in new version for all of the Domain Name ?
I think it was not very good setting.

6
Kloxo-MR Development / Re: About php.ini
« on: 2016-07-10, 10:56:27 »
I think you set a wrong php.ini for custom
Quote
... Wait until finished (restart services) ...

[root@demo tmp]# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.b-2016070304
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: demo.vpscool.com
C. Services:
   1. MySQL: MariaDB-server-10.0.26-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.2-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: package courier-toaster is not installed
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048       1796        251          6          0       1411
   -/+ buffers/cache:        384       1663
   Swap:          512          2        509
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       60G  1.9G   59G   4% /


*** Process Time: 00:00:00:08.8381 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

[root@demo tmp]# cat /opt/php54s/custom/php.ini
;;; begin content - please not remove this line


[PHP]
;### MR -- generic (the same on all php 5.x version)
engine = On
short_open_tag = On
asp_tags = Off
precision = 14
y2k_compliance = On
unserialize_callback_func=
allow_call_time_pass_reference = Off
;safe_mode_gid = Off
;safe_mode_include_dir =
;safe_mode_exec_dir =
;safe_mode_allowed_env_vars = PHP_
;safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_classes =
expose_php = On
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
;error_reporting = E_ALL
display_startup_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
report_memleaks = On
track_errors = Off
variables_order = "EGPCS"
gpc_order = "GPC"
include_path = ".:/usr/share/pear/"
doc_root =
user_dir =
extension_dir = /opt/php54s/usr/lib/php/modules
upload_tmp_dir = /tmp/
default_socket_timeout = 60
date.timezone = "Europe/London"
default_charset = "utf-8"

;### MR -- certain apps not work if 0 (ex: roundcube)
cgi.fix_pathinfo = 1
;### MR -- certain apps not work if 1 (ex: wordpress in apache or proxy)
cgi.rfc2616_headers = 0

;### MR -- custom setting (handle by kloxo)
;disable_functions = exec,passthru,shell_exec,system,proc_open,popen,show_source
;register_globals = off
display_errors = off
file_uploads = on
;upload_max_filesize = 32M
upload_max_filesize = 2000M
log_errors = off
error_log = /var/log/php-error.log
output_buffering = off
register_argc_argv = on
;magic_quotes_gpc = off
;magic_quotes_runtime = off
;magic_quotes_sybase = off
mysql.allow_persistent = off
;max_execution_time = 180
;max_input_time = 180
;memory_limit = 128M
;post_max_size = 64M
max_execution_time = 3000000
max_input_time = 60000
memory_limit = -1
post_max_size = 2000M
allow_url_fopen = on
allow_url_include = on
session.save_path = /usr/local/lxlabs/kloxo/session
cgi.force_redirect = on
;sendmail_from =
;safe_mode = off
enable_dl = on

[Syslog]
define_syslog_variables = Off

[mail function]
SMTP = localhost
smtp_port = 25
sendmail_path = /usr/sbin/sendmail -t -i

[Java]

[SQL]
sql.safe_mode = Off

[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1

[MySQL]
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off

[mSQL]
msql.max_persistent = -1
msql.max_links = -1

[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0

[Sybase]
sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off

[Sybase-CT]
sybct.allow_persistent = On
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10

[dbx]
dbx.colnames_case = "lowercase"

[bcmath]
bcmath.scale = 0

[browscap]
;browscap = extra/browscap.ini

[Informix]
ifx.default_host =
ifx.default_user =
ifx.default_password =
ifx.allow_persistent = On
ifx.max_persistent = -1
ifx.max_links = -1
ifx.textasvarchar = 0
ifx.byteasvarchar = 0
ifx.charasvarchar = 0
ifx.blobinfile = 0
ifx.nullformat = 0

[Session]
session.save_handler = files
session.save_path = /usr/local/lxlabs/kloxo/session
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

[MSSQL]
mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatability_mode = Off
mssql.secure_connection = Off

[Assertion]

[Ingres II]
ingres.allow_persistent = On
ingres.max_persistent = -1
ingres.max_links = -1
ingres.default_database =
ingres.default_user =
ingres.default_password =

[Verisign Payflow Pro]
pfpro.defaulthost = "test-payflow.verisign.com"
pfpro.defaultport = 443
pfpro.defaulttimeout = 30

[Sockets]
sockets.use_system_read = On

[com]

[Printer]

[mbstring]

[FrontBase]

[Crack]

[exif]

;### MR -- exist on php 5.3+
[CLI Server]
cli_server.color = On

[Date]

[filter]

[iconv]

[intl]

[sqlite]

[sqlite3]

[Pcre]
pcre.backtrack_limit=100000
pcre.recursion_limit=100000

[Pdo]

[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=

[Phar]

[Interbase]
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"

[MySQL]
mysql.allow_local_infile = On
mysql.allow_persistent = On
mysql.cache_size = 2000
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off

[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off

[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off

[OCI8]

[Tidy]
tidy.clean_output = Off

[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5

[sysvshm]

[ldap]
ldap.max_links = -1

[mcrypt]

[dba]

;;; end content - please not remove this line

7
Kloxo-MR Development / About php.ini
« on: 2016-07-04, 16:37:18 »
Which php.ini used for new domain in MR7 ?
/opt/php54s/custom/php.ini ?

8
Kloxo-MR Bugs and Requests / Re: issue with switchapache
« on: 2016-06-29, 09:13:36 »
in /script/switch-apache line5 and line32
Quote
if [ "$(rpm -qa|grep 'httpd-')" == "" ] ; then

[root@demo tmp]# sh /script/switch-apache httpd 

- httpd already installed

[root@demo tmp]# sh /script/switch-apache httpd24

- httpd24 already installed

[root@demo tmp]# rpm -qa|grep 'httpd-'
lighttpd-fastcgi-1.4.39-3.el6.x86_64
lighttpd-1.4.39-3.el6.x86_64



9
Kloxo-MR Bugs and Requests / Re: issue with switchapache
« on: 2016-06-29, 09:07:28 »
Quote
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 _/                                                                          _/
 _/ Congratulations. Kloxo-MR has been installed succesfully as 'MASTER'     _/
 _/                                                                          _/
 _/ You can connect to the server at:                                        _/
 _/     https://104.245.97.36:7777 - secure ssl connection, or               _/
 _/     http://104.245.97.36:7778 - normal one.                              _/
 _/                                                                          _/
 _/ The login and password are 'admin' and 'admin' for new install.          _/
 _/ After Logging in, you will have to change your password to               _/
 _/ something more secure.                                                   _/
 _/                                                                          _/
 _/ - Run 'sh /script/mysql-convert --engine=myisam' to minimize MySQL       _/
 _/   memory usage. Or, go to 'Webserver Configure'                          _/
 _/ - Run 'sh /script/make-slave' for change to 'SLAVE'                      _/
 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


... Wait until finished (restart services) ...

[root@demo tmp]# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.b-2016062804
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: demo.vpscool.com
C. Services:
   1. MySQL: MariaDB-server-10.0.26-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.1-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: package courier-toaster is not installed
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048       1779        268          3          0       1413
   -/+ buffers/cache:        365       1682
   Swap:          512          2        509
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       60G  1.9G   59G   4% /


*** Process Time: 00:00:00:08.8573 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

[root@demo tmp]# rpm -qa|grep 'httpd-'
httpd-2.2.31-1.mr.el6.x86_64
lighttpd-fastcgi-1.4.39-3.el6.x86_64
httpd-tools-2.2.31-1.mr.el6.x86_64
lighttpd-1.4.39-3.el6.x86_64

10
Kloxo-MR Bugs and Requests / Re: issue with switchapache
« on: 2016-06-29, 08:40:57 »
Find it
lighttpd did not remove when I choose httpd
Then /script/switch-apache not work .

Quote
[root@demo ~]# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.b-2016062804
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: demo.vpscool.com
C. Services:
   1. MySQL: MariaDB-server-10.0.26-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.1-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.20-3.ius.el6.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: package none-toaster is not installed
      - smtp: package none-toaster is not installed
      - spam: package none is not installed
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        364       1683          5          0        128
   -/+ buffers/cache:        236       1811
   Swap:          512          0        512
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       60G  1.9G   59G   4% /


*** Process Time: 00:00:00:09.9042 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

[root@demo ~]# rpm -qa|grep 'httpd-'
lighttpd-fastcgi-1.4.39-3.el6.x86_64
lighttpd-1.4.39-3.el6.x86_64

11
Kloxo-MR Bugs and Requests / Re: issue with switchapache
« on: 2016-06-29, 03:58:34 »
After running sh /script/cleanup

Quote
[root@demo ~]# sh /script/fixweb; sh /script/restart-web -y

- For help, type '/script/fixweb [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config

*** Process Time: 00:00:00:03.3223 (dd:hh:mm:ss:xxxxxx) ***


Stopping php-fpm (PHP Used):                               [  OK  ]
Starting php-fpm (PHP Used):                               [  OK  ]
-------------------------------------------------------------------

Stopping spawn-fcgi:                                       [  OK  ]
Starting spawn-fcgi: spawn-fcgi: child spawned successfully: PID: 1107
                                                           [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 13 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
[root@demo ~]# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.b-2016062804
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: demo.vpscool.com
C. Services:
   1. MySQL: MariaDB-server-10.0.26-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.1-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.20-3.ius.el6.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: package none-toaster is not installed
      - smtp: package none-toaster is not installed
      - spam: package none is not installed
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        197       1850          2          0         38
   -/+ buffers/cache:        159       1888
   Swap:          512          0        512
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       60G  1.9G   59G   4% /


*** Process Time: 00:00:00:09.9107 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

12
Kloxo-MR Bugs and Requests / Re: issue with switchapache
« on: 2016-06-28, 14:28:37 »
Still the same
httpd -v
Server version: Apache/2.4.20 (Red Hat)
Server built:   Jun  6 2016 14:49:52

13
Kloxo-MR Bugs and Requests / issue with switchapache
« on: 2016-06-27, 14:42:53 »
new fresh install
Switch apache to Apache 2.4
but the /etc/httpd/conf/httpd.conf still ues the old one ,not use httpd24u.conf
please have a check.

14
Kloxo-MR Bugs and Requests / Re: issue with SSL
« on: 2016-06-20, 17:10:11 »

Stopping php-fpm (PHP Used):                               [  OK  ]
Starting php-fpm (PHP Used):                               [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd:                                            [FAILED]

15
Kloxo-MR Bugs and Requests / Re: issue with SSL
« on: 2016-06-20, 16:23:18 »
cat /var/log/httpd/error_log
AH00016: Configuration Failed

new issue.

Pages: [1] 2

MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.051 seconds with 17 queries.

web stats analysis