Comments on: How to Install PHP 8.3 on Ubuntu 24.04 with Apache or Nginx https://www.tecmint.com/install-php-ubuntu-24-04/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 22 Aug 2024 05:25:44 +0000 hourly 1 By: Ravi Saive https://www.tecmint.com/install-php-ubuntu-24-04/comment-page-1/#comment-1333261 Wed, 13 May 2020 05:30:08 +0000 http://www.tecmint.com/?p=20798#comment-1333261 In reply to Gulab Singh.

@Gulab,

Then you need to upgrade your Ubuntu.

]]>
By: Gulab Singh https://www.tecmint.com/install-php-ubuntu-24-04/comment-page-1/#comment-1333003 Tue, 12 May 2020 09:01:36 +0000 http://www.tecmint.com/?p=20798#comment-1333003 In reply to Ravi Saive.

I think the environment does not support php7.2 in ubuntu 14.04

]]>
By: Gulab Singh https://www.tecmint.com/install-php-ubuntu-24-04/comment-page-1/#comment-1332971 Tue, 12 May 2020 06:24:16 +0000 http://www.tecmint.com/?p=20798#comment-1332971 In reply to Ravi Saive.

not working
Traceback (most recent call last):
File “/usr/lib/python3.4/threading.py”, line 920, in _bootstrap_inner
self.run()
File “/usr/lib/python3.4/threading.py”, line 868, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 687, in addkey_func
func(**kwargs)
File “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 370, in add_key
return apsk.add_ppa_signing_key()
File “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 261, in add_ppa_signing_key
tmp_export_keyring, signing_key_fingerprint, tmp_keyring_dir):
File “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 210, in _verify_fingerprint
got_fingerprints = self._get_fingerprints(keyring, keyring_dir)
File “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 202, in _get_fingerprints
output = subprocess.check_output(cmd, universal_newlines=True)
File “/usr/lib/python3.4/subprocess.py”, line 609, in check_output
output, unused_err = process.communicate(inputdata, timeout=timeout)
File “/usr/lib/python3.4/subprocess.py”, line 947, in communicate
stdout = _eintr_retry_call(self.stdout.read)
File “/usr/lib/python3.4/subprocess.py”, line 491, in _eintr_retry_call
return func(*args)
File “/usr/lib/python3.4/encodings/ascii.py”, line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc5 in position 92: ordinal not in range(128)

]]>
By: Ravi Saive https://www.tecmint.com/install-php-ubuntu-24-04/comment-page-1/#comment-1332966 Tue, 12 May 2020 05:54:31 +0000 http://www.tecmint.com/?p=20798#comment-1332966 In reply to Gulab Singh.

@Gulab,

Here are the commands to install PHP 7.2 on Ubuntu 14.04.

$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get install php7.2 php7.2-cli php7.2-fpm php7.2-gd php7.2-json php7.2-mysql php7.2-readline
$ sudo php -v

if you want PHP 7.3 or 7.4, just replace the php7.2 with php7.3 or php7.4.

]]>
By: Gulab Singh https://www.tecmint.com/install-php-ubuntu-24-04/comment-page-1/#comment-1332954 Tue, 12 May 2020 05:12:33 +0000 http://www.tecmint.com/?p=20798#comment-1332954 In reply to Ravi Saive.

I want php7.2

]]>