What is the easiest way to practice PHP on Ubuntu?

I am learning PHP and I am looking for the easiest way to run practical scripts. I already have netbeans installed.

+3
source share
4 answers

Install LAMP: sudo apt-get install lamp-server^(be sure to use a carriage), this is a breeze (at least in Ubuntu 10.10). Automatically installs Apache and mysql. Then open NetBeans, set the root to the root / var / www folder and let go! I didn’t do this much time, and it took me only 20 minutes (if you install phpmyadmin, be careful, sometimes it creates a symbolic link in / usr / share instead of the link in the root directory / var / www, which took me most of the time, to find out)

+3
source

apache2, php5, phpmyadmin, mysql- php, http://localhost/ " "

" php- /var/www .php" 'example.php', 'welcome.php'

+4

LAMPP: http://www.apachefriends.org/en/xampp-linux.html

Apache, php, mysql, phpmyadmin . , .

+3

sudo apt-get install php5-dev mysql-server apache2

hit [y] es

http://localhost/

/var/www/

+2

Source: https://habr.com/ru/post/1792904/


All Articles