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-29, 10:58:48

Author Topic: php not work  (Read 4053 times)

0 Members and 1 Guest are viewing this topic.

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
php not work
« on: 2015-02-16, 22:18:50 »
[17-Feb-2015 04:13:01 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/memcached.so' - libmemcached.so.11: cannot open shared object file: No such file or directory in Unknown on line 0


fresh installed


A. Kloxo-MR: 7.0.0.b-2015021501

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.41-2.ius.el6.x86_64
   2. PHP: php54-5.4.37-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.12.0-f.1.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.46.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7743       1491       6252          0         92        879
   -/+ buffers/cache:        518       7224
   Swap:        16383          0      16383

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: php not work
« Reply #1 on: 2015-02-16, 22:30:17 »
I changed php54 to php53u.
BUt it show download window for php.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php not work
« Reply #2 on: 2015-02-16, 22:31:24 »
Kloxo-MR 7.0 using php-branch or phpm series for websites (select in 'php used' in 'webserver configure').

Also, by default all php (php-branch, phpm series and phps series; disable memcached by default). So, where the error came from?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php not work
« Reply #3 on: 2015-02-16, 22:33:36 »
Try install 'multiple php' in 'webserver configure' and then wait until finish (need an hour). After that, select 'php54m' under 'php used'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: php not work
« Reply #4 on: 2015-02-16, 22:38:34 »
now Error 500 - Internal Server Error

« Last Edit: 2015-02-16, 22:42:27 by azzureal »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php not work
« Reply #5 on: 2015-02-16, 22:40:40 »
What's you mean and after what?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: php not work
« Reply #6 on: 2015-02-16, 22:43:19 »
I tried all wht you said.

But now 500 internal error

here errer message

I ran upcp, cleanup but the same.

[Tue Feb 17 13:36:07 2015] [error] [client 61.247.181.222] FastCGI: incomplete headers (0 bytes) received from server "/home/embargo/embargo/embargo.kr.0fake"
[Tue Feb 17 13:38:14 2015] [error] [client 61.247.181.222] FastCGI: incomplete headers (0 bytes) received from server "/home/embargo/embargo/embargo.kr.0fake"

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php not work
« Reply #7 on: 2015-02-16, 23:10:26 »
Try change to 'mod_php_event' and then change back to 'php-fpm_event' in 'webserver configure'.

And or try reboot.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: php not work
« Reply #8 on: 2015-02-17, 00:02:26 »
Failed.

So I replaced php53u to php54.
No error.
But anohter error.

PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/memcached.so' - libmemcached.so.11: cannot open shared object file: No such file or directory in Unknown on line 0


Php page is blank.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php not work
« Reply #9 on: 2015-02-17, 00:28:07 »
Inform here 'dir -l /etc/php.d'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: php not work
« Reply #10 on: 2015-02-17, 00:29:11 »
[root@localhost ~]# dir -l /etc/php.d
?? 124
-rw-r--r-- 1 root root 49 2015-01-24 12:51 curl.ini
-rw-r--r-- 1 root root 47 2015-01-24 12:51 dom.ini
-rw-r--r-- 1 root root 57 2015-01-24 12:51 fileinfo.ini
-rw-r--r-- 1 root root 45 2015-01-24 12:51 gd.ini
-rw-r--r-- 1 root root 51 2012-08-22 03:14 geoip.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 imap.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 intl.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 json.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 ldap.ini
-rw-r--r-- 1 root root 57 2015-01-24 12:51 mbstring.ini
-rw-r--r-- 1 root root 51 2015-01-24 12:51 mysql.ini
-rw-r--r-- 1 root root 53 2015-01-24 12:51 mysqli.ini
-rw-r--r-- 1 root root 47 2015-01-24 12:51 pdo.ini
-rw-r--r-- 1 root root 59 2015-01-24 12:51 pdo_mysql.ini
-rw-r--r-- 1 root root 61 2015-01-24 12:51 pdo_sqlite.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 phar.ini
-rw-r--r-- 1 root root 51 2015-01-24 12:51 posix.ini
-rw-r--r-- 1 root root 53 2015-01-24 12:51 pspell.ini
-rw-r--r-- 1 root root 53 2015-01-24 12:51 recode.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 snmp.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 soap.ini
-rw-r--r-- 1 root root 55 2015-01-24 12:51 sqlite3.ini
-rw-r--r-- 1 root root 55 2015-01-24 12:51 sysvmsg.ini
-rw-r--r-- 1 root root 55 2015-01-24 12:51 sysvsem.ini
-rw-r--r-- 1 root root 55 2015-01-24 12:51 sysvshm.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 tidy.ini
-rw-r--r-- 1 root root 49 2015-01-24 12:51 wddx.ini
-rw-r--r-- 1 root root 59 2015-01-24 12:51 xmlreader.ini
-rw-r--r-- 1 root root 59 2015-01-24 12:51 xmlwriter.ini
-rw-r--r-- 1 root root 47 2015-01-24 12:51 xsl.ini
-rw-r--r-- 1 root root 47 2015-01-24 12:51 zip.ini
[root@localhost ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php not work
« Reply #11 on: 2015-02-17, 00:40:09 »
It's weird because php branch not using module of phpXYs (special php for Kloxo-MR itself).

Try reinstall php54 with 'yum reinstall php54*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: php not work
« Reply #12 on: 2015-02-17, 03:10:25 »
I decided to reinstall OS.

Thanks.

 


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

Page created in 0.03 seconds with 19 queries.

web stats analysis