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-29, 11:37:20

Author Topic: fresh install and errors  (Read 13732 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: fresh install and errors
« Reply #15 on: 2014-03-26, 19:28:18 »
What's about 'php -m' and 'php-fpm -m'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #16 on: 2014-03-26, 19:44:12 »
Code: [Select]
php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
hash
iconv
ionCube Loader
json
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
XCache
XCache Cacher
XCache Coverager
XCache Optimizer
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]
XCache
XCache Cacher
XCache Coverager
XCache Optimizer
the ionCube PHP Loader




Code: [Select]
php-fpm -m
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/geoip.so' - /opt/php53s/usr/lib/php/modules/geoip.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/pdo_pgsql.so' - /opt/php53s/usr/lib/php/modules/pdo_pgsql.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/pgsql.so' - /opt/php53s/usr/lib/php/modules/pgsql.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/xcache.so' - /opt/php53s/usr/lib/php/modules/xcache.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
[PHP Modules]
bcmath
bz2
calendar
cgi-fcgi
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
ionCube Loader
json
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]
the ionCube PHP Loader



KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: fresh install and errors
« Reply #17 on: 2014-03-26, 19:48:09 »
Inform here 'cat /etc/rc.d/init.d/php-fpm'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #18 on: 2014-03-26, 20:05:38 »
Code: [Select]
cat /etc/rc.d/init.d/php-fpm
#! /bin/sh
#
# chkconfig: - 84 16
# description:  PHP FastCGI Process Manager
# processname: php-fpm
# config: /etc/php-fpm.conf
# pidfile: /var/run/php-fpm/php-fpm.pid

# Standard LSB functions
#. /lib/lsb/init-functions

# Source function library.
. /etc/init.d/functions

# Check that networking is up.
. /etc/sysconfig/network

if [ "$NETWORKING" = "no" ]
then
    exit 0
fi

RETVAL=0
prog="php-fpm"
pidfile=${PIDFILE-/var/run/php-fpm/php-fpm.pid}
lockfile=${LOCKFILE-/var/lock/subsys/php-fpm}

start () {
    echo -n $"Starting $prog: "
    daemon --pidfile ${pidfile} php-fpm
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && touch ${lockfile}
}
stop () {
    echo -n $"Stopping $prog: "
    killproc -p ${pidfile} php-fpm
    RETVAL=$?
    echo
    if [ $RETVAL -eq 0 ] ; then
        rm -f ${lockfile} ${pidfile}
    fi
}

restart () {
        stop
        start
}

reload () {
    echo -n $"Reloading $prog: "
    killproc -p ${pidfile} php-fpm -USR2
    RETVAL=$?
    echo
}


# See how we were called.
case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  status)
    status -p ${pidfile} php-fpm
    RETVAL=$?
    ;;
  restart)
    restart
    ;;
  reload|force-reload)
    reload
    ;;
  condrestart|try-restart)
    [ -f ${lockfile} ] && restart || :
    ;;
  *)
    echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart|try-restart}"
    RETVAL=2
        ;;
esac

exit $RETVAL




KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: fresh install and errors
« Reply #19 on: 2014-03-26, 20:18:24 »
Find out 'extension_dir' where possible with 'extension_dir = /opt/php53s/usr/lib/php/modules' and change to 'extension_dir = /usr/lib/php/modules' in php.ini.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #20 on: 2014-03-26, 22:37:29 »
/etc/php.ini    was    extension_dir = /usr/lib/php/modules
no change
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: fresh install and errors
« Reply #21 on: 2014-03-27, 01:31:28 »
It's weird. Is something wrong with php53u from ius?.

What's about when using php54?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #22 on: 2014-03-27, 19:16:59 »
php54    and wp

Code: [Select]
Deine PHP-Installation scheint nicht über die von WordPress benötigte MySQL-Erweiterung zu verfügen.

Your PHP installation does not seem to have the necessary WordPress MySQL extension.


« Last Edit: 2014-03-27, 19:19:27 by ibuxxi »
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: fresh install and errors
« Reply #23 on: 2014-03-28, 05:25:49 »
Php 5.4 have a problem with mysql module. Some applications need mysql/mysqli module but others need mysqlnd. Mysql/mysqli and mysqlnd not able to install together.

No issue install together in php 5.5.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #24 on: 2014-03-28, 07:37:49 »
php55u    and wp

Code: [Select]
Deine PHP-Installation scheint nicht über die von WordPress benötigte MySQL-Erweiterung zu verfügen.

Your PHP installation does not seem to have the necessary WordPress MySQL extension.

KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: fresh install and errors
« Reply #25 on: 2014-03-28, 08:11:57 »
Try 'yum install php55u-mysql*'. And then '/script/restart-web'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #26 on: 2014-03-28, 08:35:45 »
but php55u      no xcache ?
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #27 on: 2014-03-28, 08:38:14 »
already installed
Code: [Select]
yum install php55u-mysql*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * extras: centos.mirror.constant.com
 * mratwork-epel: ftp.linux.ncsu.edu
 * mratwork-ius: archive.linux.duke.edu
 * updates: centos.mirror.constant.com
0 packages excluded due to repository protections
Setting up Install Process
Package php55u-mysqlnd-5.5.10-1.ius.el6.i686 already installed and latest version
Nothing to do

KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: fresh install and errors
« Reply #28 on: 2014-03-28, 09:29:50 »
Install opcache with 'yum php55u-opcache'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: fresh install and errors
« Reply #29 on: 2014-03-28, 10:38:43 »
php53u

why nor  pgsql.so pdo_pgsql.so geoip.so   in modules ?
Code: [Select]
[root@happy2 script]# cd /opt/php53s/usr/lib/php/modules/
[root@happy2 modules]# ls
bcmath.so  enchant.so   imap.so  ldap.so      mysqli.so     pdo.so         posix.so   snmp.so     sysvsem.so  wddx.so       xmlwriter.so
curl.so    fileinfo.so  intl.so  mbstring.so  mysql.so      pdo_sqlite.so  pspell.so  soap.so     sysvshm.so  xmlreader.so  xsl.so
dom.so     gd.so        json.so  mcrypt.so    pdo_mysql.so  phar.so        recode.so  sysvmsg.so  tidy.so     xmlrpc.so     zip.so

KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

 


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

Page created in 0.069 seconds with 21 queries.

web stats analysis