Got server with control panel. Cli working on php 7.2 with alraedy installed imagick with heic support. But my php-fpm with 7.4 version working on another dir, like /opt/php74/bin and got lower imagick lib version.
How to upgrade this version too?
I sorted this out in my installation. Make sure you have "apt install php7.4-dev" rather than for the 7.2. https://eplt.medium.com/5-minutes-to-install-imagemagick-with-heic-support-on-ubuntu-18-04-digitalocean-fe2d09dcef1
Related
I installed php trade extension on my macOS Mojave. But I am not able to use it. I am sure it is installed because when I try to install it again it shows this:
pecl/trader is already installed and is the same as the released
version 0.5.0 install failed
I already add in php.ini this:
extension=trader.so
But, I don't see my trader extension neither on terminal (php -m) nor on phpinfo().
My Php version is - PHP Version 7.2.10 and I'm using XAMPP.
Does anyone know how can I solve this?
I am new to Ubuntu, using version 16.0.04. I am trying to install php5.5. after installation it show php5.6 when running the command php -v.
Help me to install php5.5 on Ubuntu 16.0.04
I want to run symfony framework, In PHP7.0 it get error.
Your post is not clear.
Read From this post :
https://askubuntu.com/questions/849808/installing-php5-5-on-ubuntu-16-with-apache2
The PHP 5.5 have been removed from ppa:ondrej/php, the lowest version is php5.6. Note that there are differences between php5.5 and php5.6, so you need to test your code. There is a major difference with object serialisation.
how to install mcrypt in xampp on windows?
My PHP Version 7.0.5 and xampp pack have not mcrypt extension so how can i install mcrypt on xampp ?
First, you should download the suitable version for your system from here: https://pecl.php.net/package/mcrypt/1.0.3/windows
Then, you should copy php_mcrypt.dll to ../xampp/php/ext/ and enable the extension by adding extension=mcrypt to your xampp/php/php.ini file.
The recent versions of XAMPP for Windows runs PHP 7.x which are NOT compatible with mbcrypt.
If you have a package like Laravel that requires mbcrypt, you will need to install an older version of XAMPP. OR, you can run XAMPP with multiple versions of PHP by downloading a PHP package from Windows.PHP.net, installing it in your XAMPP folder, and configuring php.ini and httpd.conf to use the correct version of PHP for your site.
you should install mcrypt with pecl on your xampp server:
./bin/pecl install mcrypt
then add to php.ini this code (extension block):
extension=mcrypt.so
Right from the PHP Docs:
PHP 5.3 Windows binaries uses the static version of the MCrypt library, no DLL are needed.
http://php.net/manual/en/mcrypt.requirements.php
But if you really want to download it, just go to the mcrypt sourceforge page
http://sourceforge.net/projects/mcrypt/files/?source=navbar
Recently, I wanted to upgrade my php on a mac from 5.4 to 5.5 [latest version], I did it successful with the php-osx's [http://php-osx.liip.ch/] one Line installation.
But however in the terminal when I did php -v, I could see the older version, then tried to uninstall php installed by phposx following their uninstall method.
Later I felt that I had to compile php from the source. I headed to php.net and downloaded 5.5, tar -zxvf, ./configure, make, sudo make install.
Now i feel like i'm going crazy as I have the older version when I issue php -v, also in the /usr/local/bin/php -v is the 5.5 version, and some packages installed with php-osx still available.
I need help with uninstalling the php compiled from source, and also totally remove some packages that where installed with php-osx, so that i just again install that latest version from the one line installer of php-osx and then just symlink it.
Thanks in advance!
I'm running MAMP 1.7.2 on a Mac and I'd like to install the extension php_gd2. How do I do this? I know that on Windows using WAMP I'd simply select the php_gd2 entry in the extensions menu to activate it. How is it done when using MAMP? I know that I can do it using MacPorts but I'd prefer not to make any changes to my default OS X PHP installation.
You shouldn't need to install the extension. I have 1.7.2 installed and running right now and it has GD bundled (2.0.34 compatible).
From the MAMP start page, click on phpinfo and you should see a GD section.
php.ini for MAMP 1.7.2 is located:
if using php5, here: /Applications/MAMP/conf/php5/php.ini
if php4, here: /Applications/MAMP/conf/php4/php.ini
hope that helps...