<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Geek is a lifestyle &#187; server</title>
	<atom:link href="http://blog.amanjain.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amanjain.com</link>
	<description>Aman's Blog</description>
	<lastBuildDate>Wed, 06 Jan 2010 10:47:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Making mail() function of PHP work under windows os</title>
		<link>http://blog.amanjain.com/2009/09/making-mail-function-of-php-work-under-windows-os/</link>
		<comments>http://blog.amanjain.com/2009/09/making-mail-function-of-php-work-under-windows-os/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 05:24:52 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=255</guid>
		<description><![CDATA[mail() is a useful function in PHP for sending mails, but many developers face problems in making mail() work properly on Windows.

In the section [mail function] in the php.ini file, you&#8217;ll find three settings:
SMTP, sendmail_from, and sendmail_path.

If your server runs on a Windows machine, you&#8217;ll have to set the SMTP option to point to your [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #800080;">mail()</span> is a useful function in <span style="color: #800080;">PHP</span> for sending mails, but many developers face problems in making mail() work properly on Windows.<br />
<br/><br />
In the section <span style="color: #800080;">[mail function]</span> in the <span style="color: #800080;">php.ini</span> file, you&#8217;ll find three settings:<br />
<span style="color: #800080;">SMTP</span>, <span style="color: #800080;">sendmail_from</span>, and <span style="color: #800080;">sendmail_path</span>.<br />
<br/><br />
If your server runs on a <span style="color: #800080;">Windows</span> machine, you&#8217;ll have to set the SMTP option to point to your SMTP server for sending mail using PHP.<br />
<br/><br />
So, we must understand that PHP must have the address of some SMTP server where it would deliver the mail to be sent and that is all PHP can actually do.<br />
<br/><br />
So, we need  to set SMTP to the SMTP server and the sendmail_from option to the required email address.<br />
Now if we want to use <span style="color: #800080;">localhost</span> as the <span style="color: #800080;">SMTP server</span>, we must have some SMTP server running on our system, simple isn&#8217;t it?  So we can download and install <span style="color: #800080;">hMailServer</span> from <a href="http://www.hmailserver.com/">www.hmailserver.com</a>/ for serving our purpose.<br />
<br/><br />
After installing the mail server make sure that you<span style="color: #800080;"> switch off  SMTP authentication for connections coming from localhost / 127.0.0.1</span> in hMailServer for your mail() function to work.<br />
<br/><br />
And this is how <span style="color: #800080;">[mail function] </span>part of your php.ini should look:<br />
<br/><br />
[mail function]<br />
; Setup for Windows systems<br />
SMTP = localhost<br />
sendmail_from = me@mydomain.tld</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/09/making-mail-function-of-php-work-under-windows-os/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache2 php5 &amp; mysql installation through ssh (on apt supported systems)</title>
		<link>http://blog.amanjain.com/2008/12/apache2-php5-mysql/</link>
		<comments>http://blog.amanjain.com/2008/12/apache2-php5-mysql/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 18:59:54 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=80</guid>
		<description><![CDATA[I have seen lots of forum where newbies face problem while installing lamp server. So, what they can do is directly file the following line of code and everything will be done automatically:
sudo apt-get install apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off
libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql
Another alternative that [...]]]></description>
			<content:encoded><![CDATA[<p>I have seen lots of forum where newbies face problem while installing lamp server. So, what they can do is directly file the following line of code and everything will be done automatically:</p>
<p>sudo apt-get install apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off<br />
libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql</p>
<p>Another <strong>alternative</strong> that can be done is:<br />
File the following commands in sequence:<br />
1: <strong>sudo apt-get update</strong><br />
2: <strong>sudo apt-get install lamp-server^</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2008/12/apache2-php5-mysql/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
