Navigation

Settings Ubuntu 14.04 LTS. Trusty Tahr - Server, LAMP

My program list:

apt-get install mc htop nmap tshark phpmyadmin build-essential autoconf checkinstall subversion php5-sybase php5 libapache2-mod-php5 libcurl3 libcurl3-dev php5-curl freetds-bin freetds-common tdsodbc odbcinst php5-odbc unixodbc gocr php-pear php-soap php-tcpdf php5-curl tesseract-ocr xpdf imagemagick xpdf-utils xpdf-utils wakeonlan youtube-dl

apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell php5-snmp php5-sqlite php5-xmlrpc php5-xsl

Change documents path

nano /etc/apache2/sites-available/000-default.conf

DocumentRoot /var/www/

How to enable PHP short tags:
nano /etc/php5/apache2/php.ini

;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;
....
short_open_tag = On

continue...