<?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; php</title>
	<atom:link href="http://www.x83.net/tag/php/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>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>Error compiling PHP on CentOS 64 bit</title>
		<link>http://www.x83.net/error-compiling-php-on-centos-64-bit/</link>
		<comments>http://www.x83.net/error-compiling-php-on-centos-64-bit/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 18:33:42 +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[64 bit]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=411</guid>
		<description><![CDATA[In order to compile PHP on 64 bit you need to use the option --with-libdir=lib64 otherwise you will stay forever with the following error checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no checking for mysql_close in -lmysqlclient... no checking for mysql_error [...]]]></description>
			<content:encoded><![CDATA[<p>In order to compile PHP on 64 bit you need to use the option <code>--with-libdir=lib64</code> otherwise you will stay forever with the following error</p>
<blockquote><p><code>checking for MySQL support... yes<br />
checking for specified location of the MySQL UNIX socket... no<br />
checking for MySQL UNIX socket location... no<br />
checking for mysql_close in -lmysqlclient... no<br />
checking for mysql_error in -lmysqlclient... no<br />
configure: error: mysql configure failed. Please check config.log for  more information.</code></p></blockquote>
<p>Other possible reasons are :<br />
1. missing the libtool-ltdl-devel package<br />
2. missing the ncurses-devel<br />
3. missing mysql-devel package</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/error-compiling-php-on-centos-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

