How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04 | DigitalOcean

ubuntu 에서 웹서버에 올려질 화일의 위치

/var/www

ubuntu 에서 apache설정 화일 위치

/etc/apache2/apache2.conf

ubuntu 에서 php ini화일 위치

/etc/php5/apache2/php.ini

ubuntu 에서 django 화일의 위치

/usr/local/lib/python2.7/dist-packages/mysite

Appsntech.com The Tutorial Hub For Developers : 5 Best Things You Should Know About PHP 7

PHP Function with Optional Parameters

Managing Cron Jobs with PHP – Tuts+ Code Tutorial

origianl source :http://wiki.cerbweb.com/Installing_PHP_Mailparse

You will need to install the following packages

 sudo apt-get install php5-gd php5-imap php-pear php5-dev make php5-mcrypt

Now you can install mailparse

 sudo pecl install mailparse

Next edit your php.ini file and add mailparse.so

 sudo nano /etc/php5/apache2/conf.d/mailparse.ini

or

 sudo nano /etc/php5/conf.d/mailparse.ini

This will create a new file. Add the line

 extension=mailparse.so