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-25, 10:54:23

Author Topic: [SOLVED] Alert: Need select php-type. Click [here] to set it.  (Read 10175 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
I've set php type and it's always coming out. Why ?

« Last Edit: 2014-04-29, 20:13:06 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #1 on: 2014-04-11, 04:29:22 »
Nothing wrong in my servers.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #2 on: 2014-04-12, 13:49:52 »
Nothing wrong in my servers.

Is this link ok ?

https://domain.pl:7777/display.php?frm_action=show&frm_o_o[0][class]=pserver&frm_o_o[0][nname]=localhost&frm_o_o[1][class]=serverweb&frm_o_o[2][class]=pserver&frm_o_o[2][nname]=localhost&frm_o_o[3][class]=phpini

Offline pats

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #3 on: 2014-04-22, 17:29:48 »
i'm also getting always
Code: [Select]
Alert: Need select php-type. Click [here] to set it.
PHP used dropdown has only - Use PHP branch

in dropdown PHP Branch, i'm trying to Update to php54, again dropdown shows php53u as default

Going again to Main page, greets me with Alert: Need select php-type. again

Offline pats

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #4 on: 2014-04-22, 17:34:44 »
Code: [Select]
[root@atl2 ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.1.b-2014042202

B. OS: CentOS release 5.10 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el5
   2. PHP: php53u-5.3.28-2.ius.el5
   3. Httpd: httpd-2.2.27-1.el5
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.4-1.mr.el5
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el5
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el5

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           512        150        361          0          0         47
   -/+ buffers/cache:        103        408
   Swap:          512          0        512

[root@atl2 ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #5 on: 2014-04-23, 02:15:54 »
Try the old trick, change php-type to fcgid_event and then change back to php-fpm_event. From sysinfo, look like php-type still [blank].

If change php-type fail that mean something wrong with php (possible conflict). Try change php-branch from ssh with 'yum replace php53u --replace-with=php54'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pats

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #6 on: 2014-04-23, 15:24:52 »
Both Tricks didn't work.

change php-type to fcgid_event and then change back to php-fpm_event -> still Alert: Need select php-type

# yum replace php53u --replace-with=php54
Code: [Select]
Removed:
  php53u.i386 0:5.3.28-2.ius.el5                      php53u-bcmath.i386 0:5.3.28-2.ius.el5
  php53u-cli.i386 0:5.3.28-2.ius.el5                  php53u-common.i386 0:5.3.28-2.ius.el5
  php53u-embedded.i386 0:5.3.28-2.ius.el5             php53u-fpm.i386 0:5.3.28-2.ius.el5
  php53u-gd.i386 0:5.3.28-2.ius.el5                   php53u-imap.i386 0:5.3.28-2.ius.el5
  php53u-intl.i386 0:5.3.28-2.ius.el5                 php53u-ldap.i386 0:5.3.28-2.ius.el5
  php53u-litespeed.i386 0:5.3.28-2.ius.el5            php53u-mbstring.i386 0:5.3.28-2.ius.el5
  php53u-mcrypt.i386 0:5.3.28-2.ius.el5               php53u-mysql.i386 0:5.3.28-2.ius.el5
  php53u-pdo.i386 0:5.3.28-2.ius.el5                  php53u-pear.noarch 1:1.9.4-3.ius.el5
  php53u-pecl-geoip.i386 0:1.0.8-1.ius.el5            php53u-pgsql.i386 0:5.3.28-2.ius.el5
  php53u-process.i386 0:5.3.28-2.ius.el5              php53u-pspell.i386 0:5.3.28-2.ius.el5
  php53u-recode.i386 0:5.3.28-2.ius.el5               php53u-snmp.i386 0:5.3.28-2.ius.el5
  php53u-soap.i386 0:5.3.28-2.ius.el5                 php53u-tidy.i386 0:5.3.28-2.ius.el5
  php53u-xml.i386 0:5.3.28-2.ius.el5                  php53u-xmlrpc.i386 0:5.3.28-2.ius.el5

Installed:
  php54.i386 0:5.4.27-1.ius.el5                       php54-bcmath.i386 0:5.4.27-1.ius.el5
  php54-cli.i386 0:5.4.27-1.ius.el5                   php54-common.i386 0:5.4.27-1.ius.el5
  php54-embedded.i386 0:5.4.27-1.ius.el5              php54-fpm.i386 0:5.4.27-1.ius.el5
  php54-gd.i386 0:5.4.27-1.ius.el5                    php54-imap.i386 0:5.4.27-1.ius.el5
  php54-intl.i386 0:5.4.27-1.ius.el5                  php54-ldap.i386 0:5.4.27-1.ius.el5
  php54-litespeed.i386 0:5.4.27-1.ius.el5             php54-mbstring.i386 0:5.4.27-1.ius.el5
  php54-mcrypt.i386 0:5.4.27-1.ius.el5                php54-mysql.i386 0:5.4.27-1.ius.el5
  php54-pdo.i386 0:5.4.27-1.ius.el5                   php54-pear.noarch 1:1.9.4-2.ius.el5
  php54-pecl-geoip.i386 0:1.0.8-3.ius.el5             php54-pgsql.i386 0:5.4.27-1.ius.el5
  php54-process.i386 0:5.4.27-1.ius.el5               php54-pspell.i386 0:5.4.27-1.ius.el5
  php54-recode.i386 0:5.4.27-1.ius.el5                php54-snmp.i386 0:5.4.27-1.ius.el5
  php54-soap.i386 0:5.4.27-1.ius.el5                  php54-tidy.i386 0:5.4.27-1.ius.el5
  php54-xml.i386 0:5.4.27-1.ius.el5                   php54-xmlrpc.i386 0:5.4.27-1.ius.el5

Complete!
[root@atl2 ~]#

Code: [Select]
[root@atl2 ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.1.b-2014042202

B. OS: CentOS release 5.10 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el5
   2. PHP: php54-5.4.27-1.ius.el5
   3. Httpd: httpd-2.2.27-1.el5
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.4-1.mr.el5
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el5
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el5

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           512        373        138          0          0        246
   -/+ buffers/cache:        127        384
   Swap:          512          0        512


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #7 on: 2014-04-23, 15:53:40 »
Always see alert because php-type (from sysinfo) still 'empty'.

Select to apache (or -proxy) and then select php-type. After that, back to use hiawatha.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #8 on: 2014-04-27, 17:14:42 »
Always see alert because php-type (from sysinfo) still 'empty'.

Select to apache (or -proxy) and then select php-type. After that, back to use hiawatha.

Quote
I've switched many times and php-type in /script/sysinfo is still blank !

[root@c44-49 /]# /script/sysinfo

A. Kloxo-MR: 6.5.1.b-2014042702

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.10-1.el6.x86_64
   2. PHP: php-5.4.27-1.el6.remi.x86_64
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.5-2.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: pdns-3.3.1-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         48266       1967      46299          0         85       1163
   -/+ buffers/cache:        718      47548
   Swap:          199          0        199

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #9 on: 2014-04-27, 17:22:56 »
It's because Kloxo has a horrible bug !

There must be:

pserver-localhost instead of client-admin in Kloxo database table - serverweb

Mustafa please tell me how to change apache to nginxproxy manually inside database. I'm changing to nginxproxy and it seems to be changed but Kloxo still shows Apache which is wrong ! It happens only on slave !

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #10 on: 2014-04-27, 20:27:23 »
It seems this trick stopped working in latest release. Why ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #11 on: 2014-04-28, 01:49:54 »
If you found 'weird' server in server try delete it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #12 on: 2014-04-28, 13:55:35 »
If you found 'weird' server in server try delete it.

It doesn't work. Please fix it !!! Why Kloxo does not enter proper data to Kloxo database. My:

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

is still blank...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #13 on: 2014-04-28, 18:35:41 »
Update to 2014042803 and then phpmyadmin and then go to serverweb. If found 'client-admin' in 'nname', delete this row.

After that, run cleanup.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Alert: Need select php-type. Click [here] to set it.
« Reply #14 on: 2014-04-28, 21:48:23 »
It works.

Quote
Now tell me how to fix /script/fixweb on slave...

[root@online /]# /script/fixphp --client=admin3

- For help, type '/script/fixphp --help'

Fixing php.ini/php-fpm.conf/php5.fcgi/.htaccess
- '/home/kloxo/client/admin3/php.ini' at 'backup.xxx.pl'
- '/home/kloxo/client/admin3/php5.fcgi' at 'backup.xxx.pl'
- '/etc/php-fpm.d/admin3.conf' at 'backup.xxx.pl'
- '/home/admin3/kloxoscript/.htaccess' at 'backup.xxx.pl'
- '/home/admin3/test3.internet.az.pl/.htaccess' ('admin3') at 'backup.xxx.pl'
- '/home/admin3/test4.internet.az.pl/.htaccess' ('admin3') at 'backup.xxx.pl'
[root@online /]# /script/fixweb --server=admin3

- For help, type '/script/fixweb --help'

Fixing Web server config
[root@online /]# /script/fixweb --server=admin3

- For help, type '/script/fixweb --help'

Fixing Web server config
[root@online /]#

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.04 seconds with 18 queries.

web stats analysis