The following additional packages will be installed:Īpache2 apache2-bin apache2-data apache2-utils libapache2-mod-php5.6 libapr1 libaprutil1 Which OS are you using ? Its working for me. UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc5 in position 92: ordinal not in range(128) Return codecs.ascii_decode(input, self.errors) Stdout = _eintr_retry_call()įile “/usr/lib/python3.4/subprocess.py”, line 491, in _eintr_retry_callįile “/usr/lib/python3.4/encodings/ascii.py”, line 26, in decode Output, unused_err = municate(inputdata, timeout=timeout)įile “/usr/lib/python3.4/subprocess.py”, line 947, in communicate Output = subprocess.check_output(cmd, universal_newlines=True)įile “/usr/lib/python3.4/subprocess.py”, line 609, in check_output Got_fingerprints = self._get_fingerprints(keyring, keyring_dir)įile “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 202, in _get_fingerprints Tmp_export_keyring, signing_key_fingerprint, tmp_keyring_dir):įile “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 210, in _verify_fingerprint Self._target(*self._args, **self._kwargs)įile “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 687, in addkey_funcįile “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 370, in add_keyįile “/usr/lib/python3/dist-packages/softwareproperties/ppa.py”, line 261, in add_ppa_signing_key Gpg: key E5267A6C: public key “Launchpad PPA for Ond\xc5\x99ej Sur?” importedįile “/usr/lib/python3.4/threading.py”, line 920, in _bootstrap_innerįile “/usr/lib/python3.4/threading.py”, line 868, in run Gpg: /tmp/tmp93drbu74/trustdb.gpg: trustdb created Gpg: requesting key E5267A6C from hkp server Gpg: keyring `/tmp/tmp93drbu74/pubring.gpg’ created Gpg: keyring `/tmp/tmp93drbu74/secring.gpg’ created Press to continue or ctrl-c to cancel adding it # LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php I am trying to do the installation and at the time of executing the repository command I have an error after pressing ENTER Sudo update-alternatives -set php-config /usr/bin/php-config5.6 Sudo update-alternatives -set phpize /usr/bin/phpize5.6 Sudo update-alternatives -set php-config /usr/bin/php-config7.3įrom PHP 7.3 => PHP 5.6 Apache:- sudo a2dismod php7.3ĬLI:- sudo update-alternatives -set php /usr/bin/php5.6 Sudo update-alternatives -set phpize /usr/bin/phpize7.3 From PHP 5.6 => PHP 7.3 Apache:- sudo a2dismod php5.6ĬLI:- sudo update-alternatives -set php /usr/bin/php7.3 You can use the same command for other PHP versions. Use the following steps to switch between the php5.6 and php7.3 versions. If you have installed multiple PHP versions and want to use them differently than the default. Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
sudo apt-get install python-software-properties Use the following set of commands to add PPA for PHP 7.3 in your Ubuntu system and install PHP 7.3. With Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies Use the following set of commands to enable PPA for PHP 5.6 in your Ubuntu system and install PHP 5.6.
The manual is based on mapserver general compile documentations: Thanks to i did compile and install php5-mapscript of Mapserver7.0.2