Issue update PHP 7 on CentOS 7

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I would like to update PHP 7.0.2.6 to the latest 7.2 version on my CentOS 7 server (with DirectAdmin installed) via SSH. I found many procedures on the internet, but none of them seems to work. I was told the procedure should look like this:



  1. yum install epel-release

  2. rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm

  3. yum list installed php*

  4. yum remove php*

  5. yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl

  6. php-mysql php-ldap php-zip php-fileinfo

  7. php -v

I get stuck with step 4, giving the result below. Any thoughts what could be the issue here?



[root@vps ~]# yum list installed php*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.ehv.weppel.nl
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
Error: No matching Packages to list


Additional information:



[root@vps ~]# dir -A
.bash_history .custombuild .rnd
.bash_logout epel-release-latest-7.noarch.rpm setup-ius.sh
.bash_profile .pki .spamassassin
.bashrc remi-release-7.rpm .ssh
.cshrc remi-release-7.rpm.1 .tcshrc



Result step 5:



[root@vps ~]# yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 30 kB 00:00
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.amsiohosting.net
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
ius | 2.3 kB 00:00
remi-php71 | 3.0 kB 00:00
remi-php72 | 3.0 kB 00:00
remi-safe | 3.0 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
(1/3): remi-php72/primary_db | 209 kB 00:00
(2/3): remi-php71/primary_db | 230 kB 00:00
(3/3): remi-safe/primary_db | 1.4 MB 00:00
No package php available.
No package php-mcrypt available.
No package php-cli available.
No package php-gd available.
No package php-curl available.
Error: Nothing to do









share|improve this question









New contributor




Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Is there a file matching the pattern "php*" in root's home directory? Try quoting the "php*".
    – Jeff Schaller
    yesterday










  • I don't think so (added additional information to the post) and quoting PHP gives the same result.
    – Sjors
    yesterday










  • Is PHP running on this machine? If so, it looks like you do not have PHP installed via the CentOS system packages so any upgrade path through YUM will probably not work. You will need to determine how PHP is running on your machine and how it got installed, then check if there are any update procedures for your current install. Do you run a control panel (such as cPanel) that would be handling PHP for you?
    – GracefulRestart
    yesterday










  • If you really don't have php installed, then you seem (to me) to have accomplished the goal of step #4; you could try proceeding with step #5, after confirming GracefulRestart's suspicious about whether & how php is installed on the system.
    – Jeff Schaller
    yesterday










  • I have added the result of step 5 in the initial post, claming that there are no packages available. I use DirectAdmin version 1.54.1 on CentOS 7.0 64-Bit.
    – Sjors
    yesterday














up vote
0
down vote

favorite












I would like to update PHP 7.0.2.6 to the latest 7.2 version on my CentOS 7 server (with DirectAdmin installed) via SSH. I found many procedures on the internet, but none of them seems to work. I was told the procedure should look like this:



  1. yum install epel-release

  2. rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm

  3. yum list installed php*

  4. yum remove php*

  5. yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl

  6. php-mysql php-ldap php-zip php-fileinfo

  7. php -v

I get stuck with step 4, giving the result below. Any thoughts what could be the issue here?



[root@vps ~]# yum list installed php*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.ehv.weppel.nl
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
Error: No matching Packages to list


Additional information:



[root@vps ~]# dir -A
.bash_history .custombuild .rnd
.bash_logout epel-release-latest-7.noarch.rpm setup-ius.sh
.bash_profile .pki .spamassassin
.bashrc remi-release-7.rpm .ssh
.cshrc remi-release-7.rpm.1 .tcshrc



Result step 5:



[root@vps ~]# yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 30 kB 00:00
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.amsiohosting.net
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
ius | 2.3 kB 00:00
remi-php71 | 3.0 kB 00:00
remi-php72 | 3.0 kB 00:00
remi-safe | 3.0 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
(1/3): remi-php72/primary_db | 209 kB 00:00
(2/3): remi-php71/primary_db | 230 kB 00:00
(3/3): remi-safe/primary_db | 1.4 MB 00:00
No package php available.
No package php-mcrypt available.
No package php-cli available.
No package php-gd available.
No package php-curl available.
Error: Nothing to do









share|improve this question









New contributor




Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Is there a file matching the pattern "php*" in root's home directory? Try quoting the "php*".
    – Jeff Schaller
    yesterday










  • I don't think so (added additional information to the post) and quoting PHP gives the same result.
    – Sjors
    yesterday










  • Is PHP running on this machine? If so, it looks like you do not have PHP installed via the CentOS system packages so any upgrade path through YUM will probably not work. You will need to determine how PHP is running on your machine and how it got installed, then check if there are any update procedures for your current install. Do you run a control panel (such as cPanel) that would be handling PHP for you?
    – GracefulRestart
    yesterday










  • If you really don't have php installed, then you seem (to me) to have accomplished the goal of step #4; you could try proceeding with step #5, after confirming GracefulRestart's suspicious about whether & how php is installed on the system.
    – Jeff Schaller
    yesterday










  • I have added the result of step 5 in the initial post, claming that there are no packages available. I use DirectAdmin version 1.54.1 on CentOS 7.0 64-Bit.
    – Sjors
    yesterday












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I would like to update PHP 7.0.2.6 to the latest 7.2 version on my CentOS 7 server (with DirectAdmin installed) via SSH. I found many procedures on the internet, but none of them seems to work. I was told the procedure should look like this:



  1. yum install epel-release

  2. rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm

  3. yum list installed php*

  4. yum remove php*

  5. yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl

  6. php-mysql php-ldap php-zip php-fileinfo

  7. php -v

I get stuck with step 4, giving the result below. Any thoughts what could be the issue here?



[root@vps ~]# yum list installed php*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.ehv.weppel.nl
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
Error: No matching Packages to list


Additional information:



[root@vps ~]# dir -A
.bash_history .custombuild .rnd
.bash_logout epel-release-latest-7.noarch.rpm setup-ius.sh
.bash_profile .pki .spamassassin
.bashrc remi-release-7.rpm .ssh
.cshrc remi-release-7.rpm.1 .tcshrc



Result step 5:



[root@vps ~]# yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 30 kB 00:00
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.amsiohosting.net
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
ius | 2.3 kB 00:00
remi-php71 | 3.0 kB 00:00
remi-php72 | 3.0 kB 00:00
remi-safe | 3.0 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
(1/3): remi-php72/primary_db | 209 kB 00:00
(2/3): remi-php71/primary_db | 230 kB 00:00
(3/3): remi-safe/primary_db | 1.4 MB 00:00
No package php available.
No package php-mcrypt available.
No package php-cli available.
No package php-gd available.
No package php-curl available.
Error: Nothing to do









share|improve this question









New contributor




Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I would like to update PHP 7.0.2.6 to the latest 7.2 version on my CentOS 7 server (with DirectAdmin installed) via SSH. I found many procedures on the internet, but none of them seems to work. I was told the procedure should look like this:



  1. yum install epel-release

  2. rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm

  3. yum list installed php*

  4. yum remove php*

  5. yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl

  6. php-mysql php-ldap php-zip php-fileinfo

  7. php -v

I get stuck with step 4, giving the result below. Any thoughts what could be the issue here?



[root@vps ~]# yum list installed php*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.ehv.weppel.nl
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
Error: No matching Packages to list


Additional information:



[root@vps ~]# dir -A
.bash_history .custombuild .rnd
.bash_logout epel-release-latest-7.noarch.rpm setup-ius.sh
.bash_profile .pki .spamassassin
.bashrc remi-release-7.rpm .ssh
.cshrc remi-release-7.rpm.1 .tcshrc



Result step 5:



[root@vps ~]# yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 30 kB 00:00
* base: ams.edge.kernel.org
* epel: ams.edge.kernel.org
* extras: mirror.nforce.com
* ius: mirror.amsiohosting.net
* remi-php71: remi.mirror.wearetriple.com
* remi-php72: remi.mirror.wearetriple.com
* remi-safe: remi.mirror.wearetriple.com
* updates: centos.mirror.transip.nl
* webtatic: uk.repo.webtatic.com
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
ius | 2.3 kB 00:00
remi-php71 | 3.0 kB 00:00
remi-php72 | 3.0 kB 00:00
remi-safe | 3.0 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
(1/3): remi-php72/primary_db | 209 kB 00:00
(2/3): remi-php71/primary_db | 230 kB 00:00
(3/3): remi-safe/primary_db | 1.4 MB 00:00
No package php available.
No package php-mcrypt available.
No package php-cli available.
No package php-gd available.
No package php-curl available.
Error: Nothing to do






centos ssh php






share|improve this question









New contributor




Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday





















New contributor




Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Sjors

32




32




New contributor




Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Sjors is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Is there a file matching the pattern "php*" in root's home directory? Try quoting the "php*".
    – Jeff Schaller
    yesterday










  • I don't think so (added additional information to the post) and quoting PHP gives the same result.
    – Sjors
    yesterday










  • Is PHP running on this machine? If so, it looks like you do not have PHP installed via the CentOS system packages so any upgrade path through YUM will probably not work. You will need to determine how PHP is running on your machine and how it got installed, then check if there are any update procedures for your current install. Do you run a control panel (such as cPanel) that would be handling PHP for you?
    – GracefulRestart
    yesterday










  • If you really don't have php installed, then you seem (to me) to have accomplished the goal of step #4; you could try proceeding with step #5, after confirming GracefulRestart's suspicious about whether & how php is installed on the system.
    – Jeff Schaller
    yesterday










  • I have added the result of step 5 in the initial post, claming that there are no packages available. I use DirectAdmin version 1.54.1 on CentOS 7.0 64-Bit.
    – Sjors
    yesterday
















  • Is there a file matching the pattern "php*" in root's home directory? Try quoting the "php*".
    – Jeff Schaller
    yesterday










  • I don't think so (added additional information to the post) and quoting PHP gives the same result.
    – Sjors
    yesterday










  • Is PHP running on this machine? If so, it looks like you do not have PHP installed via the CentOS system packages so any upgrade path through YUM will probably not work. You will need to determine how PHP is running on your machine and how it got installed, then check if there are any update procedures for your current install. Do you run a control panel (such as cPanel) that would be handling PHP for you?
    – GracefulRestart
    yesterday










  • If you really don't have php installed, then you seem (to me) to have accomplished the goal of step #4; you could try proceeding with step #5, after confirming GracefulRestart's suspicious about whether & how php is installed on the system.
    – Jeff Schaller
    yesterday










  • I have added the result of step 5 in the initial post, claming that there are no packages available. I use DirectAdmin version 1.54.1 on CentOS 7.0 64-Bit.
    – Sjors
    yesterday















Is there a file matching the pattern "php*" in root's home directory? Try quoting the "php*".
– Jeff Schaller
yesterday




Is there a file matching the pattern "php*" in root's home directory? Try quoting the "php*".
– Jeff Schaller
yesterday












I don't think so (added additional information to the post) and quoting PHP gives the same result.
– Sjors
yesterday




I don't think so (added additional information to the post) and quoting PHP gives the same result.
– Sjors
yesterday












Is PHP running on this machine? If so, it looks like you do not have PHP installed via the CentOS system packages so any upgrade path through YUM will probably not work. You will need to determine how PHP is running on your machine and how it got installed, then check if there are any update procedures for your current install. Do you run a control panel (such as cPanel) that would be handling PHP for you?
– GracefulRestart
yesterday




Is PHP running on this machine? If so, it looks like you do not have PHP installed via the CentOS system packages so any upgrade path through YUM will probably not work. You will need to determine how PHP is running on your machine and how it got installed, then check if there are any update procedures for your current install. Do you run a control panel (such as cPanel) that would be handling PHP for you?
– GracefulRestart
yesterday












If you really don't have php installed, then you seem (to me) to have accomplished the goal of step #4; you could try proceeding with step #5, after confirming GracefulRestart's suspicious about whether & how php is installed on the system.
– Jeff Schaller
yesterday




If you really don't have php installed, then you seem (to me) to have accomplished the goal of step #4; you could try proceeding with step #5, after confirming GracefulRestart's suspicious about whether & how php is installed on the system.
– Jeff Schaller
yesterday












I have added the result of step 5 in the initial post, claming that there are no packages available. I use DirectAdmin version 1.54.1 on CentOS 7.0 64-Bit.
– Sjors
yesterday




I have added the result of step 5 in the initial post, claming that there are no packages available. I use DirectAdmin version 1.54.1 on CentOS 7.0 64-Bit.
– Sjors
yesterday










2 Answers
2






active

oldest

votes

















up vote
0
down vote



accepted










On DirectAdmin's site, it specifically states not to install or upgrade PHP (or Apache) via the package manager.



Instead, you will need to do it via the CustomBuild script.



There are instructions at this link and I'll give an overview in case the link changes or becomes unavailable:



https://www.transip.eu/knowledgebase/entry/420-directadmin-want-update-the-version/



cd to where the custombuild directory is located which will contain the build script.



Run ./build version to make sure that it is version 2.0. If it is, then skip this next part. If it's not, then



mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuil/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild


Update PHP



./build set php1_release 7.2
./build update
./build php d


Check the software versions to make sure that PHP has been updated:



./build versions


httpd will normally restart but if it doesn't, you can do it manually.






share|improve this answer




















  • Thank you Nasir! It did the trick!
    – Sjors
    16 hours ago










  • @Sjors You are welcome.
    – Nasir Riley
    12 hours ago

















up vote
0
down vote













Try - yum list installed | grep php






share|improve this answer




















  • 'yum list installed | grep php' doesn't give a result back..
    – Sjors
    yesterday










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Sjors is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481699%2fissue-update-php-7-on-centos-7%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










On DirectAdmin's site, it specifically states not to install or upgrade PHP (or Apache) via the package manager.



Instead, you will need to do it via the CustomBuild script.



There are instructions at this link and I'll give an overview in case the link changes or becomes unavailable:



https://www.transip.eu/knowledgebase/entry/420-directadmin-want-update-the-version/



cd to where the custombuild directory is located which will contain the build script.



Run ./build version to make sure that it is version 2.0. If it is, then skip this next part. If it's not, then



mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuil/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild


Update PHP



./build set php1_release 7.2
./build update
./build php d


Check the software versions to make sure that PHP has been updated:



./build versions


httpd will normally restart but if it doesn't, you can do it manually.






share|improve this answer




















  • Thank you Nasir! It did the trick!
    – Sjors
    16 hours ago










  • @Sjors You are welcome.
    – Nasir Riley
    12 hours ago














up vote
0
down vote



accepted










On DirectAdmin's site, it specifically states not to install or upgrade PHP (or Apache) via the package manager.



Instead, you will need to do it via the CustomBuild script.



There are instructions at this link and I'll give an overview in case the link changes or becomes unavailable:



https://www.transip.eu/knowledgebase/entry/420-directadmin-want-update-the-version/



cd to where the custombuild directory is located which will contain the build script.



Run ./build version to make sure that it is version 2.0. If it is, then skip this next part. If it's not, then



mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuil/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild


Update PHP



./build set php1_release 7.2
./build update
./build php d


Check the software versions to make sure that PHP has been updated:



./build versions


httpd will normally restart but if it doesn't, you can do it manually.






share|improve this answer




















  • Thank you Nasir! It did the trick!
    – Sjors
    16 hours ago










  • @Sjors You are welcome.
    – Nasir Riley
    12 hours ago












up vote
0
down vote



accepted







up vote
0
down vote



accepted






On DirectAdmin's site, it specifically states not to install or upgrade PHP (or Apache) via the package manager.



Instead, you will need to do it via the CustomBuild script.



There are instructions at this link and I'll give an overview in case the link changes or becomes unavailable:



https://www.transip.eu/knowledgebase/entry/420-directadmin-want-update-the-version/



cd to where the custombuild directory is located which will contain the build script.



Run ./build version to make sure that it is version 2.0. If it is, then skip this next part. If it's not, then



mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuil/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild


Update PHP



./build set php1_release 7.2
./build update
./build php d


Check the software versions to make sure that PHP has been updated:



./build versions


httpd will normally restart but if it doesn't, you can do it manually.






share|improve this answer












On DirectAdmin's site, it specifically states not to install or upgrade PHP (or Apache) via the package manager.



Instead, you will need to do it via the CustomBuild script.



There are instructions at this link and I'll give an overview in case the link changes or becomes unavailable:



https://www.transip.eu/knowledgebase/entry/420-directadmin-want-update-the-version/



cd to where the custombuild directory is located which will contain the build script.



Run ./build version to make sure that it is version 2.0. If it is, then skip this next part. If it's not, then



mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuil/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild


Update PHP



./build set php1_release 7.2
./build update
./build php d


Check the software versions to make sure that PHP has been updated:



./build versions


httpd will normally restart but if it doesn't, you can do it manually.







share|improve this answer












share|improve this answer



share|improve this answer










answered 22 hours ago









Nasir Riley

2,126239




2,126239











  • Thank you Nasir! It did the trick!
    – Sjors
    16 hours ago










  • @Sjors You are welcome.
    – Nasir Riley
    12 hours ago
















  • Thank you Nasir! It did the trick!
    – Sjors
    16 hours ago










  • @Sjors You are welcome.
    – Nasir Riley
    12 hours ago















Thank you Nasir! It did the trick!
– Sjors
16 hours ago




Thank you Nasir! It did the trick!
– Sjors
16 hours ago












@Sjors You are welcome.
– Nasir Riley
12 hours ago




@Sjors You are welcome.
– Nasir Riley
12 hours ago












up vote
0
down vote













Try - yum list installed | grep php






share|improve this answer




















  • 'yum list installed | grep php' doesn't give a result back..
    – Sjors
    yesterday














up vote
0
down vote













Try - yum list installed | grep php






share|improve this answer




















  • 'yum list installed | grep php' doesn't give a result back..
    – Sjors
    yesterday












up vote
0
down vote










up vote
0
down vote









Try - yum list installed | grep php






share|improve this answer












Try - yum list installed | grep php







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









user103944

162




162











  • 'yum list installed | grep php' doesn't give a result back..
    – Sjors
    yesterday
















  • 'yum list installed | grep php' doesn't give a result back..
    – Sjors
    yesterday















'yum list installed | grep php' doesn't give a result back..
– Sjors
yesterday




'yum list installed | grep php' doesn't give a result back..
– Sjors
yesterday










Sjors is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















Sjors is a new contributor. Be nice, and check out our Code of Conduct.












Sjors is a new contributor. Be nice, and check out our Code of Conduct.











Sjors is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481699%2fissue-update-php-7-on-centos-7%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay