<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss 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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"  xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SoftwareProjects - Internet Marketing and Web Development</title>
	<link>http://www.softwareprojects.com/images/logo.png</link>
	<description>Internet Marketing and Web Development</description>

	<generator>http://www.softwareprojects.com</generator>
	<language>en</language>

		<copyright>SoftwareProjects Inc</copyright>
		<managingEditor>support@softwareprojects.com (Adrian Singer)</managingEditor>
		<webMaster>support@softwareprojects.com</webMaster>
		<category>SoftwareProjects</category>
		<ttl>3000</ttl>

		<image>
			<url>http://www.softwareprojects.com/images/logo.png</url>
			<title>SoftwareProjects - Internet Marketing and Web Development</title>
			<link>http://www.softwareprojects.com/images/logo.png</link>
			<width>142</width>
			<height>55</height>

		</image>

<item>
<title><![CDATA[How to: Install PHP w/ FPM + Memcached + GD + MySQL on FreeBSD 8]]></title>
<link>http://www.softwareprojects.com/resources/programming/t-how-to-install-php-w-fpm-memcached-2051.html</link>
<pubDate>Wed, 30 Nov 2011 10:24:57 GMT</pubDate>
<dc:creator><![CDATA[Adrian Singer]]></dc:creator>
<category><![CDATA[Programming]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/programming/t-how-to-install-php-w-fpm-memcached-2051.html</guid>
<description><![CDATA[Enjoy our step-by-step guide to configuring PHP 5 with FPM, NGinx Web server, Memcached and MySQL 5.1, on FreeBSD 8:<br />
<br />
1. Install FreeBSD 7 compatibility and standard packages<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">misc</span><span style="color: #006600">/</span><span style="color: #0000CC">compat7x<br />make all<br />make install<br /><br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r libevent<br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r libtool<br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r m4<br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r pcre<br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r pdftk<br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r rsync<br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r vim<br />pkg_add </span><span style="color: #006600">-</span><span style="color: #0000CC">r wget  </font></span></div>
<br />
2. Install ProFTPD<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">ftp</span><span style="color: #006600">/</span><span style="color: #0000CC">proftpd<br />make all<br />make install  </font></span></div>
<br />
3. Install NGinx<br />
<br />
Make sure you click to enable 'HTTP_GZIP_STATIC_MODULE', 'HTTP_SSL_MODULE' and 'HTTP_ZIP_MODULE'<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new"> <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">www</span><span style="color: #006600">/</span><span style="color: #0000CC">nginx<br />make all<br />make install<br /><br /></span><span style="color: #006600">echo </span><span style="color: #CC0000">"nginx_enable=YES" </span><span style="color: #006600">&gt;&gt; /</span><span style="color: #0000CC">etc</span><span style="color: #006600">/</span><span style="color: #0000CC">rc</span><span style="color: #006600">.</span><span style="color: #0000CC">conf<br /></span><span style="color: #006600">echo </span><span style="color: #CC0000">"&lt;?php phpinfo(); ?&gt;" </span><span style="color: #006600">&gt;&gt; /</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">www</span><span style="color: #006600">/</span><span style="color: #0000CC">nginx</span><span style="color: #006600">/</span><span style="color: #0000CC">phpinfo</span><span style="color: #006600">.</span><span style="color: #0000CC">php </font></span></div>
<br />
You can always run <b>make config</b> to redo the configuration options<br />
<br />
4. Install CURL+LibXML<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">ftp</span><span style="color: #006600">/</span><span style="color: #0000CC">curl<br />make all<br />make install<br /><br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">textproc</span><span style="color: #006600">/</span><span style="color: #0000CC">libxml<br />make all<br />make install  </font></span></div>
<br />
5. Install MySQL client and server<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">databases</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql51</span><span style="color: #006600">-</span><span style="color: #0000CC">server<br />make all<br />make install<br /><br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">databases</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql51</span><span style="color: #006600">-</span><span style="color: #0000CC">client<br />make all<br />make install<br /><br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">tmp<br />fetch </span><span style="color: #CC0000">"http://api6.softwareprojects.com/files/auto/my.cnf"<br /></span><span style="color: #0000CC">mv my</span><span style="color: #006600">.</span><span style="color: #0000CC">cnf </span><span style="color: #006600">/</span><span style="color: #0000CC">etc</span><span style="color: #006600">/</span><span style="color: #0000CC">my</span><span style="color: #006600">.</span><span style="color: #0000CC">cnf<br /><br />mkdir </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql<br />mkdir </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql</span><span style="color: #006600">/</span><span style="color: #0000CC">data<br />chmod 777 </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql<br />chown </span><span style="color: #006600">-</span><span style="color: #0000CC">R mysql</span><span style="color: #006600">:</span><span style="color: #0000CC">mysql </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql<br /><br /></span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">bin</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql_install_db<br />chmod </span><span style="color: #006600">-</span><span style="color: #0000CC">R 777 </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql<br />chown </span><span style="color: #006600">-</span><span style="color: #0000CC">R mysql</span><span style="color: #006600">:</span><span style="color: #0000CC">mysql </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql  </font></span></div>
<br />
6.  Install GD<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">graphics</span><span style="color: #006600">/</span><span style="color: #0000CC">ruby</span><span style="color: #006600">-</span><span style="color: #0000CC">libpng<br />make all<br />make install  </font></span></div>
<br />
7. Install PHP 5<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">security</span><span style="color: #006600">/</span><span style="color: #0000CC">libmcrypt<br />make all<br />make install<br /><br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">devel</span><span style="color: #006600">/</span><span style="color: #0000CC">php5</span><span style="color: #006600">-</span><span style="color: #0000CC">pcntl<br />make all<br />make install<br /><br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">tmp<br />fetch  </span><span style="color: #CC0000">"http://api6.softwareprojects.com/files/auto/php-5.2.8.tar.gz"<br /></span><span style="color: #0000CC">tar xvfz php</span><span style="color: #006600">-</span><span style="color: #0000CC">5.2.8</span><span style="color: #006600">.</span><span style="color: #0000CC">tar</span><span style="color: #006600">.</span><span style="color: #0000CC">gz<br /><br />fetch </span><span style="color: #CC0000">"http://api6.softwareprojects.com/files/auto/php-5.2.8-fpm-0.5.10.diff.gz"<br /></span><span style="color: #0000CC">gzip </span><span style="color: #006600">-</span><span style="color: #0000CC">cd php</span><span style="color: #006600">-</span><span style="color: #0000CC">5.2.8</span><span style="color: #006600">-</span><span style="color: #0000CC">fpm</span><span style="color: #006600">-</span><span style="color: #0000CC">0.5.10</span><span style="color: #006600">.</span><span style="color: #0000CC">diff</span><span style="color: #006600">.</span><span style="color: #0000CC">gz </span><span style="color: #006600">| </span><span style="color: #0000CC">patch </span><span style="color: #006600">-</span><span style="color: #0000CC">d php</span><span style="color: #006600">-</span><span style="color: #0000CC">5.2.8 </span><span style="color: #006600">-</span><span style="color: #0000CC">p1<br /><br />fetch </span><span style="color: #CC0000">"http://api6.softwareprojects.com/files/auto/suhosin-patch-5.2.8-0.9.6.3.patch.gz"<br /></span><span style="color: #0000CC">gzip </span><span style="color: #006600">-</span><span style="color: #0000CC">cd suhosin</span><span style="color: #006600">-</span><span style="color: #0000CC">patch</span><span style="color: #006600">-</span><span style="color: #0000CC">5.2.8</span><span style="color: #006600">-</span><span style="color: #0000CC">0.9.6.3</span><span style="color: #006600">.</span><span style="color: #0000CC">patch</span><span style="color: #006600">.</span><span style="color: #0000CC">gz </span><span style="color: #006600">| </span><span style="color: #0000CC">patch </span><span style="color: #006600">-</span><span style="color: #0000CC">d php</span><span style="color: #006600">-</span><span style="color: #0000CC">5.2.8 </span><span style="color: #006600">-</span><span style="color: #0000CC">p1<br /><br />cd php</span><span style="color: #006600">-</span><span style="color: #0000CC">5.2.8<br /></span><span style="color: #006600">./</span><span style="color: #0000CC">configure  </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">config</span><span style="color: #006600">-</span><span style="color: #0000CC">file</span><span style="color: #006600">-</span><span style="color: #0000CC">path</span><span style="color: #006600">=/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">lib</span><span style="color: #006600">/ --</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">pcntl </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">fastcgi </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">fpm </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">calendar </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">ftp </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">mbstring </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">mysql </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">curl </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">mcrypt </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">gd </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">iconv </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">jpeg</span><span style="color: #006600">-</span><span style="color: #0000CC">dir</span><span style="color: #006600">=/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">lib </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">mysql</span><span style="color: #006600">=/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">memcache </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">openssl </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">soap </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">sockets </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">zlib </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">zip </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">bcmath </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">ttf </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">gd</span><span style="color: #006600">-</span><span style="color: #0000CC">native</span><span style="color: #006600">-</span><span style="color: #0000CC">ttf </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">freetype</span><span style="color: #006600">-</span><span style="color: #0000CC">dir</span><span style="color: #006600">=/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">lib</span><span style="color: #006600">/ --</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">pdo </span><span style="color: #006600">--</span><span style="color: #0000CC">with</span><span style="color: #006600">-</span><span style="color: #0000CC">pdo_mysql </span><span style="color: #006600">--</span><span style="color: #0000CC">enable</span><span style="color: #006600">-</span><span style="color: #0000CC">suhosin<br />make all install<br /><br />fetch </span><span style="color: #CC0000">"http://api6.softwareprojects.com/files/auto/php-fpm.conf"<br /></span><span style="color: #0000CC">mv php</span><span style="color: #006600">-</span><span style="color: #0000CC">fpm</span><span style="color: #006600">.</span><span style="color: #0000CC">conf </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">etc</span><span style="color: #006600">/</span><span style="color: #0000CC">php</span><span style="color: #006600">-</span><span style="color: #0000CC">fpm</span><span style="color: #006600">.</span><span style="color: #0000CC">conf<br /><br />fetch </span><span style="color: #CC0000">"http://api6.softwareprojects.com/files/auto/nginx.conf"<br /></span><span style="color: #0000CC">mv nginx</span><span style="color: #006600">.</span><span style="color: #0000CC">conf </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">etc</span><span style="color: #006600">/</span><span style="color: #0000CC">nginx</span><span style="color: #006600">/</span><span style="color: #0000CC">nginx</span><span style="color: #006600">.</span><span style="color: #0000CC">conf  </font></span></div>
<br />
8. Install Memcached<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">databases</span><span style="color: #006600">/</span><span style="color: #0000CC">memcached<br />make all<br />make install  </font></span></div>
<br />
9. Install HAProxy<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br />cd </span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">ports</span><span style="color: #006600">/</span><span style="color: #0000CC">net</span><span style="color: #006600">/</span><span style="color: #0000CC">haproxy<br />make all<br />make install  </font></span></div>
<br />
10. Start MySQL and NGinx<br />
<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br /></span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">bin</span><span style="color: #006600">/</span><span style="color: #0000CC">mysqld_safe </span><span style="color: #006600">&amp;<br />/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">sbin</span><span style="color: #006600">/</span><span style="color: #0000CC">php</span><span style="color: #006600">-</span><span style="color: #0000CC">fpm start<br /></span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">etc</span><span style="color: #006600">/</span><span style="color: #0000CC">rc</span><span style="color: #006600">.</span><span style="color: #0000CC">d</span><span style="color: #006600">/</span><span style="color: #0000CC">nginx start  </font></span></div>
<br />
--<br />
<br />
<b>Verify MySQL is working properly</b>:<br />
<br />
Attempt connecting to MySQL:<br />
<div style="margin:10px;  padding:4px; border:1px inset; background-color: #FDF8EB">

	<span style="margin:0px; width:550px; padding:4px;  overflow:auto; "><font face="courier new">  <br /></span><span style="color: #006600">/</span><span style="color: #0000CC">usr</span><span style="color: #006600">/</span><span style="color: #0000CC">local</span><span style="color: #006600">/</span><span style="color: #0000CC">bin</span><span style="color: #006600">/</span><span style="color: #0000CC">mysql </span><span style="color: #006600">-</span><span style="color: #0000CC">uroot  </font></span></div>
<br />
<b>Verify NGinx is working properly</b>:<br />
<br />
Point your browser to <a href="http://1.2.3.4/" target="_blank">http://1.2.3.4/</a> (replacing 1.2.3.4 with the PUBLIC ip address of the server)<br />
<br />
<b>Verify PHP is working properly</b>:<br />
<br />
Point your browser to <a href="http://1.2.3.4/phpinfo.php" target="_blank">http://1.2.3.4/phpinfo.php</a> (replacing 1.2.3.4 with the PUBLIC ip address of the server).<br />
<br />
If you see the PHP info screen, all is well]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/programming/t-how-to-install-php-w-fpm-memcached-2051.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/programming/t-how-to-install-php-w-fpm-memcached-2051.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[How to register SSL Certificate with GoDaddy]]></title>
<link>http://www.softwareprojects.com/resources/get-online-presence/t-how-to-register-ssl-certificate-with-god-2048.html</link>
<pubDate>Fri, 08 Jul 2011 23:35:53 GMT</pubDate>
<dc:creator><![CDATA[Dawn Rossi]]></dc:creator>
<category><![CDATA[Get Online Presence]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/get-online-presence/t-how-to-register-ssl-certificate-with-god-2048.html</guid>
<description><![CDATA[This is a follow-up to an old post I wrote back in 2008 about <a href="http://www.softwareprojects.com/resources/get-online-presence/t-how-to-register-ssl-certificate-with-verisign-1606.html" target="_blank">registering SSL certificates with VeriSign</a><br />
<br />
While VeriSign is still the elephant in the room, these days, all modern browsers support certificates from GoDaddy, Thawte and many other cheaper alternatives to VeriSign.<br />
<br />
Unless you have a very good reason to use VeriSign and shell out $400, I would recommend using GoDaddy.  Their standard SSL will only set you back $50 and best of all - it is usually issued within minutes.<br />
<br />
<b>Step 1 - Register a domain</b><br />
<br />
This is a no brainer.<br />
<br />
<b>Step 2 - Verify Whois information and make it public</b><br />
<br />
Your domain whois information must match the company name and address you'd like to list on the SSL certificate.<br />
<br />
Update your whois information if you need to (login to your SoftwareProjects account and click on the domain, or use your existing registrar interface) and make sure your whois information can be publicly accessed by <a href="http://www.whois.net" target="_blank">whois.net</a><br />
<br />
If you have private-registration, you MUST turn it off prior to applying for the SSL certificate. You'll be able to turn private-registration back on once the certificate is approved.<br />
<br />
<b>Step 3 - Generate private key</b><br />
<br />
Login to your server via Telnet or SSH and run this command:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">openssl genrsa -out www.mydomain.com.key 2048</code><hr />
</div>
<br />
Replace mydomain.com with your target domain name.  <br />
<br />
You'll be asked to choose a password.  Pick any password - it is only used throughout the registration process.<br />
<br />
Now enter this command:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">openssl req -new -key www.mydomain.com.key -out www.mydomain.com.csr</code><hr />
</div>
<br />
Again replace mydomain.com with your target domain name.  <br />
<br />
You'll be asked to provide the country, state, company name and domain name.  Make sure you use the EXACT same information as what whois.net shows for your domain.  <br />
<br />
The common name is your <a href="http://www.mydomain.com" target="_blank">www.mydomain.com</a>.<br />
<br />
<b>Step 4 - Buy Certificate</b><br />
<br />
Visit GoDaddy's SSL certificate page <a href="http://www.godaddy.com/ssl/ssl-certificates.aspx?ci=9039" target="_blank">here</a> and select the Standard SSL certificate for 1 year.<br />
<br />
Skip all the optional add-ons.<br />
<br />
<img src="http://www.softwareprojects.com/blogimages/660c6a01.png" border="0" alt="" /><br />
<br />
You will be asked to paste the <a href="http://www.mydomain.com.csr" target="_blank">www.mydomain.com.csr</a> you prepared earlier.]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/get-online-presence/t-how-to-register-ssl-certificate-with-god-2048.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/get-online-presence/t-how-to-register-ssl-certificate-with-god-2048.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[8 Great Presentations from Google I/O 2011 Ignite]]></title>
<link>http://www.softwareprojects.com/resources/the-basics/t-8-great-presentations-from-google-io-201-2045.html</link>
<pubDate>Sat, 14 May 2011 03:25:36 GMT</pubDate>
<dc:creator><![CDATA[Mike Peters]]></dc:creator>
<category><![CDATA[The Basics]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/the-basics/t-8-great-presentations-from-google-io-201-2045.html</guid>
<description><![CDATA[Ignite talks are five minutes each.  Speakers have just 20 slides that auto-advance every 15 seconds for a total of five minutes on stage.<br />
<br />
Don't want to watch the full hour? We've broken it down by presentation.  Scroll down and click on the video you'd like to watch.<br />
<br />
Good stuff!<br />
<br />
<a href="http://www.twitter.com/annaleen" target="_blank">Annalee Newitz</a>, Editor and Chief of IO9: <br />
<font size="+1"><b>How Science Fiction represents the future of Social Media</b></font><br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=430"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=430" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<br />
<a href="http://www.twitter.com/qDot" target="_blank">Kyle Machulis</a>, OpenYou and the Quantified Coder Project:<br />
<font size="+1"><b>Your Brain on Bugs</b></font><br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=784"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=784" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<br />
<a href="http://www.twitter.com/josephpred" target="_blank">Joseph Pred</a>, Chief Emergency services at Burning Man:<br />
<font size="+1"><b>Risk Management in Burning Man</b></font><br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=1124"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=1124" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<br />
<a href="http://www.twitter.com/pamelafox" target="_blank">Pamela Fox</a>, ex-Googler:<br />
<font size="+1"><b>Embracing being shy</b></font> <br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=1459"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=1459" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<br />
<a href="http://www.twitter.com/mattcutts" target="_blank">Matt Cutts</a>, Head of Search Quality for Google:<br />
<font size="+1"><b>Setup 30 day challenges to get out of the rut</b></font><br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=1803"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=1803" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<br />
<a href="http://www.twitter.com/mrogati" target="_blank">Monica Rogati</a>, Data Scientist at LinkedIn:<br />
<font size="+1"><b>Finding Stories in the Data</b></font><br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=2130"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=2130" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<br />
<a href="http://www.twitter.com/patrickdavison" target="_blank">Patrick Davison</a>:<br />
<font size="+1"><b>Making sense of a lot of data</b></font><br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=2445"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=2445" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<br />
<a href="http://www.twitter.com/kevinmarks" target="_blank">Kevin Marks</a>, ex-Googler:<br />
<font size="+1"><b>Open vs Closed Software</b></font><br />
<br />
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=2776"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/52Ml_zax4A0?hl=en&amp;fs=1&amp;start=2776" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object>]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/the-basics/t-8-great-presentations-from-google-io-201-2045.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/the-basics/t-8-great-presentations-from-google-io-201-2045.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[SoftwareProjects to attend AdTech San Francisco]]></title>
<link>http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-adtech-san-fr-2042.html</link>
<pubDate>Mon, 11 Apr 2011 12:24:47 GMT</pubDate>
<dc:creator><![CDATA[Kate Richards]]></dc:creator>
<category><![CDATA[The Platform: All-In-One]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-adtech-san-fr-2042.html</guid>
<description><![CDATA[AdTech is an international conference for the interactive marketing community, bringing together the movers &amp; shakers of our industry, all under one roof.<br />
<br />
<img src="http://www.ad-tech.com/images/san-francisco/logo_adtech_sf.gif" border="0" alt="" /><br />
<br />
SoftwareProjects is sending a small team of rainmakers to meet and network. We'd love to buy you a beer!<br />
<br />
<b>When:</b> April 11-13, 2011<br />
<b>Where:</b> Moscone Center, San Francisco<br />
<br />
For the first time AdTech and YouTube will be partnering to broadcast highlights of the conference LIVE on the <a href="http://www.youtube.com/user/adtechSF" target="_blank">AdTech channel</a><br />
<br />
If you'd like to get together and learn why 3,000 businesses in 14 countries rely on SoftwareProjects when it comes to Shopping Carts, Product Launches, PPC, Email Marketing and Software Development, <a href="http://www.softwareprojects.com/support_email.php" target="_blank">contact us</a> to setup a meeting.<br />
<br />
See you in San Francisco!]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-adtech-san-fr-2042.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-adtech-san-fr-2042.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[1ShoppingCart is Down]]></title>
<link>http://www.softwareprojects.com/resources/get-online-presence/t-1shoppingcart-is-down-2039.html</link>
<pubDate>Fri, 11 Feb 2011 21:59:36 GMT</pubDate>
<dc:creator><![CDATA[Mike Peters]]></dc:creator>
<category><![CDATA[Get Online Presence]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/get-online-presence/t-1shoppingcart-is-down-2039.html</guid>
<description><![CDATA[<a href="http://www.1ShoppingCart.com" target="_blank">1ShoppingCart.com</a>, a popular shopping cart provider, has been down for 3 hours and counting...<br />
<br />
Since 1ShoppingCart is a centralized system, this means every single merchant using 1shoppingcart is losing leads and sales hand over fist.<br />
<br />
Twitter is full with raging customers and no ETA from 1Shoppingcart:<br />
<br />
<img src="http://www.softwareprojects.com/blogimages/a4a45f7f.png" border="0" alt="" /><br />
<br />
<a href="http://www.softwareprojects.com/support_email.php" target="_blank">Contact us</a> if you'd like to test drive the <a href="http://www.softwareprojects.com/shopping-cart" target="_blank">SPI shopping cart</a> and experience first-hand, why so many are switching over.<br />
<br />
-<br />
<br />
This outage is the second major outage for 1ShoppingCart in the last 6 months.]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/get-online-presence/t-1shoppingcart-is-down-2039.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/get-online-presence/t-1shoppingcart-is-down-2039.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[NTP for Accurate Global Time Synchronization]]></title>
<link>http://www.softwareprojects.com/resources/programming/t-ntp-for-accurate-global-time-synchroniza-2036.html</link>
<pubDate>Fri, 11 Feb 2011 07:37:28 GMT</pubDate>
<dc:creator><![CDATA[Mike Peters]]></dc:creator>
<category><![CDATA[Programming]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/programming/t-ntp-for-accurate-global-time-synchroniza-2036.html</guid>
<description><![CDATA[Running a multi-server architecture? <br />
<br />
Keeping your server clocks in-sync is very important, especially when using NoSQL databases like <a href="http://www.softwareprojects.com/resources/programming/t-how-to-install-cassandra-+-thrift-and-why-you-shou-1956.html" target="_blank">Cassandra</a>.<br />
<br />
Cassandra attaches a <b>timestamp</b> to every insert operation.  If your server clocks fall out of sync, some updates will be dropped, due to one server taking precedence over others.<br />
<br />
Even if your servers are all showing the same time right now, it's important to understand that without continually applying corrections, the different clocks will eventually fall out of sync. <br />
<br />
<font size="+1"><b>How does Global Time Synchronization work?</b></font><br />
<br />
Public time servers, update their clocks using hardware based on atom's electrons frequency (aka <a href="http://en.wikipedia.org/wiki/Atomic_clock" target="_blank">Atomic Clocks</a>).  <br />
<br />
Your local machines ping the time server repeatedly, applying corrections so that all clocks are in sync.<br />
<br />
<font size="+1"><b>NTP</b></font><br />
<br />
NTP (Network Time Protocol) is an Internet protocol used to synchronize the clocks of computers to a global time reference.<br />
<br />
FreeBSD and Linux servers come with an NTPD service that automatically adjusts the local clock based on the selected global time server.<br />
<br />
To start NTPD on Linux:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">ntpdate pool.ntp.org<BR>service ntpd restart</code><hr />
</div>
<br />
To start NTPD on FreeBSD:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">ntpdate pool.ntp.org<BR>/etc/rc.d/ntpd start</code><hr />
</div>
<br />
Controlling which time server to use is done by updating /etc/ntp.conf.  Example:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">server pool.ntp.org prefer<BR>driftfile /var/db/ntpd.drift<BR>logfile /var/log/ntpd.log</code><hr />
</div>
<br />
To configure NTPD to start on boot automatically on Linux:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">chkconfig --level 2345 ntpd on</code><hr />
</div>
<br />
To configure NTPD to start on boot automatically on FreeBSD:<br />
Add these lines to your /etc/rc.conf file:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">ntpd_enable="YES"<BR>ntpdate_enable="YES"<BR>ntpdate_flags="pool.ntp.org"</code><hr />
</div>]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/programming/t-ntp-for-accurate-global-time-synchroniza-2036.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/programming/t-ntp-for-accurate-global-time-synchroniza-2036.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[Cassandra for PHP Sessions]]></title>
<link>http://www.softwareprojects.com/resources/programming/t-cassandra-for-php-sessions-2033.html</link>
<pubDate>Wed, 26 Jan 2011 00:25:07 GMT</pubDate>
<dc:creator><![CDATA[Hojda Vasile Dan]]></dc:creator>
<category><![CDATA[Programming]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/programming/t-cassandra-for-php-sessions-2033.html</guid>
<description><![CDATA[Building on Dawn's <a href="http://www.softwareprojects.com/resources/programming/t-memcached-for-php-sessions-1654.html" target="_blank">Memcached for PHP sessions</a> post, we've now converted our php-sessions handling from Memcached to Cassandra. <br />
<br />
<a href="http://www.softwareprojects.com/resources/programming/t-how-to-install-cassandra-+-thrift-and-why-you-shou-1956.html" target="_blank">Cassandra</a> supports built-in caching, sharding &amp; replication and scales to infinity, overcoming the shortcomings of the memcached-for-sessions approach.<br />
<br />
Click <a href="http://www.softwareprojects.com/files/dbsession_cassandra.txt" target="_blank">here</a> to download the new dbsession.php and <a href="http://www.softwareprojects.com/files/common_cassandra.txt" target="_blank">here</a> to download common_cassandra.php]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/programming/t-cassandra-for-php-sessions-2033.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/programming/t-cassandra-for-php-sessions-2033.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[Processing Payments: Authorize vs Capture vs Settled]]></title>
<link>http://www.softwareprojects.com/resources/conversion-traffic-to-cash/t-processing-payments-authorize-vs-captur-2030.html</link>
<pubDate>Tue, 04 Jan 2011 19:16:34 GMT</pubDate>
<dc:creator><![CDATA[Mike Peters]]></dc:creator>
<category><![CDATA[Conversion - Traffic to Cash]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/conversion-traffic-to-cash/t-processing-payments-authorize-vs-captur-2030.html</guid>
<description><![CDATA[When processing credit card payments, there are several "transaction types" used to identify what action to take with the customer's credit card.<br />
<br />
The "transaction type" tells your merchant processor, whether you want to <b>charge</b> the customer's credit card, issue a <b>refund</b> or obtain an <b>authorization code</b> for a specific amount.<br />
<br />
People often get confused with all these different transaction types and how they're used, so I wanted to try and clear things up a bit.<br />
<br />
With this post, I'll cover the purpose of each "transaction type" and how they're used in the real world.<br />
<br />
The same principles apply whether you're processing payments online, offline, using Authorize.net or using any other payment gateway.  So it's a good idea to understand how it all works. <br />
<br />
<font size="4"><b>Process Flow</b></font><br />
<br />
Before we dive into transaction types, it will help if we first understand the payment process flow.  How money moves from a  customer's bank account to yours.<br />
<br />
There are lots of tutorials online about transaction types, but I found them all to be way too technical.  Here's my attempt of breaking things down, in lamen terms...<br />
<br />
Let's meet Dorris.<br />
<br />
Dorris is an affluent traveler who loves exotic destinations.<br />
<br />
In one of her recent trips to Aruba, Dorris checked-in to the recently renovated Hilton hotel.  <br />
<br />
<img src="http://www.softwareprojects.com/blogimages/75989960.png" border="0" alt="" /><br />
<br />
The trip was all paid-up in advance, but the guy at the front desk insisted on swiping Dorris' credit card.  "This is to cover any incidentals" he said.  In other words, help yourself to the minibar.  The Cherry Almonds are only $15 a pop...<br />
 <br />
Dorris hands-over her credit card and the hotel submits an <b>Authorization</b> transaction type, in the amount of $200.  The payment gateway responds with a unique authorization code that is saved in the hotel system.  Dorris gets her room key and falls asleep as soon as her head hits the pillow. It was a long flight.<br />
<br />
A few days later, while shopping at the local market, Dorris suddenly realizes she lost her purse.  Credit Cards, driver license and some cash, all gone like dust in the wind.<br />
<br />
Dorris gets on the phone with American Express and immediately cancels her credit card.  This is the same card she handed to the hotel to cover any potential minibar charges. <br />
<br />
<img src="http://www.filetolink.com/cb639e76" border="0" alt="" /><br />
<br />
A few more days go by.  Time flies when you're having fun!  It's already Friday and it's time for Dorris to check-out from the hotel.<br />
<br />
"I see you have $40 in minibar charges" says the hotel clerk, smiling ear to ear.  "We'll go ahead and apply this to the card we have on file. Thank you for staying at the Hilton".<br />
<br />
Dorris starts walking towards the door and then she yells "Oh! I lost my card and had to cancel it. I'm sorry".<br />
<br />
No problem.<br />
<br />
The hotel submits the previously obtained authorization code with a <b>Capture</b> transaction type and the amount set to $40.<br />
<br />
Since the authorization was for $200, no matter what happens to the card, how much money is in the account or whether or not the card was canceled.  The funds were already reserved and $40 are  successfully captured by the hotel's payment gateway.<br />
<br />
24 hours later, the transaction <b>settles</b> and funds show up in the hotels' bank account.<br />
<br />
There you have it.  Now you understand the flow from card <b>authorized</b> to <b>captured</b> to <b>settled</b>.<br />
<br />
<font size="4"><b>Transaction Types</b></font><br />
 <br />
Now that we covered the basics, let's drill deeper and review all  transaction types:<br />
<br />
<b>Authorize (AUTH_ONLY):</b><br />
<br />
Run the card for a given amount and obtain a unique authorization code.  The amount will be put on hold and you are guaranteed these funds as long as you use the authorization code in a Capture transaction within 30 days.  (How long before an authorization code expires varies by company. Check with your payment gateway)<br />
<br />
Customers don't see the authorization as a charge on their statement, but they will see their available funds decrease by the amount you ran the authorization for.<br />
<br />
There's an exception here - if the card is a debit card, the transaction will show up in the customer's online statement.  Regardless of whether or not the transaction shows up, the rules are the same:<br />
<br />
If you don't use the authorization code in a follow-up Capture transaction, the authorization is "dropped", funds returned to the customer's balance and you can no longer use it.<br />
<br />
<b>Capture (PRIOR_AUTH_CAPTURE):</b><br />
<br />
Use a previously obtained authorization code to complete the transaction.<br />
<br />
The amount captured can be lower than the originally obtained authorization amount (this is useful in cases like our example where you don't know the total order amount ahead of time)<br />
<br />
<b>Authorize + Capture (AUTH_CAPTURE)</b><br />
<br />
This type of transaction is a two-step process.  It performs an authorization, immediately followed by a capture.<br />
<br />
While this is the most popular transaction type, used by the majority of shopping carts, it is very risky and payment gateways strongly discourage using it (see why below)<br />
<br />
<b>Refund (CREDIT):</b><br />
<br />
Credit a previously captured amount back to the customer's credit card.<br />
<br />
You can only use this transaction type if the original charge occurred in the last 60 days and the card is still active.<br />
<br />
When refunding orders, you can do either a full refund or refund  a partial amount.<br />
<br />
If you need the ability to issue refunds for older orders, contact your payment gateway provider and ask that they enable <a href="http://www.softwareprojects.com/resources/the-basics/t-extended-credit-capabilities-with-your-payment-gate-1206.html" target="_blank">Extended credit capabilities</a> for your account.<br />
<br />
<b>Void (VOID):</b><br />
<br />
Similar to refund, with the only difference that you are refunding a transaction that took place today (it didn't Settle yet).<br />
<br />
When voiding a transaction, you can only void the full amount of the order.  <br />
<br />
If you need to credit back a portion of the order, wait a day until the payment settles, then issue a refund.<br />
<br />
<font size="4"><b>What's wrong with the AUTH_CAPTURE transaction type</b></font><br />
<br />
The Authorize + Capture transaction type implements the two operations automatically in one call.<br />
<br />
To understand why this transaction type is so risky, you need to understand what happens behind the scenes, when a customer is ready to buy and clicks the "Checkout now" button on your website.<br />
<br />
The shopping cart software sends a request to your payment gateway, passing the customer's credit card information, amount to charge and transaction type.<br />
<br />
The shopping cart software then waits a few seconds to receive an acknowledgment from the payment gateway, indicating the operation completed successfully.<br />
<br />
Now, consider something happens along the way and for some reason, the confirmation never comes back.  It could be a network issue, timeout, bug or any number of things.<br />
<br />
In case your shopping cart software doesn't receive the confirmation back, it assumes the payment did not complete.  It is however possible that the payment completed successfully, customer charged, but a timeout occurred before the confirmation message was sent.<br />
<br />
While not common, these cases easily lead to duplicate charges (customer will try to place an order again), with the shopping cart system showing a single charge and the customer's credit card statement showing he was charged twice.<br />
<br />
To avoid this, always run an authorization first, save the authorization code and then run a capture.<br />
<br />
Even if a timeout error occurs, the user will never be double charged.  Attempting to capture funds twice using the same authorization code, is not possible.<br />
<br />
<font size="4"><b>How SoftwareProjects is using transaction types</b></font><br />
<br />
<b>When capturing payments:</b> <br />
<br />
We always use an Authorization transaction type, followed by a Capture transaction.  <br />
<br />
You can configure the authorization amount to be higher than the captured amount, to accommodate business models similar to the hotel example.<br />
<br />
Note: If your payment gateway is setup to send you email notifications on each action, you will probably see two separate emails per each charge.  This is normal.  You'll notice the transaction ID in the two emails is the same.<br />
<br />
We recommend turning off your payment gateway email notifications and using the shopping cart daily report as a way of keeping track of how well your business is doing.<br />
<br />
<b>When issuing refunds:</b> <br />
<br />
The system automatically picks a Void or Refund transaction type depending on whether the order was placed today or at an earlier date.]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/conversion-traffic-to-cash/t-processing-payments-authorize-vs-captur-2030.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/conversion-traffic-to-cash/t-processing-payments-authorize-vs-captur-2030.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[SoftwareProjects to attend Affiliate Summit West]]></title>
<link>http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-affiliate-sum-2027.html</link>
<pubDate>Mon, 03 Jan 2011 16:23:07 GMT</pubDate>
<dc:creator><![CDATA[Kate Richards]]></dc:creator>
<category><![CDATA[The Platform: All-In-One]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-affiliate-sum-2027.html</guid>
<description><![CDATA[<a href="http://www.affiliatesummit.com" target="_blank">Affiliate Summit</a> Las Vegas is the largest gathering of affiliates, merchants and pay-by-performance networks.<br />
<br />
<img src="http://www.softwareprojects.com/blogimages/c0wnNiaffsummitwest.jpg" border="0" alt="" /><br />
<br />
SoftwareProjects is sending a small team of rainmakers to meet and network.  We'd love to buy you a beer!<br />
<br />
<b>When:</b> January 9-11, 2011<br />
<b>Where:</b> Wynn Las Vegas<br />
<br />
We will be blogging live from the event, covering session highlights here on SoftwareProjects.com<br />
<br />
If you'd like to get together and learn why 3,000 businesses in 14 countries rely on SoftwareProjects when it comes to Shopping Carts, Product Launches, PPC, Email Marketing and Software Development,  please drop a comment here or <a href="http://www.softwareprojects.com/support_email.php" target="_blank">email us</a> to setup a meeting.<br />
<br />
See you in Vegas!]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-affiliate-sum-2027.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/the-platform-all-in-one/t-softwareprojects-to-attend-affiliate-sum-2027.html</feedburner:origLink>

</item>
<item>
<title><![CDATA[Bing and Yahoo PPC Webinar]]></title>
<link>http://www.softwareprojects.com/resources/the-basics/t-bing-and-yahoo-ppc-webinar-2024.html</link>
<pubDate>Thu, 18 Nov 2010 00:51:20 GMT</pubDate>
<dc:creator><![CDATA[Adrian Singer]]></dc:creator>
<category><![CDATA[The Basics]]></category>
<guid isPermaLink="false">http://www.softwareprojects.com/resources/the-basics/t-bing-and-yahoo-ppc-webinar-2024.html</guid>
<description><![CDATA[Free introductory webinar that covers the basics of Microsoft AdCenter and how you can drive traffic to your site from msn.com and yahoo.com.<br />
<br />
<b>Agenda</b><br />
<br />
    * An overview of advertising on Bing and Yahoo! Search with the Microsoft Advertising adCenter platform.<br />
    * Tips for setting up search, content, and mobile advertising campaigns.<br />
    * Bidding and budgeting best practices.<br />
    * Guidance on selecting keywords that will give your ads a better chance of reaching your target audience.<br />
<br />
<b>Date:</b> Thursday, November 18, 2010<br />
<b>Time:</b> 10:00 A.M. Pacific Time<br />
<b>Duration:</b> One hour<br />
<b>Cost:</b> Free <br />
<br />
Signup here: <a href="https://swrt.worktankseattle.com/webcast/5745/preview.aspx" target="_blank">https://swrt.worktankseattle.com/web...5/preview.aspx</a>]]></description>

		<wfw:commentRss>http://www.softwareprojects.com/resources/the-basics/t-bing-and-yahoo-ppc-webinar-2024.html</wfw:commentRss>
		<feedburner:origLink>http://www.softwareprojects.com/resources/the-basics/t-bing-and-yahoo-ppc-webinar-2024.html</feedburner:origLink>

</item>

</channel></rss>
