<?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>x83.net &#187; Uncategorized</title>
	<atom:link href="http://www.x83.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 13:53:33 +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>Nginx + php 5.2.17 + php-fpm</title>
		<link>http://www.x83.net/nginx-php-5-2-17-php-fpm/</link>
		<comments>http://www.x83.net/nginx-php-5-2-17-php-fpm/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 12:30:17 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[5.2.17]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-fpm]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=778</guid>
		<description><![CDATA[Download the needed packages and store them in /usr/src: http://us.php.net/distributions/php-5.2.17.tar.gz http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz http://nginx.org/download/nginx-1.1.0.tar.gz Then run : tar -xvzf php-5.2.17.tar.gz gzip -cd php-5.2.17-fpm-0.5.14.diff.gz &#124; sudo patch -d php-5.2.17 -p1 cd php-5.2.17 ./configure --enable-fastcgi --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --enable-pdo --with-curl --disable-debug --with-pic --disable-rpath --enable-inline-optimization --with-bz2 --enable-xml --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --with-xsl --enable-zip --with-pcre-regex --with-gd --without-pdo-sqlite [...]]]></description>
			<content:encoded><![CDATA[<p>Download the needed packages and store them in /usr/src:</p>
<p>http://us.php.net/distributions/php-5.2.17.tar.gz</p>
<p>http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz</p>
<p>http://nginx.org/download/nginx-1.1.0.tar.gz</p>
<p>Then run :</p>
<p><code>tar -xvzf php-5.2.17.tar.gz<br />
gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | sudo patch -d php-5.2.17 -p1<br />
cd php-5.2.17<br />
./configure --enable-fastcgi --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --enable-pdo --with-curl --disable-debug --with-pic --disable-rpath --enable-inline-optimization --with-bz2 --enable-xml --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --with-xsl --enable-zip --with-pcre-regex --with-gd --without-pdo-sqlite --with-pdo-mysql --without-sqlite --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-mysql --enable-bcmath --enable-calendar --enable-exif --enable-ftp  --with-gettext --with-imap --with-mysqli --with-openssl --with-kerberos --with-imap-ssl --enable-dbase --with-gmp --enable-shmop --enable-wddx</p>
<p>make all install</code></p>
<p>Note that you can add &#8211;<strong>prefix </strong> to install the binaries in a different location than the default one.</p>
<p>After compilation is done :</p>
<p><code>strip /usr/local/bin/php-cgi<br />
cp sapi/cgi/fpm/php-fpm /etc/init.d/<br />
chmod +x /etc/init.d/php-fpm</p>
<p>cp /usr/src/php-5.2.17/php.ini-recommended /usr/local/lib/php.ini<br />
mkdir /etc/php/<br />
ln -s /usr/local/lib/php.ini /etc/php/php.ini<br />
ln -s /usr/local/etc/php-fpm.conf /etc/php/php-fpm.conf<br />
</code></p>
<p>Make sure you edit <strong>/etc/php/php-fpm.conf</strong> and set the proper user/group (and permissions if its the case).</p>
<p>Then compile Nginx:</p>
<p><code>tar zxvf nginx-1.1.0.tar.gz<br />
./configure --sbin-path=/usr/local/sbin --with-http_ssl_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_stub_status_module<br />
make &#038;&#038; sudo make install<br />
</code></p>
<p>The same you can modify the <strong>&#8211;prefix</strong>  here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/nginx-php-5-2-17-php-fpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install FFmpeg and FFmpeg-php on Centos 5 and Plesk</title>
		<link>http://www.x83.net/install-ffmpeg-and-ffmpeg-php-on-centos-5-and-plesk/</link>
		<comments>http://www.x83.net/install-ffmpeg-and-ffmpeg-php-on-centos-5-and-plesk/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 18:49:58 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffmpeg-php]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=445</guid>
		<description><![CDATA[Run : rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2 cd /usr/src Download http://garr.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.0.tbz2 tar jxvf ffmpeg-php-0.6.0.tbz2 cd ffmpeg-php-0.6.0 phpize ./configure make make install Edit /etc/php.ini and add : extension=ffmpeg.so and then: service httpd restart]]></description>
			<content:encoded><![CDATA[<p>Run :</p>
<blockquote><p>rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br />
yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2<br />
cd /usr/src<br />
Download http://garr.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.0.tbz2<br />
tar jxvf ffmpeg-php-0.6.0.tbz2<br />
cd ffmpeg-php-0.6.0<br />
phpize<br />
./configure<br />
make<br />
make install</p>
<p>Edit /etc/php.ini and add : </p>
<p>extension=ffmpeg.so</p>
<p>and then:</p>
<p>service httpd restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/install-ffmpeg-and-ffmpeg-php-on-centos-5-and-plesk/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Update php in Plesk</title>
		<link>http://www.x83.net/update-php-in-plesk/</link>
		<comments>http://www.x83.net/update-php-in-plesk/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 18:29:54 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=440</guid>
		<description><![CDATA[Run: Download http://www.atomicorp.com/installers/atomic.sh sh atomic.sh yum update php]]></description>
			<content:encoded><![CDATA[<p>Run:</p>
<blockquote><p>Download http://www.atomicorp.com/installers/atomic.sh<br />
sh atomic.sh<br />
yum update php
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/update-php-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How much disk space a database takes?</title>
		<link>http://www.x83.net/how-much-disk-space-a-database-takes/</link>
		<comments>http://www.x83.net/how-much-disk-space-a-database-takes/#comments</comments>
		<pubDate>Mon, 24 May 2010 07:08:12 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[sum]]></category>

		<guid isPermaLink="false">http://www.x83.net/how-much-disk-space-a-database-takes/</guid>
		<description><![CDATA[Login to mysql and run : select SUM(data_length) + SUM(index_length) as size from information_schema.tables where table_schema = 'your_database';]]></description>
			<content:encoded><![CDATA[<p>Login to mysql and run :</p>
<p><code>select SUM(data_length) + SUM(index_length) as size from information_schema.tables where table_schema = 'your_database';</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/how-much-disk-space-a-database-takes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to redirect my website to be opened through HTTPS?</title>
		<link>http://www.x83.net/how-to-redirect-my-website-to-be-opened-through-https/</link>
		<comments>http://www.x83.net/how-to-redirect-my-website-to-be-opened-through-https/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 01:04:34 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=345</guid>
		<description><![CDATA[In order to redirect your website to be opened through HTTPS, you should add the following rewrite rule in your .htaccess file: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule .* https://www.domain.com/%{REQUEST_URI} [R,L] This will redirect your domain to https://www.yourdomain.com. If you wish the redirect to work without www, you should remove it from the rewrite rule: [...]]]></description>
			<content:encoded><![CDATA[<p>In order to redirect your website to be opened through HTTPS, you should add the following rewrite rule in your .htaccess file:</p>
<blockquote><p>RewriteEngine On<br />
RewriteCond %{HTTPS} !=on<br />
RewriteRule .* https://www.domain.com/%{REQUEST_URI} [R,L]</p>
</blockquote>
<p>This will redirect your domain to https://www.yourdomain.com. If you wish the redirect to work without www, you should remove it from the rewrite rule:</p>
<blockquote><p>RewriteEngine On<br />
RewriteCond %{HTTPS} !=on<br />
RewriteRule .* https://domain.com/%{REQUEST_URI} [R,L]</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/how-to-redirect-my-website-to-be-opened-through-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

