Author Topic: Error Log Unable to load dymanmic library  (Read 6901 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Error Log Unable to load dymanmic library
« on: July 30, 2016, 12:18:19 PM »
My error log is bloated with this:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20100525/php_curl.dll' - /usr/lib64/extensions/no-debug-non-zts-20100525/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0

I am getting this error almost every minute.  I checked my php.ini file and there is no extension there.

OK just went to php info and found this

enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /usr/local/cwp/php54/lib/php/extensions/no-debug-non-zts-20100525 => /usr/local/cwp/php54/lib/php/extensions/no-debug-non-zts-20100525
file_uploads => On => On
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
« Last Edit: July 30, 2016, 12:21:18 PM by pixelpadre »

Offline
***
Re: Error Log Unable to load dymanmic library
« Reply #1 on: July 30, 2016, 06:37:04 PM »
I found this file at /usr/local/cwp/php54/bin/php-config
Code: [Select]
  #! /bin/sh

SED="/bin/sed"
prefix="/usr/local/cwp/php54"
datarootdir="/usr/local/cwp/php54/php"
exec_prefix="${prefix}"
version="5.4.27"
vernum="50427"
include_dir="${prefix}/include/php"
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
ldflags=""
libs="-lcrypt   -lz -lcrypt -lrt -lmcrypt -lpng -lz -lcurl -lbz2 -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -lcurl -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt "
extension_dir='/usr/local/cwp/php54/lib/php/extensions/no-debug-non-zts-20100525'
man_dir=`eval echo ${datarootdir}/man`
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--with-apxs2=/usr/local/cwpsrv/bin/apxs' '--prefix=/usr/local/cwp/php54' '--with-config-file-path=/usr/local/cwp/php54' '--with-config-file-scan-dir=/usr/local/cwp/php54/php.d' '--with-libdir=lib' '--with-mysql' '--with-mysqli' '--enable-mbstring' '--disable-debug' '--disable-rpath' '--with-bz2' '--with-curl' '--with-gettext' '--with-iconv' '--with-openssl' '--with-gd' '--with-mcrypt' '--with-pcre-regex' '--with-zlib' '--enable-zip' '--with-mysql-sock=/var/lib/mysql/mysql.sock'"
php_sapis=" apache2handler cli cgi"

# Set php_cli_binary and php_cgi_binary if available
for sapi in $php_sapis; do
  case $sapi in
  cli)
    php_cli_binary="${exec_prefix}/bin/${program_prefix}php${program_suffix}${exe_extension}"
    ;;
  cgi)
    php_cgi_binary="${exec_prefix}/bin/${program_prefix}php-cgi${program_suffix}${exe_extension}"
    ;;
  esac
done

# Determine which (if any) php binary is available
if test "$php_cli_binary" != "NONE"; then
  php_binary="$php_cli_binary"
else
  php_binary="$php_cgi_binary"
fi

# Remove quotes
configure_options=`echo $configure_options | $SED -e "s#'##g"`

case "$1" in
--prefix)
  echo $prefix;;
--includes)
  echo $includes;;
--ldflags)
  echo $ldflags;;
--libs)
  echo $libs;;
--extension-dir)
  echo $extension_dir;;
--include-dir)
  echo $include_dir;;
--php-binary)
  echo $php_binary;;
--php-sapis)
  echo $php_sapis;;
--configure-options)
  echo $configure_options;;
--man-dir)
  echo $man_dir;;
--version)
  echo $version;;
--vernum)
  echo $vernum;;
*)
  cat << EOF
Usage: $0 [OPTION]
Options:
  --prefix            [$prefix]
  --includes          [$includes]
  --ldflags           [$ldflags]
  --libs              [$libs]
  --extension-dir     [$extension_dir]
  --include-dir       [$include_dir]
  --man-dir           [$man_dir]
  --php-binary        [$php_binary]
  --php-sapis         [$php_sapis]
  --configure-options [$configure_options]
  --version           [$version]
  --vernum            [$vernum]
EOF
  exit 1;;
esac

exit 0

Note at line 12 there is the probable source of my problem.  Should I delete the line that keeps trying to call a dll? I noticed single quotes also.
« Last Edit: July 30, 2016, 06:41:53 PM by pixelpadre »