Connect Php Xampp To Terminal In Ubuntu

[Solved] Connect Php Xampp To Terminal In Ubuntu | Php - Code Explorer | yomemimo.com
Question : how to start xampp in ubuntu

Answered by : tamer-essam

sudo /opt/lampp/lampp start
cd /opt/lampp/
ls
sudo ./manager-linux-x64.run 

Source : | Last Update : Sun, 09 Aug 20

Question : connect php xampp to terminal in ubuntu

Answered by : john-pinto

-- symlinking the php binary from /usr/bin
-- say default location is opt/lampp
~$ cd /
~$ sudo ln -s /opt/lampp/bin/php /usr/bin/php
~$ enter password
-- check php version in terminal
~$ php -v
PHP 8.1.1 (cli) (built: Dec 21 2021 15:25:28) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.1, Copyright (c) Zend Technologies

Source : | Last Update : Mon, 25 Apr 22

Answers related to connect php xampp to terminal in ubuntu

Code Explorer Popular Question For Php