Thanks for the post, i am facing the same issue as you. Where you able to fix this?
]]>I installed mediawiki using your following tutorial:
https://www.linuxtechi.com/install-mediawiki-on-linux/
it is going good, but when I open my browser, it shows the mediawiki page with a warning that mediawiki 1.34 does not work with PHP version 5.4.16. I must have at least PHP 7.2.9. So, I am trying to upgrade it. I followed your this tutorial for that. Till step 3, it works fine, but when I use yum to install it, there I get an error.
I always use the following yum command to install anything
“yum –disablerepo=\* –enablerepo=c7-media install php”
“c7-media is to link it to baseurl where I mounted my centOS.iso file that contains all packages.” And it contains PHP version 5.4.16.
Now to install this new version of PHP, how to RUN yum command, because “yum install php” does not work for me. it gives me error “unable to find the valid baseurl”. Can you please help me out in this.
OR can you please tell how to get the .tar file for old version of mediawiki (1.24 etc).
Thank you for your help
I believe part of the problem I encountered was that I had already followed similar instructions to install PHP 5.6. The default for CentOS 7 is PHP 5.4. So in order further upgrade to PHP 7.4 you must disable PHP 5.6. So at Step 2 to “configure PHP 7.x repo” you might also need to add “yum-config-manager –disable remi-php56” (or whatever version had been configured previously). Once that’s done, re-install 7.4, and all is well.
]]>It seems when I did that, it created a “/bin/php74” executable instead of “/bin/php”, which was easily resolved with a “ln” command.
]]>What will happen is that it will re-install PHP 5.6, which was just removed.
You have to “yum install php74 php74-php-cli php74-php-mysqld … ” etc.
]]>