PHP: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
</syntaxhighlight>
</syntaxhighlight>
=Installation=
=Installation=
 
==Generic==
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
yum install php php-mysql php-gd php-xml
yum install php php-mysql php-gd php-xml
Line 12: Line 12:
'''Note'''
'''Note'''
: The PHP installation command assumes we are going to use MySQL (or MariaDB). Update accordingly if using a different database.
: The PHP installation command assumes we are going to use MySQL (or MariaDB). Update accordingly if using a different database.
==Installing PHP 7.3 on Centos 7==
{{External|https://linuxize.com/post/install-php-7-on-centos-7/#installing-php-73-on-centos-7}}


=Upgrade=
=Upgrade=

Revision as of 22:35, 29 March 2021

Overview

Get Version

php -v

Installation

Generic

yum install php php-mysql php-gd php-xml

Note

The PHP installation command assumes we are going to use MySQL (or MariaDB). Update accordingly if using a different database.

Installing PHP 7.3 on Centos 7

https://linuxize.com/post/install-php-7-on-centos-7/#installing-php-73-on-centos-7

Upgrade

TODO

Centos 7 and PHP 7.3.19 note, manual installation: https://linuxize.com/post/install-php-7-on-centos-7/ Link to