Category

LAMP

How To : Send email with PHP from localhost

Hello! Happy New Year! Hope you all are doing well. Last couple of months I have been thinking about mail sending option of PHP application from local development server. Generally I uploaded my script to online web server for send mail from PHP. Today I think that I need to configure my local server so…

Read More

Change apache document root (www folder) in Fedora

Hello everybody! Today I tried to install apache on Fedora 18. I need to change the root directory to ease me editing file and avoiding permission. It is quite different when I was configuring on ubuntu. Also I did this when I first using Fedora(Fedora 18 is my first fedora flavour), but being lazy I…

Read More

Enable php cURL in Ubuntu

When i used Windows enable cURL was little bit tricky, but its so simple in Linux. I am using Ubuntu 12.04 LTS now a days, and when i need cURL enable in my system I run the following command in my Terminal and restart Apache. sudo apt-get install php5-curl to restart apache, sudo service apache2…

Read More

Change Apache document root (www folder) in Ubuntu

In my development environment I feel comfortable to have my document root directory (www) in my home directory. It gives me much more flexibility for permission issues. To do so Open the /etc/apache2/sites-available/default file with administrative privileged and change the document root as /home/{user}/www, in my perspective it is /home/tapan/www 1. Open /etc/apache2/sites-available/default sudo gedit…

Read More

Creating Virtual Host on Apache/Ubuntu

This days i am running for Zend Framework. Also feels a nice love for Linux. So i am trying to coup up with zend. Here i need to create a virtual host in my local environment. Ubuntu is my only OS. As i am newbee of linux and this is my first virtual host configuration,…

Read More