sudo update-alternatives --set php /usr/bin/php5.6
Please see: Source
More Related Contents:
- How to install PHP5 in Ubuntu 16 Virtual Box guest on Windows 10 host? [closed]
- php.ini changes, but not effective on Ubuntu
- UTF-8 all the way through
- Where can I find php.ini?
- Run php script as daemon process
- Run process with realtime output in PHP
- Create Word Document using PHP in Linux [closed]
- Running a Python script from PHP
- Execute PHP script in cron job
- PHP passing $_GET in the Linux command prompt
- In a PHP / Apache / Linux context, why exactly is chmod 777 dangerous?
- Headers and client library minor version mismatch
- Troubleshooting PHP Mail [duplicate]
- How to install PHP mbstring on CentOS 6.2
- Setting environment variables for accessing in PHP when using Apache
- Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04
- Extract text from doc and docx
- How do I throttle my site’s API users?
- Can’t install PHPUnit via PEAR, requires PEAR Installer >= 1.9.2, can’t upgrade PEAR from 1.9.0
- Permission denied with bash.sh to run cron
- Issue in installing php7.2-mcrypt
- Checking if process still running?
- PHP exec – check if enabled or disabled
- How to run the PHP script at scheduled time
- Error building : fatal error: pcre.h: No such file or directory
- How to get MySql 8 to run with laravel? [duplicate]
- mysql injection damages?
- Composer: file_put_contents(./composer.json): failed to open stream: Permission denied
- Linux – PHP 7.0 and MSSQL (Microsoft SQL)
- PHP Timezone database is corrupt error