This may sound stupid, but my weird configuration seems to force an Apache2 installation when attempting to uninstall php7.2-fpm! (I use nginx and the last thing I want to see on my server is an Apache installation...)
I am trying to find a way to install php7.2-mbstring into Ubuntu 18.04, but I can't find find it. sudo apt-get install php7.2-mbstring responds with not finding it. According to the Cannonical and the Debian site, this packet exists though.
Preparing to unpack .../libapache2-mod-php7.2_7.2.10-0ubuntu0.18.04.1_amd64.deb ...Unpacking libapache2-mod-php7.2 (7.2.10-0ubuntu0.18.04.1) over (7.2.10-0ubuntu0.18.04.1) ...Setting up libapache2-mod-php7.2 (7.2.10-0ubuntu0.18.04.1) ...Module mpm_event disabled.Enabling module mpm_prefork.apache2_switch_mpm Switch to preforkdpkg: error processing package libapache2-mod-php7.2 (--configure): installed libapache2-mod-php7.2 package post-installation script subprocess returned error exit status 1E: Sub-process /usr/bin/dpkg returned an error code (1)
Steps work out well. However I notice that when I do some steps in " Add php7.4 libraries" I have to link python3 to python3.6 to get working. Our current setup is Ubuntu 18.04LTS using python3.8 and php7.2, so hopefully this can help out with those on the same setup as me. Unfortunately i have to downgrade to python3.6 from 3.8.To link python3 to python3.6 follow these steps:
There are leftover config files from a php7.2-intl package with non-matching version string. I recognised those two conflicting PHP7.2 versions on your system already last time, wherever this comes from. Please try to install it manually, purging the leftover first:
Although... now I see and verified the issue that you faced before with this inconsistent Ubuntu repo: Can't update to 5.0 (php7.2-intl) - #33 by MichaIng
It's still the same, the package lists contain PHP 7.2.3 packages while there are 7.2.24 packages stored in the pool. Strangely you're now on the other side of the issue:
Cron admin@freedom /usr/bin/php7.2 /home/admin/web/cavrljanje.com/public_html/addons/adnoyer/system/cron/adnoyer.php
Site error: the ionCube PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.
clarkwinkelmann Thanks Clark. I'm using php 7.3 now. But I needed to install 7.0 to get the pdo_mysql package. It wasn't possible for me to get it directly for php7.2 and above using apt-get install php7.2-mysql. It would say it was installed, but it wasn't actually on the system. Seems to be a relatively common problem online with different fixes for getting the package.
If any of the required packages are not listed in your output, install them with the sudo yum install package command. Also verify that the php7.2 and lamp-mariadb10.2-php7.2 extras are enabled in the output of the amazon-linux-extras command.
PHP extensions are commonly needed for content management systems (CMS) like WordPress. For example, if your installation lacks php7.2-xml, then some of your WordPress site pages may be blank and you can find an error in Nginx error log like:
Greetings, anyone has any guidelines on how to install prestasho with nginx? what are the php extensions you need? the latest version of prestashop is compatible with php7.2? what php7.2 extensions does prestashop need to work correctly?
and looked for any internet guide or decent tutorial to install prestashop with nginx in ubunti server and I can not find anything?
is it advisable to install prestashop with nginx? or is it better to install with apache?
any tutorial or guide that teaches to install prestashop with nginx?
Get:1 bionic/main amd64 php7.2-phalcon amd64 4.0.0-alpha1-1+php7.2 [1,283 kB]Fetched 1,283 kB in 1s (1,424 kB/s)
(Reading database ... 303458 files and directories currently installed.)Preparing to unpack .../php7.2-phalcon_4.0.0-alpha1-1+php7.2_amd64.deb ...Unpacking php7.2-phalcon (4.0.0-alpha1-1+php7.2) over (3.4.2-2+php7.2) ...Setting up php7.2-phalcon (4.0.0-alpha1-1+php7.2) ...
In this tutorial, we will use the command php to install ioncube loader on a server with php7.2. If you have installed newer php versions, do not use the command php but use the full php binary name with the version like php5.6, php7.1 or php7.2.
I was already thinking, that during our PHP installation we could apply settings to PHP version, based simply on available folders. If /etc/php7.0 is there, we apply settings there, if /etc/php7.2 is available as well (due to manual PHP7.2 installation from Ondrejs repo), then we apply settings there as well.
Hello,
I am a new iRedMail user. It looks like it works very well.
But...
I want to install mailwizz on the same server. I could not do it because I had a 502 error in my browser.
There was no php7.2-fpm.sock in /var/run/php