<?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>Zen Dzign &#187; PHP</title>
	<atom:link href="http://www.zendzign.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendzign.com</link>
	<description>The official ZZ Servers Blog - Visit http://www.zzservers.com for your business hosting needs.</description>
	<lastBuildDate>Thu, 26 Jan 2012 05:59:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>What Are The Benefits Of PCI Compliance?</title>
		<link>http://www.zendzign.com/2008/09/what-are-the-benefits-of-pci-compliance/</link>
		<comments>http://www.zendzign.com/2008/09/what-are-the-benefits-of-pci-compliance/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 16:31:53 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[dss]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=18</guid>
		<description><![CDATA[One of the most valuable commodities in this day and age is your own personal information. The more we make purchases over the Internet or over the phone, in other words: not in person, the more important that information becomes. However, as security breaches receive more coverage and are more well known to the public, [...]]]></description>
			<content:encoded><![CDATA[<div id="body">
<p>One of the most valuable commodities in this day and age is your own personal information. The more we make purchases over the Internet or over the phone, in other words: <em>not in person</em>, the more important that information becomes.</p>
<p>However, as security breaches receive more coverage and are more well known to the public, trust in the current security measures is coming into question, and the need for stronger security and standardized tools and controls became necessary.<span id="more-18"></span></p>
<p>Enter the PCI DSS, or Payment Card Industry Data Security Standard. This was created by the five major credit card companies as a guideline to help merchants and other companies implement the necessary hardware, software, and other procedures to guard sensitive credit card and personal information.</p>
<p>The encouragement to achieve PCI compliance comes in a couple different forms: benefits and mandates. The mandates are the requirements of PCI compliance, and attached to them are some very strict and specific penalties. These could include fines as high as $500,000 per incident, and the loss of the ability to accept credit cards at all.</p>
<p>On the other hand, there are a number of PCI compliance benefits that should be as much of an incentive, if not more so, than the penalties. It merely requires a proactive understanding of the long term benefits of compliance. Some of these benefits, you will find, are somewhat more intangible than others, but that doesn&#8217;t make them any less valuable.</p>
<p>The first and most obvious benefit of PCI compliance is a simple matter of trust. What if your company was the one that recently suffered a major security breach? What if you had to live with the stigma of &#8220;the company that lost thousands of credit card number&#8221;? Could you ever live it down? Could you survive the fallout?</p>
<p>A giant company may be able to weather the storm (as has been seen in some recent cases), but most companies need to focus on building lasting trust from the beginning. Being PCI compliant can help you achieve this.</p>
<p>More tangibly, merchants who are PCI compliant are offered protection from the fines if you should happen to be breached. If you are compliant at the time you suffer an attack, you can have a sort of safe harbor.</p>
<p>At the moment, these &#8220;carrots and sticks&#8221;, or mandates and benefits, are assumed to be enough to encourage merchants to gain PCI compliance. But if it turns out, in fact, to not be enough, the PCI Security Standards Council will likely change the measures of encouragement. The reason for these measures is that trust is the only thing that will propel the online industry forward. If customers lose their trust in the system, they <em>will</em> find alternate methods to do business.</p>
<p>It is a difficult thing in the naturally competitive environment of online business to consider something as nebulous as &#8220;the greater good&#8221;, but in a world where personal information is so valuable, creating an environment where that information is utterly secure should be a top priority.</p>
</div>
<p>Andy Eliason is a writer for Main10, Inc.  If you&#8217;d like to learn more about <a id="link_56" href="http://www.braintreepaymentsolutions.com/pci-compliance/article/6/" target="_">PCI compliance</a>, or how to become <a id="link_57" href="http://www.braintreepaymentsolutions.com/pci-compliance/p/3/" target="_">PCI DSS compliant</a>, visit <a id="link_58" href="http://www.braintreepaymentsolutions.com/" target="_">Braintree Payment Solutions</a> today and find out what they have to offer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/09/what-are-the-benefits-of-pci-compliance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Set Up A Ubuntu/Debian LAMP Server</title>
		<link>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/</link>
		<comments>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/#comments</comments>
		<pubDate>Sat, 10 May 2008 14:03:53 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/</guid>
		<description><![CDATA[Build Your Own Debian/Ubuntu LAMP Server &#8211; Quick &#38; Easy Do it Yourself Installation Apache 2 &#8211; Linux Web server MySQL 5 &#8211; MySQL Database Server PHP4/5 &#8211; PHP Scripting Language phpMyAdmin &#8211; Web-based database admin software. Note: Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server. First, let us prepare [...]]]></description>
			<content:encoded><![CDATA[<h3>Build Your Own Debian/Ubuntu LAMP Server &#8211; Quick &amp; Easy Do it Yourself Installation</h3>
<ul>
<li>Apache 2 &#8211; Linux Web server</li>
<li>MySQL 5 &#8211; MySQL Database Server</li>
<li>PHP4/5 &#8211; PHP Scripting Language</li>
<li>phpMyAdmin &#8211; Web-based database admin software.</li>
</ul>
<p>Note: <strong>L</strong>inux + <strong>A</strong>pache + <strong>M</strong>ySQL + <strong>P</strong>HP/Perl together commonly known as <strong>LAMP Server</strong>.</p>
<p><span id="more-8"></span></p>
<p>First, let us prepare a system that has a minimum requirement of Debian/Ubuntu version of Linux with at least<strong> <a href="http://www.zzservers.com/hosting/virtual-private-servers/256/" target="_blank">256MB of RAM available</a></strong>.<strong> </strong>Anything less than this minimum ram will cause lot of problems since we are running a server along especially MySQL and Webmin requires lots of RAM to run properly. MySQL will give you this nasty error &#8220;cannot connect to mysql.sock&#8221; if you don&#8217;t have enough memory in your server.</p>
<p>I love Debian/Ubuntu based Linux because of my enormous affinity towards this command apt-get. As a starter knowing this one command, It is so easy to install packages and you don&#8217;t need to worry about package dependency and configuration. You need to buy a dedicated server or a VPS package if you want to setup your own server. If you want to experiment with the server and installation it is recommended to buy a VPS package. Believe it or not it is so easy to install and configure your server yourself even though you are new are to Linux and dedicated/VPS hosting.</p>
<p>First download <a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe" target="_blank">PuTTy</a> if you are accessing your server through SSH. Just enter the IP of your server with root login to access your host. As you probably know, <a href="http://www.webmin.com/" target="_blank">Webmin</a> is a freely available server control panel and we will setup this once we have completed the LAMP server and Mail Server. Webmin makes more easier for us to fine tune our Linux box.</p>
<p>Before proceeding to install, update the necessary packages with Debian with this command.</p>
<p class="command">apt-get install update</p>
<h3>1. Installing Apache + PHP</h3>
<p>Apache is one of the most famous web server which runs on most Linux based servers. With just few commands you can configure apache to run with PHP 4 or PHP 5.</p>
<p>If you want to install PHP 4, just apt-get</p>
<p class="command">apt-get install apache2 php4 libapache2-mod-php4</p>
<p>To install PHP5, just run the following on Linux shell. Note that if you don&#8217;t specify packages with &#8217;4&#8242;, PHP5 will be automatically installed.</p>
<p class="command">apt-get install apache2 php5 libapache2-mod-php5</p>
<p>Apache configuration file is located at: <span class="system">/etc/apache2/apache2.conf</span> and your web folder is <span class="system">/var/www</span>.</p>
<p>To check whether php is installed and running properly, just create a <span class="system">test.php</span> in your <span class="system">/var/www</span> folder with <span class="system">phpinfo()</span> function exactly as shown below.</p>
<p class="command">vi /var/www/test.php</p>
<pre class="crayon-plain-tag"><code># test.php
&amp;lt;?php phpinfo(); ?&amp;gt;</code></pre><p>Point your browser to <span class="system">http://ip.address/test.php</span> or <span class="system">http://domain/test.php</span> and this should show all your php configuration and default settings.</p>
<p>You can edit necessary values or setup virtual domains using apache configuration file.</p>
<h3>2. Installing MySQL Database Server</h3>
<p>Installing mysql database server is always necessary if you are running a database driven e-commerce site. Remember running MySQL server to a fair extend requires at least 256mb of RAM in your server. So unless you are running database driven sites you don&#8217;t absolutely need MySQL. The following commands will install MySQL 5 server and MySQL 5 client.</p>
<p class="command">apt-get install mysql-server mysql-client php5-mysql</p>
<p>Note: If you have already installed php4, you should make a slight change like this.</p>
<p class="command">apt-get install mysql-server mysql-client php4-mysql</p>
<p>The configuration file of MySQL is located at: <span class="system">/etc/mysql/my.cnf</span></p>
<h4>Creating users to use MySQL and Changing Root Password</h4>
<p>By default mysql creates user as root and runs with no passport. You might need to change the root password.</p>
<p>To change Root Password</p>
<p class="command">mysql -u root</p>
<p>mysql&gt; USE mysql;</p>
<p>mysql&gt; UPDATE user SET Password=PASSWORD(&#8216;new-password&#8217;) WHERE user=&#8217;root&#8217;;</p>
<p>mysql&gt; FLUSH PRIVILEGES;</p>
<p>You must <strong>never use root password</strong>, so you might need to create a user to connect to MySQL database for a PHP script. Alternatively you can add users to MySQL database by using a control panel like <strong>Webmin</strong> or <strong>phpMyAdmin</strong> to easily create or assign database permission to users. We will install Webmin and phpMyAdmin during later once we complete basic installation.</p>
<h3>3. PhpMyAdmin Installation</h3>
<p>PhpMyAdmin is a nice web based database management and administration software and easy to install and configure under apache. Managing databases with tables couldn&#8217;t be much simpler by using phpMyAdmin.</p>
<p>All you need to do is:</p>
<p class="command">apt-get install phpmyadmin</p>
<p>The phpMyAdmin configuration file is located at: <span class="system">/etc/phpmyadmin</span> folder.</p>
<p>To set up under Apache all you need to do is include the following line in <span class="system">/etc/apache2/apache2.conf</span>:</p><pre class="crayon-plain-tag"><code>Include /etc/phpmyadmin/apache.conf</code></pre><p>Now restart Apache:</p>
<p class="command">/etc/init.d/apache2 restart</p>
<p>Point your browser to: <span class="system">http://domain/phpmyadmin</span></p>
<p>That&#8217;s it! MySQL and phpMyAdmin are ready. Log in with your mysql root password and create users to connect to database from your php script.</p>
<p><em>This tutorial was written by Scott who currently runs <a href="http://www.mysql-apache-php.com/" target="_blank">MySQL-Apache-PHP.com</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

