If you are doing any kind of PHP development, you’ll almost always be using Apache along with it.
.. and then the LAMP stack:
COMPUTERS NEWSTo install the default LAMP stack
First install tasksel...
sudo apt-get install tasksel
.. and then the LAMP stack:
sudo tasksel install lamp-server
Installing PHP 5
- To install PHP5 you can enter the following command in the terminal prompt:
sudo apt-get install php5 libapache2-mod-php5
You can run PHP5 scripts from command line. To run PHP5 scripts from command line you should install php5-cli package. To install php5-cli you can enter the following command in the terminal prompt:sudo apt-get install php5-cli
You can also execute PHP5 scripts without installing PHP5 Apache module. To accomplish this, you should install php5-cgi package. You can run the following command in a terminal prompt to install php5-cgi package:
sudo apt-get install php5-cgi
To use MySQL with PHP5 you should install php5-mysql package. To install php5-mysql you can enter the following command in the terminal prompt:
sudo apt-get install php5-mysql
Similarly, to use PostgreSQL with PHP5 you should install php5-pgsql package. To install php5-pgsql you can enter the following command in the terminal prompt:
sudo apt-get install php5-pgsql
https://nandncomputers.blogspot.com/
Motorola ROKR E8 Unlocked ATT TMobile MP3 Cam-Video Cell Phone - $119
https://nandncomputers.blogspot.com/2009/09/motorola-rokr-e8-unlocked-att-tmobile.html
Professional Social Network-A Must for Today's Professionals
https://nandncomputers.blogspot.com/2011/08/professional-social-network-must-for.html
Useful Microsoft Excel keyboard shortcut..!!!
https://nandncomputers.blogspot.com/2012/06/useful-microsoft-excel-keyboard-shortcut.html
How to Automatically Shrink url of ADF.ly || Earn Money By ADF.ly
https://nandncomputers.blogspot.com/2013/12/how-to-automatically-shrink-url-of.html
Tidak ada komentar:
Posting Komentar