I am getting this error on PHP Version 7.2.2, which is supposed to come with webp.
does webp need to be installed separately ?
Call to undefined function imagecreatefromwebp()
i run CENTOS 6.9 standard [host] with cpanle v70.0.12
GD Version bundled (2.1.0 compatible)
i update os to centos 7.5 and imagecreatefromwebp() work fine
Related
I am trying to install numpy to use within plpython3u in postgres 9.6 for
Windows 2012 (64 bit) but I run into dependency problems.
1) I have installed Postgres 9.6 from EnterpriseDB and the language pack,
which automatically installs Python 3.3. <- is there a way to install a newer version of Python?
I have done CREATE EXTENSION plpython3u; and it works correctly.
I tried to install python modules with: pip3.exe install numpy and
python -m pip install --user numpy but numpy-1.12.1 returns an error:
raise RuntimeError("Python version 2.7 or >= 3.4 required.")
If I try to install an older version of numpy==1.10.4, there are a number
of errors about blas and atlas and fortran compilers not being available -
so I didn't pursue that avenue much further.
2) If I install Python 3.6 separately, when CREATing EXTENSION plpython3u,
I get the
ERROR: could not load library "C:/Program
Files/PostgreSQL/9.6/lib/plpython3.dll": The specified module could
not be found.
The DLL is in that location, but the utility "depends" shows that it is
compiled for python33 and not python36, and those dependencies are
missing. Could I replace the plpython3.dll file somehow to get it to work
with Python 3.6?
Surely someone has installed numpy for plpython3u in postgres for Windows,
but I could not find any solutions so far..
Thanks
Peter
I wanted to install Movable Type in my server , I have installed Perl version: v5.16.3 in my own server and add handler mapping for it .
perl(cgi files) runs good but before of installing mt I should have installed two package for mt :
1 - DBD::mysql
2- DBD::SQLite2
i have installed first on but not succesfull to install intsalling DBD::SQLite2 on Perl with running ppm install DBD-SQLite2 i get not found error.
Address of Mt Check file on server
You don't need to install DBD:SQLite2.
See the system requirements at:
http://www.movabletype.org/documentation/system-requirements.html
The support for 'DBD::SQLite2' is deprecated in movable type v5.x and you would like to install v5.2.3 which is the latest version and the one supported and further developed.
Thanks,
Mihai
I am trying to install imagick and mongo on osx lion. Note that my php installation is done via homebrew. I have installed the packages correctly and it should work but php returns the following
Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Any clues on how to fix that?
The PHP errors indicate that you've compiled extensions for a different API version (20090626 API is PHP 5.3) from the server you are trying to use the extensions with (20100525 API is PHP 5.4).
I suspect that you have installed PHP 5.4 via homebrew, but managed to pick up the OS X default headers (PHP 5.3) when compiling the extensions. You need to either recompile your extensions with PHP 5.4, or downgrade your web server to PHP 5.3.
You can check the version of PHP headers in your path using php-config:
php-config --version
And the version of PHP and extension API with:
php -i | egrep "PHP (Extension|Version)"
Possible fixes:
Include /usr/local/bin in your path first so the homebrew PHP versions are found in preference to the system default:
export PATH=/usr/local/bin:$PATH
Install PHP 5.3 via Homebrew:
brew uninstall php54
brew install php53
For reference, I'd like to add that
when brew installs php it sets the additional ini files read folder to
/usr/local/etc/php/5.4/php5/conf.d
whilst it actually is
/usr/local/etc/php/5.4/conf.d
you can easily fix that by symlinking
cd /usr/local/etc/php/5.4/
mkdir php5
cd php5
ln -s ../conf.d .
I have tried to install the mbstring module for PHP. I have entered the below commands:
yum install php-mbstring
/usr/local/apache/bin/apachectl restart
Module is now installed but the errors has not dissapeared.
Fatal error: Call to undefined function mb_send_mail()
In my phpinfo(), "mbstring" doesn't exist...
OS: centos 6
PHP: 5.3.8
How did you install PHP on your system? The PHP version currently supported via YUM install is 5.3.3, but you said your PHP version is 5.3.8 which leads me to believe that you may have compiled PHP manually. If so, you will have to recompile with the --enable-mbstring flag.
I am getting the following error when trying to run several executables:
/lib/libc.so.6: version `GLIBC_2.7' not found (required by .tools/bridge/bridge)
I have recently upgraded from CentOS 5.3 to 5.7 (I am required to run these tools on CentOS 5, so I can't upgrade to 6).
I recompiled the whole code but this error still appears.
Has anyone encountered this type of error?
Thanks,
Claudiu
The error means that you built .tools/bridge/bridge on a system with glibc-2.7 (or later), and are trying to run it on a system that has glibc-2.6 or earlier.
Linux (and most UNIXes) does not support "build on later, run on earlier"; only the reverse scenario is supported.
See also this answer.
The 'glibc' is not the latest version, and you can try to update glibc package.
yum install glibc
or
yum install glibc-2.7