[oct1158@oct1158-fedora ~]$ cd /var/www/html [oct1158@oct1158-fedora html]$ sudo vim info.php [sudo] password for oct1158: [oct1158@oct1158-fedora html]$ sudo dnf install php Last metadata expiration check: 3:35:35 ago on Wed Jun 28 18:46:03 2017. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: php x86_64 5.6.30-1.fc24 updates 2.7 M php-cli x86_64 5.6.30-1.fc24 updates 4.1 M php-common x86_64 5.6.30-1.fc24 updates 1.1 M php-pecl-jsonc x86_64 1.3.10-1.fc24 updates 57 k
Transaction Summary ================================================================================ Install 4 Packages
Total download size: 7.9 M Installed size: 30 M Is this ok [y/N]: y Downloading Packages: (1/4): php-common-5.6.30-1.fc24.x86_64.rpm 927 kB/s | 1.1 MB 00:01 (2/4): php-pecl-jsonc-1.3.10-1.fc24.x86_64.rpm 459 kB/s | 57 kB 00:00 (3/4): php-5.6.30-1.fc24.x86_64.rpm 1.1 MB/s | 2.7 MB 00:02 (4/4): php-cli-5.6.30-1.fc24.x86_64.rpm 837 kB/s | 4.1 MB 00:04 -------------------------------------------------------------------------------- Total 1.2 MB/s | 7.9 MB 00:06 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Installing : php-pecl-jsonc-1.3.10-1.fc24.x86_64 1/4 Installing : php-common-5.6.30-1.fc24.x86_64 2/4 Installing : php-cli-5.6.30-1.fc24.x86_64 3/4 Installing : php-5.6.30-1.fc24.x86_64 4/4 Verifying : php-5.6.30-1.fc24.x86_64 1/4 Verifying : php-cli-5.6.30-1.fc24.x86_64 2/4 Verifying : php-common-5.6.30-1.fc24.x86_64 3/4 Verifying : php-pecl-jsonc-1.3.10-1.fc24.x86_64 4/4
Installed: php.x86_64 5.6.30-1.fc24 php-cli.x86_64 5.6.30-1.fc24 php-common.x86_64 5.6.30-1.fc24 php-pecl-jsonc.x86_64 1.3.10-1.fc24
Complete! [oct1158@oct1158-fedora html]$ sudo dnf install php7 Last metadata expiration check: 3:36:07 ago on Wed Jun 28 18:46:03 2017. No package php7 available. Error: Unable to find a match. [oct1158@oct1158-fedora html]$ sudo dnf install php-7 Last metadata expiration check: 3:36:12 ago on Wed Jun 28 18:46:03 2017. No package php-7 available. Error: Unable to find a match. [oct1158@oct1158-fedora html]$ sudo systemctl restart httpd.service
|