<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mustafa Ulu &#187; PHP</title>
	<atom:link href="http://mustafaulu.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://mustafaulu.net</link>
	<description>Kişisel günlüğüm</description>
	<lastBuildDate>Thu, 19 Apr 2012 07:15:35 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mustafaulu.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mustafa Ulu &#187; PHP</title>
		<link>http://mustafaulu.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mustafaulu.net/osd.xml" title="Mustafa Ulu" />
	<atom:link rel='hub' href='http://mustafaulu.net/?pushpress=hub'/>
		<item>
		<title>Pardus&#8217;ta PDO_PGSQL ve PDO_MYSQL kurulumu</title>
		<link>http://mustafaulu.net/2008/08/23/pardusta-pdo_pgsql-ve-pdo_mysql-kurulumu/</link>
		<comments>http://mustafaulu.net/2008/08/23/pardusta-pdo_pgsql-ve-pdo_mysql-kurulumu/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 13:37:43 +0000</pubDate>
		<dc:creator>mustafa ulu</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Pardus]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[pdo_mysql]]></category>
		<category><![CDATA[pdo_pgsql]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mustafau.wordpress.com/?p=192</guid>
		<description><![CDATA[Drupal&#8217;ın geliştirilmekte olan 7.x sürümünün veritabanı sistemi PHP&#8217;nin PDO eklentisi kullanılarak yeniden yazıldı. Yeni sürümü denemek veya yama hazırlamak için PHP&#8217;nin PDO eklentisi ve PDO_PGSQL ve/veya PDO_MYSQL sürücüleri ile derlenmiş olması gerekiyor. Pardus depolarındaki PHP paketleri bize bu desteği sağlamıyor. Bir süre önce Pardus&#8217;un hata takip sistemine durumu anlatan bir kayıt girmiştim. Umarım kısa zamanda [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=192&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Drupal&#8217;ın geliştirilmekte olan 7.x sürümünün veritabanı sistemi PHP&#8217;nin <a href="http://tr2.php.net/manual/en/book.pdo.php">PDO</a> eklentisi kullanılarak <a href="http://drupal.org/node/225450">yeniden yazıldı</a>. Yeni sürümü denemek veya yama hazırlamak için PHP&#8217;nin PDO eklentisi ve <a href="http://tr2.php.net/manual/en/ref.pdo-pgsql.php">PDO_PGSQL</a> ve/veya <a href="http://tr2.php.net/manual/en/ref.pdo-mysql.php">PDO_MYSQL</a> sürücüleri ile derlenmiş olması gerekiyor.</p>
<p>Pardus depolarındaki PHP paketleri bize bu desteği sağlamıyor. Bir süre önce Pardus&#8217;un hata takip sistemine <a href="http://bugs.pardus.org.tr/show_bug.cgi?id=7920">durumu anlatan bir kayıt</a> girmiştim. Umarım kısa zamanda ilgi görür.</p>
<p>Drupal 7.x sürümünü Pardus&#8217;a kurabilmek için PHP&#8217;yi kaynak kodlarından derlemek gerekiyor. Derlemeye hazırlanırken phpinfo() fonksiyonunun çıktısından Pardus&#8217;a özgü &#8220;configure&#8221; ayarlarını alıp bu ayarların en sonuna aşağıdaki iki ayarı ekleyin:</p>
<p><code>--with-pdo-pgsql=shared</code><br />
<code>--with-pdo-mysql=shared</code></p>
<p>Kurulum sırasında PHP &#8220;<code>/etc/apache2/apache2.conf</code>&#8221; dosyasının var olmasını gerektiriyor. Bu sorunu çözmek için aşağıdaki komut yeterli oluyor:</p>
<p><code>sudo ln /etc/apache2/httpd.conf /etc/apache2/apache2.conf</code></p>
<p>PHP derleme ve kurulum işlemi bittikten sonra &#8220;<code>/etc/php/php.ini</code>&#8221; dosyasını açıp &#8220;Dynamic Extensions&#8221; bölümünün altına aşağıdaki satırları ekleyin:</p>
<p><code>extension=pdo.so<br />
extension=pdo_pgsql.so<br />
extension=pdo_mysql.so</code></p>
<p>Hepsi bu kadar. Apache&#8217;yi yeniden başlattıktan sonra Drupal kurulumuna geçebilirsiniz.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mustafau.wordpress.com/192/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mustafau.wordpress.com/192/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mustafau.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mustafau.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mustafau.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mustafau.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mustafau.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mustafau.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mustafau.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mustafau.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mustafau.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mustafau.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mustafau.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mustafau.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mustafau.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mustafau.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=192&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mustafaulu.net/2008/08/23/pardusta-pdo_pgsql-ve-pdo_mysql-kurulumu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f6d5acdf6beca511ac2003434abd4c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mustafa ulu</media:title>
		</media:content>
	</item>
		<item>
		<title>Zend Framework &#8211; Artık PHP ile çalışmak daha da kolay</title>
		<link>http://mustafaulu.net/2007/05/09/zend-framework-artik-php-ile-calismak-daha-da-kolay/</link>
		<comments>http://mustafaulu.net/2007/05/09/zend-framework-artik-php-ile-calismak-daha-da-kolay/#comments</comments>
		<pubDate>Tue, 08 May 2007 22:23:02 +0000</pubDate>
		<dc:creator>mustafa ulu</dc:creator>
				<category><![CDATA[Yazılım]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://gunluk.mustafau.com/2007/05/09/zend-framework-artik-php-ile-calismak-daha-da-kolay/</guid>
		<description><![CDATA[Eğer bir gün PHP ile yazılım geliştirmem gerekirse, Zend Framework&#8216;u kullanmamak için bir sebep düşünemiyorum.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=86&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Eğer bir gün <a href="http://php.net/">PHP</a> ile yazılım geliştirmem gerekirse, <a href="http://framework.zend.com/">Zend Framework</a>&#8216;u kullanmamak için bir sebep düşünemiyorum.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mustafau.wordpress.com/86/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mustafau.wordpress.com/86/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mustafau.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mustafau.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mustafau.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mustafau.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mustafau.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mustafau.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mustafau.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mustafau.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mustafau.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mustafau.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mustafau.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mustafau.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mustafau.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mustafau.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=86&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mustafaulu.net/2007/05/09/zend-framework-artik-php-ile-calismak-daha-da-kolay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f6d5acdf6beca511ac2003434abd4c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mustafa ulu</media:title>
		</media:content>
	</item>
		<item>
		<title>Yeniden PHP</title>
		<link>http://mustafaulu.net/2007/03/01/yeniden-php/</link>
		<comments>http://mustafaulu.net/2007/03/01/yeniden-php/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 08:28:33 +0000</pubDate>
		<dc:creator>mustafa ulu</dc:creator>
				<category><![CDATA[Yazılım]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mustafau.wordpress.com/2007/03/01/yeniden-php/</guid>
		<description><![CDATA[Uzun zamandır PHP kodu yazmamıştım. Bir süredir Python ile uğraşıyorum. Python&#8217;a alışan parmaklarım PHP&#8217;ye döndüğümde &#8220;$&#8221; işaretinin klavyedeki yerini bulmakta zorlandılar. Gelelim PHP&#8217;ye neden ihtiyaç duyduğuma. &#8220;http://mustafau.com&#8221; adresine gelen bir kullanıcıyı tarayıcısının dil ayarlarına göre &#8220;http://gunluk.mustafau.com&#8221; (Türkçe) veya &#8220;http://blog.mustafau.com&#8220;a (İngilizce) yönlendirmek istiyorum. mustafau.com&#8216;a yeni bir sunucu alanı almak istemediğim için ilk yönlendirmeyi &#8220;http://students.sabanciuniv.edu/~mustafau/r/redirect.php&#8221; adresine yapıyorum. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=60&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Uzun zamandır PHP kodu yazmamıştım. Bir süredir Python ile uğraşıyorum. Python&#8217;a alışan parmaklarım PHP&#8217;ye döndüğümde &#8220;$&#8221; işaretinin klavyedeki yerini bulmakta zorlandılar.</p>
<p>Gelelim PHP&#8217;ye neden ihtiyaç duyduğuma. &#8220;<a href="http://mustafau.com/">http://mustafau.com</a>&#8221; adresine gelen bir kullanıcıyı tarayıcısının dil ayarlarına göre &#8220;<a href="http://gunluk.mustafau.com/">http://gunluk.mustafau.com</a>&#8221; (Türkçe) veya &#8220;<a href="http://blog.mustafau.com/">http://blog.mustafau.com</a>&#8220;a (İngilizce) yönlendirmek istiyorum. <a href="http://mustafau.com/">mustafau.com</a>&#8216;a yeni bir sunucu alanı almak istemediğim için ilk yönlendirmeyi &#8220;<a href="http://students.sabanciuniv.edu/~mustafau/r/redirect.php">http://students.sabanciuniv.edu/~mustafau/r/redirect.php</a>&#8221; adresine yapıyorum. Burada tarayıcının dil ayarlarına bakılıyor. Varsayılan ayarlarda &#8220;tr&#8221; (Türkçe) veya &#8220;az&#8221; (Azerice) var ise ziyaretçi <a href="http://gunluk.mustafau.com/">gunluk.mustafau.com</a>&#8216;a yoksa <a href="http://blog.mustafau.com/">blog.mustafau.com</a>&#8216;a yönlendiriliyor.</p>
<p>Şimdi de sıra betiği paylaşmaya geldi. Kodları aşağıya yazıyorum. Sıkıştırılmış dosya olarak indirmek isterseniz buyrun <a href="http://students.sabanciuniv.edu/~mustafau/phpmv2/phpmyvisites.php?url=http%3A//students.sabanciuniv.edu/%257Emustafau/r/redirect.php.gz&amp;id=1&amp;pagename=FILE:betikler%20/%20redirect.php.gz">burada</a>.</p>
<p><pre class="brush: php;">
&lt;?php

/**
* @version 1.0, redirect.php, 2007-02-28, 22:50
* @copyright (C)2007 Mustafa Ulu, All rights reserved. / Her hakkı saklıdır.
* @license GNU/GPL
* This is free software. / Bu özgür bir yazılımdır.
*/

// Tarayıcının varsayılan dillerini inceler, belirli dillere rastlar ise uygun
// yönlendirmeyi gerçekleştirir.
// EasyPHP 1.8 sürümü ile gelen 'index.php' dosyasından esinlenildi.

// tarayıcının varsayılan dillerini bir array içine al
$browser_languages = explode(&quot;,&quot;, getenv(&quot;HTTP_ACCEPT_LANGUAGE&quot;));
$browser_languages_size = sizeof($browser_languages);

// İngilizce ve Türkçe dilleri için yönlendirme adresleri
$redirect_en = 'Location: http://blog.mustafau.com/';
$redirect_tr = 'Location: http://gunluk.mustafau.com/';

// varsayılan yönlendirme adresimiz İngilizce günlük
$redirect_str = $redirect_en;

for ($i = 0; $i &lt; $browser_languages_size; $i++)
{
$lg = explode(&quot;-&quot;, $browser_languages[$i]);

if($lg[0] == 'tr' || $lg[0] == 'az') {
// 'tr' veya 'az' kodlarına rastlarsan Türkçe günlüğe yönlendir
$redirect_str = $redirect_tr;
break;
}
}

header($redirect_str);

?&gt;
</pre></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mustafau.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mustafau.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mustafau.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mustafau.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mustafau.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mustafau.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mustafau.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mustafau.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mustafau.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mustafau.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mustafau.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mustafau.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mustafau.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mustafau.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mustafau.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mustafau.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=60&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mustafaulu.net/2007/03/01/yeniden-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f6d5acdf6beca511ac2003434abd4c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mustafa ulu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
