The useful URL links

Install LAMPP at linux

https://help.ubuntu.com/community/ApacheMySQLPHP

 

========================================

Advertisements

How I configured sendmail for PHP on Ubuntu Server 14.04

Go to terminal and run the following command to install sendmail
aptitude install sendmail

I put “mysite.localhost” (mysite is my server name) to /etc/hosts so it looks like this:

127.0.0.1 localhost.localdomain localhost
127.0.1.1 mysite.localhost mysite

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Create one sample text file for test email (body.txt)

Subject: test mail to Some Address!
From: Me <fromaddress@somemail.com>
To: MR_TEST<toaddress@somemail.com>
first line of my message for testing

Testing

To test how sendmail works I used the following command:
/usr/sbin/sendmail -t -f myaddress@gmail.com -v -i < body.txt

Reference Site : http://developernote.com/2012/07/how-i-configured-sendmail-for-php-on-ubuntu-server-12-04/