<?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"
	>

<channel>
	<title>Poetry of Programming</title>
	<atom:link href="http://www.poetryofprogramming.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.poetryofprogramming.com</link>
	<description>Because coding is art</description>
	<pubDate>Wed, 03 Sep 2008 20:25:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Setting the web server to gain access to symfony_data/web/sf/ directory</title>
		<link>http://www.poetryofprogramming.com/symfony/setting-the-web-server-to-gain-access-to-symfony_datawebsf-directory/</link>
		<comments>http://www.poetryofprogramming.com/symfony/setting-the-web-server-to-gain-access-to-symfony_datawebsf-directory/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 16:56:29 +0000</pubDate>
		<dc:creator>Krzysztof Karolczak</dc:creator>
		
		<category><![CDATA[Installation]]></category>

		<category><![CDATA[Symfony]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[vhost]]></category>

		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://www.poetryofprogramming.com/?p=25</guid>
		<description><![CDATA[The happiness of running the first Symfony project is very often spoiled by a message displayed on the first Symfony-based web page:
Congratulations! You have successfully created your symfony project.
Project setup successful
This project uses the symfony libraries. If you see no image in this page, you may need to configure your web server so that it [...]]]></description>
			<content:encoded><![CDATA[<p><span class="MsgBodyText">The happiness of running the first Symfony project is very often spoiled by a message displayed on the first Symfony-based web page:</span></p>
<p style="padding-left: 30px;"><em>Congratulations! You have successfully created your symfony project.</em></p>
<p style="padding-left: 30px;"><em>Project setup successful</em></p>
<p style="padding-left: 30px;"><em>This project uses the symfony libraries. If you see no image in this page, you may need to configure your web server so that it gains access to the symfony_data/web/sf/ directory.</em></p>
<p>The proper configuration of the web server seems to be the most troublesome part of Symfony installation. But fortunately there are several quick ways to solve that problem. This short guide will describe two of them from the perspective of an Apache web server user.<span id="more-25"></span></p>
<p>I&#8217;m assuming that you have Symfony already properly installed (if not the <strong><a href="http://www.poetryofprogramming.com/symfony/install-symfony-framework-xp-vista-wamp/" target="_blank">installation guide is here</a></strong>). I&#8217;m working on a <strong><a href="http://www.wampserver.com/en/" target="_blank"></a><a href="http://www.wampserver.com/en/" target="_blank">WAMP</a> installation</strong> of Apache+MySQL+PHP, so the directory paths in my examples will reflect that.</p>
<p><strong>Method 1 - setting a virtual host</strong></p>
<p>This is the most recommended method of setting up your working environment - creating a virtual host for every application. The example will show how to configure your web server to cope with one project (a multi-application vhost  example is coming up soon <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>
<p>First - find your apache config directory (in my WAMP install it&#8217;s <em>C:\wamp\bin\apache\apache2.2.6\conf</em>) and open the <em>httpd-vhosts.conf</em> (which is in the sub-directory <em>extra</em> - <em>C:\wamp\bin\apache\apache2.2.6\conf\extra</em>). Delete or comment out all the lines  (by adding &#8216;#&#8217; at the beginning of each one) if you&#8217;re not sure what they do (if you haven&#8217;t written them they are probably just examples of vhost configuration). Now add at the end of the file your virtual host config which should look similar to this:</p>
<p><em>NameVirtualHost *:80<br />
</em></p>
<p><em>&lt;VirtualHost *:80&gt;<br />
ServerName your_server_name<br />
</em><em>DocumentRoot &#8220;c:/wamp/www/your_project/web&#8221;<br />
DirectoryIndex index.php<br />
Alias /sf c:/wamp/bin/php/php5.2.5/PEAR/data/symfony/web/sf</em></p>
<p><em>&lt;Directory &#8220;c:/wamp/www/</em><em>your_project</em><em>/web&#8221;&gt;<br />
Options Indexes FollowSymlinks ExecCGI<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from All<br />
&lt;/Directory&gt;</em></p>
<p><em>&lt;Directory &#8220;c:/wamp/bin/php/php5.2.5/PEAR/data/symfony/web/sf&#8221;&gt;<br />
Allow from All<br />
&lt;/Directory&gt;</em></p>
<p><em>&lt;/VirtualHost&gt;</em></p>
<p style="text-align: center;"></p>
<p>In lines <em>&#8216;Alias /sf c:/wamp/bin/php/php5.2.5/PEAR/data/symfony/web/sf&#8217;</em> and <em>&lt;Directory &#8220;c:/wamp/bin/php/php5.2.5/PEAR/data/symfony/web/sf&#8221;&gt; </em>replace my path with the path to your <em>symfony/web/sf</em> dir. And do the same with lines <em>DocumentRoot &#8220;c:/wamp/www/your_project/web&#8221; </em>and<em> </em><em>&lt;Directory &#8220;c:/wamp/www/your_project/web&#8221;&gt; </em>changing the path to one that points to the <em>web </em>dir in your project. You can also specify the name of the virtual server you want to setup by modifying <em>&#8216;your_server_name&#8221;</em> in the <em>&#8216;ServerName your_server_name&#8217; </em>line.</p>
<p>Make sure that in the <em>httpd.conf</em> file<em> </em>(main Apache config file located in a directory like <em>C:\wamp\bin\apache\apache2.2.6\conf) </em>the line &#8216;<em>Include conf/extra/httpd-vhosts.conf</em>&#8216; is uncommented (no &#8216;#&#8217; before it).</p>
<p>Now - after an apache restart - if you type in your browser http://localhost/ your Symfony welcoming page should have all the graphics displayed correctly.</p>
<p>But it still can be better ;). You can declare your own domain locally. If you add a line like &#8216;<em>127.0.0.1 your_name</em>&#8216; to the <em>host</em> file (located in <em>C:\WINDOWS\system32\drivers\etc\</em>)  entering an URL like http://your_name/ will take you to the homepage of your project :). Just make sure that you add your line after &#8216;<em>127.0.0.1 localhost</em>&#8216; (which should be in fact the first line). You may also need admin privileges to modify that file.</p>
<p style="text-align: center;"></p>
<p><strong>Method 2 - the stupid way</strong></p>
<p>If the above method is not working for you - just go ahead and copy the <em>symfony_data_path/web/sf/ </em>directory to <em>your_project_path/web/</em> (so in my case that would be copying <em>C:\wamp\bin\php\php5.2.5\PEAR\data\symfony\web\sf </em>to the <em>C:\wamp\www\your_project\web</em> directory). The drawback is that after updating Symfony you may have to recopy that folder again to all your projects and you may also experience some problems when <em>freezing</em> your projects (<em>symfony freeze</em> command - preparing a ready-to-deploy package out of your project).</p>
<p style="text-align: center;"></p>
<p><!--more--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.poetryofprogramming.com/symfony/setting-the-web-server-to-gain-access-to-symfony_datawebsf-directory/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Maximum execution time exceeded error workaround</title>
		<link>http://www.poetryofprogramming.com/php/php-maximum-execution-time-exceeded-error-workaround/</link>
		<comments>http://www.poetryofprogramming.com/php/php-maximum-execution-time-exceeded-error-workaround/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 13:01:03 +0000</pubDate>
		<dc:creator>Krzysztof Karolczak</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.poetryofprogramming.com/uncategorized/php-maximum-execution-time-exceeded-error-workaround/</guid>
		<description><![CDATA[The Maximum execution time of 30 seconds exceeded error can be annoying when executing &#8220;heavy&#8221; PHP scripts (involving lots of data processing) and it&#8217;s also a frequent follow-up of running Apache web servers on Windows machines  (for example when testing Symfony projects on your local PC). But no worries!  - there are couple [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">The <em>Maximum execution time of 30 seconds exceeded </em>error can be annoying when executing &#8220;heavy&#8221; PHP scripts (involving lots of data processing) and it&#8217;s also a frequent follow-up of running Apache web servers on Windows machines <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> (for example when testing Symfony projects on your local PC). But no worries! <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> - there are couple of easy ways to solve this problem. <span id="more-12"></span></p>
<p align="justify"><strong>Solution 1 - When we have access to PHP configurations files. </strong></p>
<p align="justify">If  we can edit the PHP config files the problem boils down to changing one variable in PHP.ini. Usually the right PHP.ini can be found in the main PHP dir (for example in my PHP WAMP intallation it&#8217;s located in <em>C:\wamp\bin\php\php5.2.5)</em>. And now we just need to open it and look for the line:</p>
<blockquote><p>max_execution_time = 30</p></blockquote>
<p align="justify">Changing the 30 seconds setting to something like 120 seconds should do the trick. And all we need to do now is to restart the web server. <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"></p>
<p><strong>Solution 2 - On a remote server.</strong></p>
<p align="justify">There is a nice PHP function called <span class="methodname"><em><strong><strong>set_time_limit ( </strong></strong>int $seconds<strong><strong> )</strong></strong></em>, every time it&#8217;s called it sets the timeout counter with the given value, which means that the script will now be able to run for <em>$seconds</em>. Execution of <em><strong>set_time_limit(0) </strong></em>removes the PHP timeout limit.</span></p>
<p align="justify">Unfortunately this will not work if PHP is running in <em>safe mode</em>. For further details consult the <a href="http://php.net/set_time_limit" target="_blank">PHP manual</a>.</p>
<p><strong>Other timeout possibilities <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </strong></p>
<p align="justify">It&#8217;s also worth mentioning that most of webservers have their own timeout counters - e.g. in Apache it&#8217;s set to 300 s by default. 6 minutes is usually plenty of time but it still can be changed if we desire so :). The timeout setting can be found in <em>httpd-default.conf </em>file which is located with the rest of Apache conf files (e.g. my path is <em>C:\wamp\bin\apache\apache2.2.6\conf\extra</em>).</p>
<p style="text-align: center;"></p>
<p><!--more--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.poetryofprogramming.com/php/php-maximum-execution-time-exceeded-error-workaround/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Symfoclipse - Symfony Development Tools for Eclipse</title>
		<link>http://www.poetryofprogramming.com/symfony/symfoclipse-symfony-development-tools-for-eclipse/</link>
		<comments>http://www.poetryofprogramming.com/symfony/symfoclipse-symfony-development-tools-for-eclipse/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:56:11 +0000</pubDate>
		<dc:creator>Krzysztof Karolczak</dc:creator>
		
		<category><![CDATA[Symfony]]></category>

		<category><![CDATA[eclipse]]></category>

		<category><![CDATA[PDT]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.poetryofprogramming.com/symfony/symfoclipse-symfony-development-tools-for-eclipse/</guid>
		<description><![CDATA[Symfoclipse is an optimal Symfony Framework development environment integrated with Eclipse. Easy to install and use is probably the best choice for anyone who has just started developing projects in Symfony.
The plug-in ads a Symfony view to Eclipse which extends the normal PHP Perspective in PDT (PDT stands for PHP Development  		Tools) an gives [...]]]></description>
			<content:encoded><![CDATA[<p align="justify"><a href="http://noy.cc/symfoclipse/" target="_blank"><strong>Symfoclipse</strong></a> is an optimal Symfony Framework development environment integrated with Eclipse. Easy to install and use is probably the best choice for anyone who has just started developing projects in Symfony.</p>
<p align="justify">The plug-in ads a Symfony view to Eclipse which extends the normal PHP Perspective in PDT (PDT stands for PHP Development  		Tools) an gives us a direct access to all framework-defined actions plus there&#8217;s a helpful YAML editor included for Symfony configuration files ( and last but not least a nice &#8216;<em>s&#8217;</em> icon appears next to Symfony projects <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).<span id="more-8"></span></p>
<p class="note" align="justify"><strong>What is <a title="Eclipse" href="http://www.eclipse.org/" target="_blank">Eclipse</a>? </strong>It&#8217;s a big open-source community project aimed to create a &#8220;<em>development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle</em>&#8220;. Especially Java developers will find it useful (or even as a must-have software), but it also offers an extensive IDE for C/C++, PHP&#8230; and much more.</p>
<p class="important" align="center"><strong>It seems that as for the moment Symfoclipse works properly only with Symfony 1.0.X.<br />
</strong>You can still use it with 1.1 or later but you won&#8217;t get much more than a YML editor.</p>
<p><strong>0. You&#8217;ll definitely need Symfony up and running <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </strong></p>
<p>( <strong><a href="http://www.poetryofprogramming.com/symfony/install-symfony-framework-xp-vista-wamp/" target="_blank">Symfony Framework installation guide</a></strong>. )</p>
<p align="justify"><strong>1a. All-In-One Pack = Eclipse + PDT - for those who don&#8217;t have Eclipse installed.</strong></p>
<p align="justify">As said before Symfoclipse needs Eclipse with a PDT plug-in configured. The easiest way to do that is to download a All-In-One bundle which works out of the box ( I strongly recommend getting a Release Build from the<strong> <a title="PDT Download Page" href="http://download.eclipse.org/tools/pdt/downloads/" target="_blank">PDT download</a></strong> | <a title="PDT Eclipse Home" href="http://www.eclipse.org/pdt/" target="_blank"><strong>PDT Home</strong></a> ). You&#8217;ll also need to have a Java SE 5.0+ installed on your PC (you probably have - but it maybe worth <strong><a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">upgrading</a> </strong>anyway). The install process is quite straight forward - just extract the zip file and your done.</p>
<p align="justify">Getting used to Eclipse layout and functionality may take a while, but there are many great manuals out there. And it&#8217;s worth it.</p>
<p><strong>1b. Installing PDT - if you already have Eclipse.</strong></p>
<p align="justify">If you have Eclipse you can install PDT by its update manager. Go to <em>Help <img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /> Software Updates <img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /> Find and Install</em>. Choose the &#8220;<em>Search For New 	Feature to Install</em>&#8220;, add a new site (&#8221;<em>New Remote Site&#8230;&#8221;</em>) with the following link 	&#8220;<em>http://download.eclipse.org/tools/pdt/updates/</em>&#8221; and press<em> Next </em>to 	start the update process.  In case of any problems refer to the <a href="http://wiki.eclipse.org/IRC_FAQ#How_do_I_install_a_project_with_multiple_dependencies.3F" target="_blank">Eclipse Wiki</a>.</p>
<p><strong>2. Downloading and installing Symfoclipse</strong></p>
<p align="justify">The installation process is the same as with most Eclipse plug-ins and it&#8217;s done via the update manager. Go to <em>Help <img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /> Software Updates <img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /> Find and Install</em>. Choose the &#8220;<em>Search For New 	Feature to Install</em>&#8220;, add a new site with the 	&#8220;<em>http://noy.cc/symfoclipse/</em>&#8221; link and press <em>Next </em>to 	start the updating. After the download has finished you&#8217;ll need to restart Eclipse and you&#8217;re done.</p>
<p align="center"></p>
<h4>Symfoclipse functionality</h4>
<p><strong>Symfony View</strong></p>
<p align="justify">It&#8217;s a modified <em>PHP Exlporer</em> view and it can be activated by selecting <em>Symfony View</em> in <em>Show View</em><em> </em>(<em>Window </em><em><img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /></em><em> Show View </em><em><img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /></em><em> Other</em>). It enables the CLI (Command Line Interface) commands to be accessible directly by right-clicking the Symfony directories in project listing.</p>
<p align="justify">So let&#8217;s start off with a first app. After creating a normal PHP project (<em>File <img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /> New </em><em><img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /> PHP Project</em>) we need to right-click it&#8217;s icon and select &#8220;<em>Init Project</em>&#8221; from the very bottom of the context menu. The result is the same as entering <em>symfony init-project</em> in the command line and you can notice all the messages appearing in the <em>Console</em>.</p>
<p align="justify">After the project initialization  you can right-click again ( notice the &#8216;<em>s</em>&#8216; icon is added <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) - you should see more Symfony Framework functions available.</p>
<p><strong>YAML Editor</strong></p>
<p align="justify">Symfoclipse adds also an YAML editor, which is very simple but has one functionality worth mentioning - a build-in auto validator that comes in handy when editing Symfony&#8217;s configuration files ( which tend do be easily buggable <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p>
<p align="justify">The editors automatically opens <em>.yml</em> and <em>.yaml</em> files from our projects. If you want to open a different file with it you&#8217;ll need to right-click it an choose <em>Open With </em><em><img src="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/arrow.gif" alt="" /></em><em> Symfoclipse YAML Editor</em></p>
<p align="center"></p>
<p><!--more--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.poetryofprogramming.com/symfony/symfoclipse-symfony-development-tools-for-eclipse/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Conversion table for px, pt, em and % in CSS</title>
		<link>http://www.poetryofprogramming.com/css/conversion-table-for-px-pt-em-and-in-css/</link>
		<comments>http://www.poetryofprogramming.com/css/conversion-table-for-px-pt-em-and-in-css/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 20:50:02 +0000</pubDate>
		<dc:creator>Krzysztof Karolczak</dc:creator>
		
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.poetryofprogramming.com/css/conversion-table-for-px-pt-em-and-in-css/</guid>
		<description><![CDATA[Are you wondering how to convert px to pt? When creating (or modifying) a style sheet have you ever tried to guess how many pixels corresponds to the size in points? I did :). That&#8217;s why I decided to put together a conversion table :). Enjoy.
Of course the table is here just to give you [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Are you wondering how to convert px to pt? When creating (or modifying) a style sheet have you ever tried to guess how many pixels corresponds to the size in points? I did :). That&#8217;s why I decided to put together a conversion table :). Enjoy.<span id="more-7"></span></p>
<p align="justify">Of course the table is here just to give you a rough idea which font size matches which. The actual display size depends on your browser, browser settings and font type used, but in most cases it should be just fine. Usually a quite good scaler for converting px to pt is a 0,75 multiplier (when comparing in a browser with font size set to standard).</p>
<p align="justify">The point of reference for relative values like ems and percent in this table is a standard font size - 16px (the 1em = 16px relation is set by default by most browsers when there&#8217;s no font-size declared beforehand).</p>
<p style="text-align: center;"></p>
<p><center></p>
<table class="MsoNormalTable" style="width: 65%; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0" width="65%">
<tbody>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #cf4200 none repeat scroll 0% 50%; width: 25%; text-align: left;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;"> </span></strong><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">Points</span></strong></td>
<td style="padding: 1.5pt 3.75pt; background: #cf4200 none repeat scroll 0% 50%; width: 25%; text-align: left;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">Pixels</span></strong></td>
<td style="padding: 1.5pt 3.75pt; background: #cf4200 none repeat scroll 0% 50%; width: 25%; text-align: left;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">Ems</span></strong><strong></strong></td>
<td style="padding: 1.5pt 3.75pt; background: #cf4200 none repeat scroll 0% 50%; width: 25%; text-align: left;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">Percent</span></strong></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">6pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">8px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.5em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">50%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">7pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">9px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.55em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">55%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">7.5pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">10px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.625em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">62.5%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">8pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">11px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.7em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">70%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">9pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">12px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.75em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">75%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">10pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">13px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.8em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">80%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">10.5pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">14px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.875em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">87.5%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">11pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">15px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">0.95em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">95%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #548dd4 none repeat scroll 0% 50%; width: 25%;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">12pt</span></strong></td>
<td style="padding: 1.5pt 3.75pt; background: #548dd4 none repeat scroll 0% 50%; width: 25%;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">16px</span></strong></td>
<td style="padding: 1.5pt 3.75pt; background: #548dd4 none repeat scroll 0% 50%; width: 25%;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">1em</span></strong></td>
<td style="padding: 1.5pt 3.75pt; background: #548dd4 none repeat scroll 0% 50%; width: 25%;" width="25%"><strong><span style="font-size: 8.5pt; font-family: Verdana; color: white;">100%</span></strong></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">13pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">17px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.05em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">105%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">13.5pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">18px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.125em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">112.5%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">14pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">19px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.2em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">120%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">14.5pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">20px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.25em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">125%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">15pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">21px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.3em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">130%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">16pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">22px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.4em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">140%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">17pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">23px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.45em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">145%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">18pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">24px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.5em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">150%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">20pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">26px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.6em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">160%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">22pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">29px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">1.8em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">180%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">24pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">32px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">200%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">26pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">35px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2.2em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">220%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">27pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">36px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2.25em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">225%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">28pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">37px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2.3em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">230%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">29pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">38px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2.35em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">235%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">30pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">40px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2.45em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">245%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">32pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">42px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2.55em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">255%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">34pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">45px</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">2.75em</span></td>
<td style="padding: 1.5pt 3.75pt; background: white none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">275%</span></td>
</tr>
<tr>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">36pt</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">48px</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">3em</span></td>
<td style="padding: 1.5pt 3.75pt; background: #eeeeee none repeat scroll 0% 50%; width: 25%; text-align: left;" width="25%"><span style="font-size: 8.5pt; font-family: Verdana; color: black;">300%</span></td>
</tr>
</tbody>
</table>
<p></center></p>
<p style="text-align: center;">
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poetryofprogramming.com/css/conversion-table-for-px-pt-em-and-in-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install Symfony - Windows XP / Vista + WAMP</title>
		<link>http://www.poetryofprogramming.com/symfony/install-symfony-framework-xp-vista-wamp/</link>
		<comments>http://www.poetryofprogramming.com/symfony/install-symfony-framework-xp-vista-wamp/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 19:02:11 +0000</pubDate>
		<dc:creator>Krzysztof Karolczak</dc:creator>
		
		<category><![CDATA[Installation]]></category>

		<category><![CDATA[Symfony]]></category>

		<category><![CDATA[framework]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://www.poetryofprogramming.com/uncategorized/instalacja-symfonii-windows-xp-wamp/</guid>
		<description><![CDATA[How to quickly and easily install Symfony Framework on Windows? A 15 minute guide that will let you start the fun right away!
I&#8217;m assuming that you&#8217;re working on Windows XP or Vista and starting from scratch - that means without any WWW server configured on the machine.
What will we need?

 WAMP (version 2.0 at the [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">How to quickly and easily install Symfony Framework on Windows? A 15 minute guide that will let you start the fun right away!</p>
<p align="justify">I&#8217;m assuming that you&#8217;re working on Windows XP or Vista and starting from scratch - that means without any WWW server configured on the machine.<span id="more-5"></span></p>
<p align="justify"><strong>What will we need?</strong></p>
<ul>
<li> <a title="WAMP" href="http://www.wampserver.com/">WAMP</a> (version 2.0 at the moment of writing)</li>
<li>and&#8230; that&#8217;s all! <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p align="justify">Using WAMP we&#8217;ll install PEAR and Symfony right afterwards, but starting from the beginning:</p>
<p align="justify"><strong>Part 1 - Installing WAMP</strong></p>
<p align="justify"><a href="http://www.wampserver.com/">WAMP</a> is a self-installing, all-in-the-box package with Apach, MySQL and PHP 5 - and that&#8217;s exactly what we need (there is also PHPMyAdmin and SQLitemanager included which is nice and may come in handy). Of course it&#8217;s not the only pack like that available on the internet,  very similar to WAMP is for example <a title="XAMPP" href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> - the choice is up to you. You could also install all the components manually&#8230; but what&#8217;s the point? <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="justify">WAMP will auto-extract it&#8217;s files (let&#8217;s say under C:\wamp) and start off without any problems. <em>Voila!</em> - a running server with default configuration! That was fast, wasn&#8217;t it</p>
<p align="justify">You can configure WAMP&#8217;s elements by clicking its tray icon. (You can also translate WAMP to a variety of languages - right click on the icon and see for yourself :))</p>
<p class="note" align="justify">If your WAMP fails to start and you get a warning that port 80 is being used (and you don&#8217;t have another HTTP server running on the machine) - it can be Skype. Make sure that in Skype&#8217;s options (Advanced &gt;&gt; Connection) the checkbox about using port 80 as alternative port for incoming connections is not ticked.</p>
<p align="justify">Symfony needs PHP-XSL and Apache URL Rewrite Module to function normally (which are off by default). Let&#8217;s start by activating the Rewrite module - left click on WAMP&#8217;s tray icon and than in <em>Apache &gt;&gt; Apache Modules </em>menu select <em>rewrite_module</em> (server will automatically reboot). Now it&#8217;s time for XSL, as in the step before: - in <em>PHP &gt;&gt;</em> <em> PHP Extension</em> menu look for <em>php_xsl</em> and click it. But there is one more <em>php.ini</em> file, which WAMP won&#8217;t change (no clue why) - we need to do it by hand, let&#8217;s open: <em>C:\wamp\bin\php\php5.2.5\php.ini</em> and remove &#8220;;&#8221; from the line:</p>
<blockquote>
<p align="justify">;extension=php_xsl.dll</p>
</blockquote>
<p align="justify">Now we should add environment variables to have access to PHP i MySQL under the command line. Right-click on <em>My Computer</em>, than <em>Properties</em>. Switch to <em>Advanced </em>tab and click the <em>Environment Variables</em> button. At the end of variable <strong>PATH</strong> let&#8217;s add <em><strong>;C:\wamp\bin\php\php5.2.5;C:\wamp\bin\mysql\mysql5.0.45\bin</strong></em> (paths to MySQL and PHP files separated by a semicolon).</p>
<p align="justify"><strong>Part 2 - PEAR Install</strong></p>
<p align="justify"><a title="PEAR" href="http://pear.php.net"><strong>PEAR</strong></a> (<em><strong>P</strong>HP <strong>E</strong>xtension and <strong>A</strong>pplication <strong>R</strong>epository</em>) is a PHP extension distribution system. Installation files are bundled with PHP by default, so this won&#8217;t take us long.</p>
<p align="justify">In the WAMP&#8217;s PHP directory (ie. C:\wamp\bin\php\php5.2.5\) run the <strong>go-pear.bat</strong> file. Follow the installation steps and answer the questions, the default config should be fine, so you can answer:</p>
<ul>
<li>[Enter] (default value) - if we want PEAR installed systemwide.</li>
<li>[Enter] - if we don&#8217;t want to change de directory structure.</li>
<li>Y - we allow PEAR to modify our <strong>php.ini</strong>.</li>
<li>And [Enter] twice to finish.</li>
</ul>
<p>Inside the PHP directory the installer created a <strong>PEAR_ENV.reg</strong> file, which after double-clicking will add all the PEAR variables to the registry - no need to do it by hand.</p>
<p style="text-align: center;"></p>
<p><strong>Part 3 - Finally the Symfony </strong></p>
<p>Open the command line and write:</p>
<blockquote><p>&gt; pear channel-discover pear.symfony-project.com</p></blockquote>
<p>If everything goes wel, you&#8217;ll see:</p>
<p><em>Adding Channel &#8220;pear.symfony-project.com&#8221; succeeded<br />
Discovery of channel &#8220;pear.symfony-project.com&#8221; succeeded</em></p>
<p>So the time has come, write the magic line:</p>
<blockquote><p>&gt; pear install symfony/symfony</p></blockquote>
<p>The download of the package shouldn&#8217;t take long (~2 MB), and PEAR automates the whole process.</p>
<p><strong>Part 4 - Your first Symfony project</strong></p>
<p>Considering everything went smooth you can now write in the command line:</p>
<blockquote><p>&gt; cd C:\wamp\www<br />
&gt; mkdir myproject<br />
&gt; cd myproject<br />
&gt; symfony init-project myproject<br />
&gt; symfony init-app testapp</p></blockquote>
<p><strong>Congratulations!</strong> The effects of your work can be seen at <em>http://127.0.0.1/</em>myproject/<em>web/</em></p>
<p><strong>And that&#8217;s that. I wish you many successful projects in Symfony <img src='http://www.poetryofprogramming.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p align="center"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.poetryofprogramming.com/symfony/install-symfony-framework-xp-vista-wamp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
