<?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>P0L0&#039;s Blog &#187; php</title>
	<atom:link href="http://p0l0.binware.org/index.php/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://p0l0.binware.org</link>
	<description>Opensource Projects and IT experiences</description>
	<lastBuildDate>Tue, 25 May 2010 06:24:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Netbeans Performance Switches</title>
		<link>http://p0l0.binware.org/index.php/2010/04/17/netbeans-performance-switches/</link>
		<comments>http://p0l0.binware.org/index.php/2010/04/17/netbeans-performance-switches/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 07:30:23 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/?p=655</guid>
		<description><![CDATA[I recently have began to use Netbeans because I'm sad that Eclipse is every time slower and it frozes every time when you are doing something to fast.
Netbeans is not perfect, and there are some features that need to be polished (Ex.: SVN Support, Time Tracking like Mylyn), but the PHP/HTML/CSS/JS Support is excellent, in [...]]]></description>
			<content:encoded><![CDATA[<p>I recently have began to use <a href="http://netbeans.org/features/php/index.html" target="_blank">Netbeans</a> because I'm sad that <a href="http://www.eclipse.org/pdt" target="_blank">Eclipse</a> is every time slower and it frozes every time when you are doing something to fast.</p>
<p>Netbeans is not perfect, and there are some features that need to be polished (Ex.: SVN Support, Time Tracking like Mylyn), but the PHP/HTML/CSS/JS Support is excellent, in my opinion better than the Eclipse PDF support.</p>
<p>These is my netbeans_default_options for Netbeans for MacOSX (under Windows you can leave out the --laf switch, it's for changing the look and feel):</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">netbeans_default_options</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;-J-client -J-Xss2m -J-Xms32m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-XX:CompileThreshold=100 -XX:+CompressedOOPS -XX:+AggressiveOpts -XX:+TieredCompilation -XX:+DoEscapeAnalysis -XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true --laf javax.swing.plaf.metal.MetalLookAndFeel&quot;</span></pre></div></div>

<p>Some switches come from <a href="http://performance.netbeans.org/howto/jvmswitches/index.html" target="_blank">Netbeans Performance</a> site.</p>
<ul>
<li><strong>-J-Xss2m</strong> - Define Stack Size (Too small and you will get StackOverflow Exceptions)</li>
<li><strong>-J-Xms32m</strong> - This setting tells the Java virtual machine to set its initial heap size to 32 megabytes. By telling the JVM how much memory it should initially allocate for the heap, we save it growing the heap as NetBeans consumes more memory. This switch improves startup time</li>
<li><strong>-J-Xmx512m</strong> - This settings tells the Java virtual machine the maximum amount of memory it should use for the heap. Placing a hard upper limit on this number means that the Java process cannot consume more memory than physical RAM available. This limit can be raised on systems with more memory. Current default value is 128MB. Note: Do not set this value to near or greater than the amount of physical RAM in your system or it will cause severe swapping during runtime</li>
<li><strong>-J-XX:PermSize=32m -J-XX:MaxPermSize=200m</strong> - How much Heap can be added over the Xmx limit</li>
<li><strong>-J-Xverify:none</strong> - This switch turns off Java bytecode verification, making classloading faster, and eliminating the need for classes to be loaded during startup solely for the purposes of verification. This switch improves startup time, and there is no reason not to use it</li>
<li><strong>-J-XX:CompileThreshold=100</strong> - This switch will make startup time slower, by HotSpot to compile many more methods down to native code sooner than it otherwise would. The reported result is snappier performance once the IDE is running, since more of the UI code will be compiled rather than interpreted. This value represents the number of times a method must be called before it will be compiled</li>
<li><strong>-XX:+CompressedOOPS</strong> - Activate Compressed "Ordinary Object Pointer"</li>
<li><strong>-XX:+AggressiveOpts</strong> - Turns on point performance optimizations that are expected to be on by default in upcoming releases</li>
<li><strong>-XX:+TieredCompilation</strong> - Activate Tiered Compiler</li>
<li><strong>-XX:+DoEscapeAnalysis</strong> - Activate Escape Analysis</li>
<li><strong>-J-XX:+UseConcMarkSweepGC or -J-XX:+UseParNewGC</strong> Try these switches if you are having problems with intrusive garbage collection pauses. This switch causes the JVM to use different algorithms for major garbage collection events (also for minor collections, if run on a multiprocessor workstation), ones which do not "stop the world" for the entire garbage collection process. You should also add the line <strong>-J-XX:+CMSClassUnloadingEnabled</strong> and <strong>-J-XX:+CMSPermGenSweepingEnabled</strong> to your netbeans.conf file so that class unloading is enabled (it isn't by default when using this collector)</li>
</ul>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F&amp;title=Netbeans%20Performance%20Switches&amp;bodytext=I%20recently%20have%20began%20to%20use%20Netbeans%20because%20I%27m%20sad%20that%20Eclipse%20is%20every%20time%20slower%20and%20it%20frozes%20every%20time%20when%20you%20are%20doing%20something%20to%20fast.%0D%0A%0D%0ANetbeans%20is%20not%20perfect%2C%20and%20there%20are%20some%20features%20that%20need%20to%20be%20polished%20%28Ex.%3A%20SVN%20Support%2C" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F&amp;title=Netbeans%20Performance%20Switches&amp;notes=I%20recently%20have%20began%20to%20use%20Netbeans%20because%20I%27m%20sad%20that%20Eclipse%20is%20every%20time%20slower%20and%20it%20frozes%20every%20time%20when%20you%20are%20doing%20something%20to%20fast.%0D%0A%0D%0ANetbeans%20is%20not%20perfect%2C%20and%20there%20are%20some%20features%20that%20need%20to%20be%20polished%20%28Ex.%3A%20SVN%20Support%2C" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F&amp;t=Netbeans%20Performance%20Switches" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F&amp;title=Netbeans%20Performance%20Switches&amp;annotation=I%20recently%20have%20began%20to%20use%20Netbeans%20because%20I%27m%20sad%20that%20Eclipse%20is%20every%20time%20slower%20and%20it%20frozes%20every%20time%20when%20you%20are%20doing%20something%20to%20fast.%0D%0A%0D%0ANetbeans%20is%20not%20perfect%2C%20and%20there%20are%20some%20features%20that%20need%20to%20be%20polished%20%28Ex.%3A%20SVN%20Support%2C" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Netbeans%20Performance%20Switches&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F&amp;title=Netbeans%20Performance%20Switches&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=I%20recently%20have%20began%20to%20use%20Netbeans%20because%20I%27m%20sad%20that%20Eclipse%20is%20every%20time%20slower%20and%20it%20frozes%20every%20time%20when%20you%20are%20doing%20something%20to%20fast.%0D%0A%0D%0ANetbeans%20is%20not%20perfect%2C%20and%20there%20are%20some%20features%20that%20need%20to%20be%20polished%20%28Ex.%3A%20SVN%20Support%2C" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Netbeans%20Performance%20Switches%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2010%2F04%2F17%2Fnetbeans-performance-switches%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2010/04/17/netbeans-performance-switches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Configuration for Web Development</title>
		<link>http://p0l0.binware.org/index.php/2009/07/28/eclipse-configuration-for-web-development/</link>
		<comments>http://p0l0.binware.org/index.php/2009/07/28/eclipse-configuration-for-web-development/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 19:11:17 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[epic]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pydev]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[subversive]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[svnkit]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/?p=326</guid>
		<description><![CDATA[After trying very different IDE and many Eclipse IDE flawors, this is the best configuration I have found, and all the components are free.
First of all we need to download Eclipse Classic from the Eclipse website.
One of the first things we need to do is to change eclipse.ini, we will make it start faster and [...]]]></description>
			<content:encoded><![CDATA[<p>After trying very different IDE and many Eclipse IDE flawors, this is the best configuration I have found, and all the components are free.</p>
<p>First of all we need to download <a href="http://www.eclipse.org/downloads/" target="_blank">Eclipse Classic</a> from the Eclipse website.</p>
<p>One of the first things we need to do is to change eclipse.ini, we will make it start faster and increase the memory limit</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">--launcher.XXMaxPermSize
256m
-vm
/usr/bin/java
-vmargs
-Xms40m
-Xmx1024m</pre></td></tr></table></div>

<p>The path to Java VM depends on your installation and system, in windows you must search for "javaw.exe". Setting the path to Java VM makes that Eclipse stops searching for the Java VM every start, which makes the start faster.</p>
<p>Now we can start installing the required Plugins. In "Help->Install New Software..." we will add the following Update Sites.</p>
<ul>
<li>Aptana - http://update15.aptana.org/studio/25914/
<p style="text-align: center"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-install.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-install-300x94.png" alt="Aptana Install" title="Aptana Install" width="300" height="94" class="alignnone size-medium wp-image-339" /></a></p>
</li>
<li>Mylyn - http://download.eclipse.org/tools/mylyn/update/e3.4
<p style="text-align: center"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-mylyn-install.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-mylyn-install-300x161.png" alt="Mylyn Install" title="Mylyn Install" width="300" height="161" class="alignnone size-medium wp-image-366" /></a></p>
</li>
<li>Mylyn Extras - http://download.eclipse.org/tools/mylyn/update/extras
<p style="text-align: center"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-mylyn_extras-install1.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-mylyn_extras-install1-300x95.png" alt="Mylyn Extra Install" title="Mylyn Extra Install" width="300" height="95" class="alignnone size-medium wp-image-368" /></a></p>
</li>
<li>SVNKit - http://community.polarion.com/projects/subversive/download/eclipse/2.0/galileo-site/
<p style="text-align:center"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-svnkit-install.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-svnkit-install-300x131.png" alt="SVNKit Install" title="SVNKit Install" width="300" height="131" class="alignnone size-medium wp-image-370" /></a></p>
</li>
<li>EPIC (Perl) - http://e-p-i-c.sourceforge.net/updates/testing <em>optional, only if you need Perl</em>
<p style="text-align:center;"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-epic-install.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-epic-install-300x78.png" alt="EPIC Install" title="EPIC Install" width="300" height="78" class="alignnone size-medium wp-image-372" /></a></p>
</li>
</ul>
<p>You have noticed that at each start a Window Asking for Installing Addiontal Features. Now that we can start installing this features. For me the most important are:</p>
<ul>
<li>Aptana PHP
<p style="text-align: center;"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-php-install.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-php-install-300x153.png" alt="Aptana PHP Install" title="Aptana PHP Install" width="300" height="153" class="alignnone size-medium wp-image-373" /></a></p>
</li>
<li>Aptana PyDev <em>optional, only if you need Python</em>
<p style="text-align: center;"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-pydev-install.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-pydev-install-300x192.png" alt="Aptana PyDev Install" title="Aptana PyDev Install" width="300" height="192" class="alignnone size-medium wp-image-374" /></a></p>
</li>
<li>Ajax Libraries <em>You can select all or just the one you need</em>
<p style="text-align: center;"><a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-ajax-libraries-install.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-aptana-ajax-libraries-install-300x296.png" alt="Aptana Ajax Libraries Install" title="Aptana Ajax Libraries Install" width="300" height="296" class="alignnone size-medium wp-image-375" /></a></p>
</li>
</ul>
<p>After installing all needed plugins we can start with the configuration.</p>
<ol>
<li>General\Workspace
<ul>
<li>Text file encoding -> UTF-8</li>
<li>New text file line delimiter -> Unix</li>
</ul>
</li>
<li>General\Editors\Text Editors
<ul>
<li>Displayed tab width -> 4</li>
<li>Insert spaces for tabs -> True</li>
<li>Show line number -> True</li>
<li>Show print margin -> True</li>
<li>Print margin column -> 80</li>
</ul>
</li>
<li>General\Keys
<ul>
<li>Show Whitespace Characters (Text Editing) -> Binding: Ctrl+Alt+Space -> When: Editing Text</li>
</ul>
</li>
<li>
Aptana\Editors</p>
<ul>
<li>Formattings -> Insert selected proposal with 'Tab' key as well as 'Enter' key -> True</li>
<li>Tab Insertion -> Use spaces (current width is 4)</li>
</ul>
</li>
<li>Aptana\Editors\PHP
<ul>
<li>Create project file in new PHP project -> False</li>
</ul>
</li>
<li>Aptana\Editors\PHP\Formatting
<ul>
<li>Edit... -></p>
<ul>
<li>Profile Name -> ZendStandards</li>
<li>Control Statemets ->
<ul>
<li>Insert new line before 'else' in an 'if' statement -> False</li>
<li>Insert new line before 'catch' in an 'try' statement -> False</li>
<li>Insert new line before 'while' in an 'do' statement -> False</li>
<li>'if else' - Keep 'then' statement on same line -> False</li>
</ul>
</li>
<li>Braces ->
<ul>
<li>Method declaration -> Next line</li>
<li>Blocks -> Same line</li>
<li>Blocks in case statement -> Same line</li>
<li>'switch' statement -> Same line</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Install/Update\Automatic Updates
<ul>
<li>Automatically find new updates and notify me -> True</li>
</ul>
</li>
<li>Team\SVN - SVN Client
<ul>
<li>SVN Client -> SVN Kit</li>
<li>SVN Client -> Use SVN Merge View -> True</li>
</ul>
</li>
<li>Team\SVN\Automatic Properties
<ul>
<li>Add: * -> svn:keywords=Id</li>
</ul>
</li>
</ol>
<p>I use the Aptana Perspective with this views:</p>
<ul>
<li>Right Top
<ul>
<li>Aptana Standard Views\Project</li>
</ul>
</li>
<li>Right Bottom
<ul>
<li>General\Outline</li>
<li>Aptana Standard Views\PHP Elements Views</li>
<li>Aptana Standard Views\References</li>
</ul>
</li>
<li>Bottom
<ul>
<li>General\Tasks</li>
<li>Aptana Standard Views\Validation</li>
<li>General\Console</li>
<li>Team\History</li>
<li>Team\SVN Properties</li>
<li>EPIC\RegExp <em>only if you installed EPIC</em></li>
</ul>
</li>
<li>Left
<ul>
<li>Tasks\Task List</li>
</ul>
</li>
</ul>
<p>I like that the Oultine is automatically expanded, so that I have an overview of the file at every moment, but Aptana does not autoexpand the Outline. I use the following workaround:</p>
<ul>
<li>Create a new <em>General Project</em> called "_Monkey"</li>
<li>Create a folder called <em>scripts</em></li>
<li>Create a javascript file called <em>autoExpandOutline.js</em> with the following content

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/* 
 * 
 * Menu: EHU &amp;gt; HandlerService (Auto expand outline)
 * Kudos: Ingo Muschenetz &amp;amp; Kevin Lindsey &amp;amp; Steve Daniels
 * License: EPL 1.0
 * Listener: getPartService().addPartListener(this);
 * DOM: http://localhost/com.aptana.ide.scripting
 * DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript
 * 
 * 
*/</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> getPartService<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> workbench <span style="color: #339933;">=</span> Packages.<span style="color: #660066;">org</span>.<span style="color: #660066;">eclipse</span>.<span style="color: #660066;">ui</span>.<span style="color: #660066;">PlatformUI</span>.<span style="color: #660066;">getWorkbench</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> result <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>workbench<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> window <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
&nbsp;
        runOnUIThread<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            window <span style="color: #339933;">=</span> workbench.<span style="color: #660066;">getActiveWorkbenchWindow</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
            <span style="color: #009900;">&#123;</span>
                result <span style="color: #339933;">=</span> window.<span style="color: #660066;">getPartService</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #006600; font-style: italic;">//out.println(&quot;result set to &quot; + result);</span>
            <span style="color: #009900;">&#125;</span>
            <span style="color: #000066; font-weight: bold;">else</span>
            <span style="color: #009900;">&#123;</span>
                <span style="color: #006600; font-style: italic;">//out.println(&quot;window is not defined&quot;);</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066; font-weight: bold;">else</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #006600; font-style: italic;">//out.println(&quot;workbench is not defined&quot;);</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">//out.println(&quot;getPartService() is returning &quot; + result);</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">return</span> result<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> partBroughtToTop<span style="color: #009900;">&#40;</span>part<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">//out.println(&quot;part*()\n&quot;);</span>
<span style="color: #009900;">&#125;</span>  
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> partClosed<span style="color: #009900;">&#40;</span>part<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">//out.println(&quot;part*()\n&quot;);</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> partDeactivated<span style="color: #009900;">&#40;</span>part<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">//out.println(&quot;part*()\n&quot;);</span>
<span style="color: #009900;">&#125;</span>  
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> partOpened<span style="color: #009900;">&#40;</span>part<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">//out.println(&quot;part*()\n&quot;);</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> partActivated<span style="color: #009900;">&#40;</span>part<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>part.<span style="color: #660066;">getEditorInput</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    expandOutline<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> partVisible<span style="color: #009900;">&#40;</span>part<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">//out.println(&quot;part*()\n&quot;);</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> partHidden<span style="color: #009900;">&#40;</span>part<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">//out.println(&quot;part*()\n&quot;);</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> expandOutline<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">//out.println(&quot;expandOutline()\n&quot;);</span>
  <span style="color: #000066; font-weight: bold;">try</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">//out.println(&quot;try\n&quot;);</span>
    <span style="color: #003366; font-weight: bold;">var</span> editor <span style="color: #339933;">=</span> editors.<span style="color: #660066;">activeEditor</span>.<span style="color: #660066;">textEditor</span><span style="color: #339933;">;</span>
&nbsp;
    editor.<span style="color: #660066;">getOutlinePage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getTreeViewer</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">expandAll</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">//out.println(&quot;catch\n&quot;);</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

</li>
</ul>
<p>Each new project that you create must use this project as reference, and now every time you open a file the Outline will be expanded automatically when you enter into the Editor</p>
<p style="text-align:center;">
<a href="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-layout.png" rel="lightbox[326]"><img src="http://p0l0.binware.org/wp-content/uploads/2009/07/eclipse-layout-300x230.png" alt="Eclipse Layout" title="Eclipse Layout" width="300" height="230" class="alignnone size-medium wp-image-378" /></a></p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F&amp;title=Eclipse%20Configuration%20for%20Web%20Development&amp;bodytext=After%20trying%20very%20different%20IDE%20and%20many%20Eclipse%20IDE%20flawors%2C%20this%20is%20the%20best%20configuration%20I%20have%20found%2C%20and%20all%20the%20components%20are%20free.%0D%0A%0D%0AFirst%20of%20all%20we%20need%20to%20download%20Eclipse%20Classic%20from%20the%20Eclipse%20website.%0D%0A%0D%0AOne%20of%20the%20first%20things%20we%20ne" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F&amp;title=Eclipse%20Configuration%20for%20Web%20Development&amp;notes=After%20trying%20very%20different%20IDE%20and%20many%20Eclipse%20IDE%20flawors%2C%20this%20is%20the%20best%20configuration%20I%20have%20found%2C%20and%20all%20the%20components%20are%20free.%0D%0A%0D%0AFirst%20of%20all%20we%20need%20to%20download%20Eclipse%20Classic%20from%20the%20Eclipse%20website.%0D%0A%0D%0AOne%20of%20the%20first%20things%20we%20ne" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F&amp;t=Eclipse%20Configuration%20for%20Web%20Development" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F&amp;title=Eclipse%20Configuration%20for%20Web%20Development&amp;annotation=After%20trying%20very%20different%20IDE%20and%20many%20Eclipse%20IDE%20flawors%2C%20this%20is%20the%20best%20configuration%20I%20have%20found%2C%20and%20all%20the%20components%20are%20free.%0D%0A%0D%0AFirst%20of%20all%20we%20need%20to%20download%20Eclipse%20Classic%20from%20the%20Eclipse%20website.%0D%0A%0D%0AOne%20of%20the%20first%20things%20we%20ne" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Eclipse%20Configuration%20for%20Web%20Development&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F&amp;title=Eclipse%20Configuration%20for%20Web%20Development&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=After%20trying%20very%20different%20IDE%20and%20many%20Eclipse%20IDE%20flawors%2C%20this%20is%20the%20best%20configuration%20I%20have%20found%2C%20and%20all%20the%20components%20are%20free.%0D%0A%0D%0AFirst%20of%20all%20we%20need%20to%20download%20Eclipse%20Classic%20from%20the%20Eclipse%20website.%0D%0A%0D%0AOne%20of%20the%20first%20things%20we%20ne" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Eclipse%20Configuration%20for%20Web%20Development%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2009%2F07%2F28%2Feclipse-configuration-for-web-development%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2009/07/28/eclipse-configuration-for-web-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recompilar MAMP</title>
		<link>http://p0l0.binware.org/index.php/2008/08/11/recompilar-mamp/</link>
		<comments>http://p0l0.binware.org/index.php/2008/08/11/recompilar-mamp/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 11:50:41 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/?p=275</guid>
		<description><![CDATA[El soporte de LDAP en MAMP 1.7.1 esta roto asi que tube que recompilar el PHP, lo cual me obligo a recompilar todas sus dependencias, pero como no encontre ninguna guia de como realizarlo correctamente, aqui esta como lo hice yo.
Lo primero es descargarse el codigo fuente proporcionado por la gente de MAMP, y su [...]]]></description>
			<content:encoded><![CDATA[<p>El soporte de LDAP en MAMP 1.7.1 esta roto asi que tube que recompilar el PHP, lo cual me obligo a recompilar todas sus dependencias, pero como no encontre ninguna guia de como realizarlo correctamente, aqui esta como lo hice yo.</p>
<p>Lo primero es descargarse el codigo fuente proporcionado por la gente de MAMP, y su version compilada.</p>
<p>Codigo fuente: <a href="http://download.living-e.com/MAMP/releases/1.7.1/MAMP_1.7.1_src.zip">MAMP 1.7.1 (src)</a></p>
<p>Version Intel: <a href="http://download.living-e.com/MAMP/releases/1.7.1/MAMP_1.7.1_intel_full.dmg">MAMP 1.7.1 (intel)</a></p>
<p>Version PPC: <a href="http://download.living-e.com/MAMP/releases/1.7.1/MAMP_1.7.1_ppc_full.dmg">MAMP 1.7.1 (ppc)</a></p>
<p>Una vez que tengamos esto, hay que instalar MAMP la version compilada en /Applications y asi ya tenemos toda la estructura correcta lista para solo recompilar lo necesario.</p>
<p>Ahora descomprimimos el codigo fuente y vamos compilando las diferentes librerias:</p>
<p><strong>CURL</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf curl-7.16.2.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> curl-7.16.2
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Freetype</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf freetype-2.3.4.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> freetype-2.3.4
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--configure</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Gettext</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf gettext-0.16.1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> gettext-0.16.1
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>IMAP (Parche para osx: <a href="http://p0l0.binware.org/wp-content/uploads/2008/08/imap-2006i-osx.patch">imap-2006i-osx.patch</a>)</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf imap-2006i.tar.Z
<span style="color: #7a0874; font-weight: bold;">cd</span> imap-2006i
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p1</span> <span style="color: #000000; font-weight: bold;">&amp;</span>lt; imap-2006i-osx.patch
<span style="color: #c20cb9; font-weight: bold;">make</span> oxp
<span style="color: #c20cb9; font-weight: bold;">cp</span> c-client<span style="color: #000000; font-weight: bold;">/*</span>.h <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> c-client<span style="color: #000000; font-weight: bold;">/*</span>.c <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> c-client<span style="color: #000000; font-weight: bold;">/</span>c-client.a <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libc-client.a</pre></div></div>

<p><strong>JPEG</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf jpegsrc.v6b.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> jpeg-6b
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">which</span> glibtool<span style="color: #000000; font-weight: bold;">`</span> .<span style="color: #000000; font-weight: bold;">/</span>libtool
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libiconv</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libiconv-1.11.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libiconv-<span style="color: #000000;">1.11</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>LibIdn</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz libidn-0.6.14.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libidn-0.6.14
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libmcrypt</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libmcrypt-2.5.8.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libmcrypt-2.5.8
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libpng</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libpng-1.2.18.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libpng-1.2.18
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libxml</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libxml2-2.6.29.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libxml2-2.6.29
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libxst</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libxslt-1.1.21.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libxslt-1.1.21
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-libxml-prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>t1lib</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf t1lib-5.1.1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> t1lib-5.1.1
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> without_doc
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libexpat</strong></p>
<p>Esta libreria es necesaria y no esta incluida, asi que hay que bajarla de<a title="libexpat" href="http://sourceforge.net/projects/expat/"> http://sourceforge.net/projects/expat/</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf expat-2.0.1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> expat-2.0.1
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>MySQL</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz mysql-5.0.41.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> mysql-5.0.41
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-unix-socket-path</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>mysql.sock <span style="color: #660033;">--with-tcp-port</span>=<span style="color: #000000;">9999</span> <span style="color: #660033;">--localstatedir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>db<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Apache2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf httpd-2.0.59.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> httpd-2.0.59
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--sysconfdir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>apache <span style="color: #660033;">--enable-nonportable-atomics</span> <span style="color: #660033;">--enable-so</span> <span style="color: #660033;">--enable-cgid</span> <span style="color: #660033;">--enable-auth-anon</span> <span style="color: #660033;">--enable-auth-dbm</span> <span style="color: #660033;">--enable-auth-digest</span> <span style="color: #660033;">--enable-file-cache</span> <span style="color: #660033;">--enable-echo</span> <span style="color: #660033;">--enable-charset-lite</span> <span style="color: #660033;">--enable-cache</span> <span style="color: #660033;">--enable-disk-cache</span> <span style="color: #660033;">--enable-mem-cache</span> <span style="color: #660033;">--enable-example</span> <span style="color: #660033;">--enable-ext-filter</span> <span style="color: #660033;">--enable-case-filter</span> <span style="color: #660033;">--enable-case-filter-in</span> <span style="color: #660033;">--enable-deflate</span> <span style="color: #660033;">--enable-mime-magic</span> <span style="color: #660033;">--enable-cern-meta</span> <span style="color: #660033;">--enable-expires</span> <span style="color: #660033;">--enable-headers</span> <span style="color: #660033;">--enable-usertrack</span> <span style="color: #660033;">--enable-unique-id</span> <span style="color: #660033;">--enable-proxy</span> <span style="color: #660033;">--enable-proxy-connect</span> <span style="color: #660033;">--enable-proxy-ftp</span> <span style="color: #660033;">--enable-proxy-http</span> <span style="color: #660033;">--enable-bucketeer</span> <span style="color: #660033;">--enable-http</span> <span style="color: #660033;">--enable-info</span> <span style="color: #660033;">--enable-cgid</span> <span style="color: #660033;">--enable-vhost-alias</span> <span style="color: #660033;">--enable-speling</span> <span style="color: #660033;">--enable-rewrite</span> <span style="color: #660033;">--enable-so</span> <span style="color: #660033;">--with-ssl</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-dav</span> <span style="color: #660033;">--enable-dav-fs</span> <span style="color: #660033;">--enable-ssl</span>=shared <span style="color: #660033;">--enable-mods-shared</span>=most <span style="color: #660033;">--with-mpm</span>=prefork <span style="color: #660033;">--without-berkeley-db</span>
<span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p>Si al compilar nos aparece este error:</p>
<blockquote><p>endrecv.c:965:2: error: #error APR has detected sendfile on your system, but nobody has written a<br />
sendrecv.c:966:2: error: #error version of it for APR yet. To get past this, either write apr_sendfile<br />
sendrecv.c:967:2: error: #error or change APR_HAS_SENDFILE in apr.h to 0.</p></blockquote>
<p>Entonces tenemos que editar el fichero <strong><em>srclib/apr/include/apr.h </em><span style="font-weight: normal;">y cambiar la linea <em><strong>#define APR_HAS_SENDFILE 1</strong></em> por <strong><em>#define APR_HAS_SENDFILE 0</em></strong></span></strong></p>
<p>Y finalmente para instalar</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>PHP</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf php-5.2.5.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> php-5.2.5
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-mysql</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-apxs2</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>apxs <span style="color: #660033;">--with-gd</span> <span style="color: #660033;">--with-jpeg-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-png-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-zlib</span> <span style="color: #660033;">--with-freetype-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--exec-prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--sysconfdir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--with-soap</span> <span style="color: #660033;">--with-config-file-path</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--enable-track-vars</span> <span style="color: #660033;">--enable-bcmath</span> <span style="color: #660033;">--enable-ftp</span> <span style="color: #660033;">--enable-gd-native-ttf</span> <span style="color: #660033;">--with-bz2</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-ldap</span> <span style="color: #660033;">--with-mysqli</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mysql_config <span style="color: #660033;">--with-sqlite</span> <span style="color: #660033;">--with-ttf</span> --with-t1<span style="color: #007800;">lib</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--enable-mbstring</span>=all <span style="color: #660033;">--with-curl</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--enable-dbx</span> <span style="color: #660033;">--enable-sockets</span> <span style="color: #660033;">--enable-bcmath</span> <span style="color: #660033;">--with-imap</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i <span style="color: #660033;">--enable-soap</span> <span style="color: #660033;">--with-kerberos</span> <span style="color: #660033;">--enable-calendar</span> <span style="color: #660033;">--with-pgsql</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>pg <span style="color: #660033;">--enable-dbase</span> <span style="color: #660033;">--enable-exif</span> <span style="color: #660033;">--with-libxml-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-gettext</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-xsl</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-pdo-mysql</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-pdo-pgsql</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>pg <span style="color: #660033;">--with-mcrypt</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-openssl</span> <span style="color: #660033;">--with-iconv</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #7a0874; font-weight: bold;">test</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Y con esto ya tenemos recompilado el MAMP y listos para funcionar. En cualquiera de las opciones se puede aprovechar para cambiar opciones, añadir o quitar modules, etc...</p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;bodytext=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;notes=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;t=Recompilar%20MAMP" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;annotation=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Recompilar%20MAMP&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Recompilar%20MAMP%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2008/08/11/recompilar-mamp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>jWeather: Modulo de tiempo para Joomla 1.5</title>
		<link>http://p0l0.binware.org/index.php/2008/02/03/jweather-modulo-de-tiempo-para-joomla-15/</link>
		<comments>http://p0l0.binware.org/index.php/2008/02/03/jweather-modulo-de-tiempo-para-joomla-15/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 21:14:01 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[jweather]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[projects]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2008/02/03/jweather-modulo-de-tiempo-para-joomla-15/</guid>
		<description><![CDATA[Hace mucho que no pongo posts, es lo que tiene la falta de tiempo ;(
En el trabajo estoy preparando la nueva web con Joomla 1.5 y necesitabamos un modulo de tiempo, mirando en http://extensions.joomla.org no encontre ningun modulo que funcionase con Joomla 1.5 y tampoco que mostrara simplemente el tiempo, asi que decidi a hacer [...]]]></description>
			<content:encoded><![CDATA[<p>Hace mucho que no pongo posts, es lo que tiene la falta de tiempo ;(</p>
<p>En el trabajo estoy preparando la nueva web con Joomla 1.5 y necesitabamos un modulo de tiempo, mirando en <a href="http://extensions.joomla.org" target="_new">http://extensions.joomla.org</a> no encontre ningun modulo que funcionase con Joomla 1.5 y tampoco que mostrara simplemente el tiempo, asi que decidi a hacer yo un modulo. Me puse manos a la obra y he creado un proyecto en <a href="http://www.sf.net" target="_new">SourceForge</a> llamado <a href="http://sourceforge.net/projects/joomlaweather/" target="_new">jWeather</a> que ya tiene su version 0.1.1 y muestra correctamente los iconos del tiempo para 3 dias. El modulo coge la informacion de la pagina <a href="http://www.weather.com" target="_new">weather.com</a></p>
<p>Tambien he puesto un pequeño tutorial de como coger el codigo de la ciudad y usarlo en el modulo en el <a href="http://joomlaweather.wiki.sourceforge.net/getcitycode" target="_new">wiki</a> de sourceforge</p>
<p>Seguramente la semana que viene colgare una nueva version que venga con mas opciones. Los datos del proyecto son:</p>
<p align="left">Proyecto Sourceforge: <a href="http://sourceforge.net/projects/joomlaweather/" target="_new">http://sourceforge.net/projects/joomlaweather/</a><br />
Modulo en Joomla: <a href="http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,4055/Itemid,35/" target="_new">http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,4055/Itemid,35/</a></p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F&amp;title=jWeather%3A%20Modulo%20de%20tiempo%20para%20Joomla%201.5&amp;bodytext=Hace%20mucho%20que%20no%20pongo%20posts%2C%20es%20lo%20que%20tiene%20la%20falta%20de%20tiempo%20%3B%28%0D%0AEn%20el%20trabajo%20estoy%20preparando%20la%20nueva%20web%20con%20Joomla%201.5%20y%20necesitabamos%20un%20modulo%20de%20tiempo%2C%20mirando%20en%20http%3A%2F%2Fextensions.joomla.org%20no%20encontre%20ningun%20modulo%20que%20funcionase%20con" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F&amp;title=jWeather%3A%20Modulo%20de%20tiempo%20para%20Joomla%201.5&amp;notes=Hace%20mucho%20que%20no%20pongo%20posts%2C%20es%20lo%20que%20tiene%20la%20falta%20de%20tiempo%20%3B%28%0D%0AEn%20el%20trabajo%20estoy%20preparando%20la%20nueva%20web%20con%20Joomla%201.5%20y%20necesitabamos%20un%20modulo%20de%20tiempo%2C%20mirando%20en%20http%3A%2F%2Fextensions.joomla.org%20no%20encontre%20ningun%20modulo%20que%20funcionase%20con" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F&amp;t=jWeather%3A%20Modulo%20de%20tiempo%20para%20Joomla%201.5" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F&amp;title=jWeather%3A%20Modulo%20de%20tiempo%20para%20Joomla%201.5&amp;annotation=Hace%20mucho%20que%20no%20pongo%20posts%2C%20es%20lo%20que%20tiene%20la%20falta%20de%20tiempo%20%3B%28%0D%0AEn%20el%20trabajo%20estoy%20preparando%20la%20nueva%20web%20con%20Joomla%201.5%20y%20necesitabamos%20un%20modulo%20de%20tiempo%2C%20mirando%20en%20http%3A%2F%2Fextensions.joomla.org%20no%20encontre%20ningun%20modulo%20que%20funcionase%20con" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=jWeather%3A%20Modulo%20de%20tiempo%20para%20Joomla%201.5&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F&amp;title=jWeather%3A%20Modulo%20de%20tiempo%20para%20Joomla%201.5&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=Hace%20mucho%20que%20no%20pongo%20posts%2C%20es%20lo%20que%20tiene%20la%20falta%20de%20tiempo%20%3B%28%0D%0AEn%20el%20trabajo%20estoy%20preparando%20la%20nueva%20web%20con%20Joomla%201.5%20y%20necesitabamos%20un%20modulo%20de%20tiempo%2C%20mirando%20en%20http%3A%2F%2Fextensions.joomla.org%20no%20encontre%20ningun%20modulo%20que%20funcionase%20con" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=jWeather%3A%20Modulo%20de%20tiempo%20para%20Joomla%201.5%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F02%2F03%2Fjweather-modulo-de-tiempo-para-joomla-15%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2008/02/03/jweather-modulo-de-tiempo-para-joomla-15/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>PHP5 eAccelerator</title>
		<link>http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/</link>
		<comments>http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 19:30:59 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/</guid>
		<description><![CDATA[Hacia tiempo que queria poner esto, pero nunca me he puesto. eAccelerator es un modulo de php que compila y carga en memoria las aplicaciones php, y con esto consigue que haya una mejora de respuesta y descarga bastante el servidor. Aqui os explico como instalar eAccelerator con PHP5 en una debian.
Lo primero que hay [...]]]></description>
			<content:encoded><![CDATA[<p>Hacia tiempo que queria poner esto, pero nunca me he puesto. eAccelerator es un modulo de php que compila y carga en memoria las aplicaciones php, y con esto consigue que haya una mejora de respuesta y descarga bastante el servidor. Aqui os explico como instalar eAccelerator con PHP5 en una debian.</p>
<p>Lo primero que hay que hacer es descargarse la ultima version de <a title="Download eAccelerator" href="http://sourceforge.net/project/showfiles.php?group_id=122249" target="_blank">eAccelerator</a>, tambien necesitaremos en el server las utilidades de desarrollo de php</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php5-dev</pre></div></div>

<p>La instalacion es realmente muy sencilla, solo tenemos que descomprimir, compiler, instalar y configurar.</p>
<ul>
<li>Descomprimimos</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfj eaccelerator-0.9.5.tar.bz2</pre></div></div>

<ul>
<li>Compilamos</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> eaccelerator-0.9.5
phpize
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<ul>
<li>Instalamos (nos pondra el modulo en la carpeta de modulos de php)</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<ul>
<li>Copiamos la configuracion para que la cargue php</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> eaccelerator.ini <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span>conf.d<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Lo primero que hay que hacer en la configuracion es decirle que no es una zend_extension, por lo tanto cambiamos</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">zend_extension</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;/usr/lib/php4/eaccelerator.so&quot;</span></pre></div></div>

<p>por</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">extension</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;eaccelerator.so&quot;</span></pre></div></div>

<p>Luego yo en la configuracion he dejado todo como venia por defecto excepto</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">eaccelerator.log_file <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;/var/log/apache/eaccelerator_log&quot;</span></pre></div></div>




Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F&amp;title=PHP5%20eAccelerator&amp;bodytext=Hacia%20tiempo%20que%20queria%20poner%20esto%2C%20pero%20nunca%20me%20he%20puesto.%20eAccelerator%20es%20un%20modulo%20de%20php%20que%20compila%20y%20carga%20en%20memoria%20las%20aplicaciones%20php%2C%20y%20con%20esto%20consigue%20que%20haya%20una%20mejora%20de%20respuesta%20y%20descarga%20bastante%20el%20servidor.%20Aqui%20os%20explico%20c" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F&amp;title=PHP5%20eAccelerator&amp;notes=Hacia%20tiempo%20que%20queria%20poner%20esto%2C%20pero%20nunca%20me%20he%20puesto.%20eAccelerator%20es%20un%20modulo%20de%20php%20que%20compila%20y%20carga%20en%20memoria%20las%20aplicaciones%20php%2C%20y%20con%20esto%20consigue%20que%20haya%20una%20mejora%20de%20respuesta%20y%20descarga%20bastante%20el%20servidor.%20Aqui%20os%20explico%20c" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F&amp;t=PHP5%20eAccelerator" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F&amp;title=PHP5%20eAccelerator&amp;annotation=Hacia%20tiempo%20que%20queria%20poner%20esto%2C%20pero%20nunca%20me%20he%20puesto.%20eAccelerator%20es%20un%20modulo%20de%20php%20que%20compila%20y%20carga%20en%20memoria%20las%20aplicaciones%20php%2C%20y%20con%20esto%20consigue%20que%20haya%20una%20mejora%20de%20respuesta%20y%20descarga%20bastante%20el%20servidor.%20Aqui%20os%20explico%20c" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=PHP5%20eAccelerator&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F&amp;title=PHP5%20eAccelerator&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=Hacia%20tiempo%20que%20queria%20poner%20esto%2C%20pero%20nunca%20me%20he%20puesto.%20eAccelerator%20es%20un%20modulo%20de%20php%20que%20compila%20y%20carga%20en%20memoria%20las%20aplicaciones%20php%2C%20y%20con%20esto%20consigue%20que%20haya%20una%20mejora%20de%20respuesta%20y%20descarga%20bastante%20el%20servidor.%20Aqui%20os%20explico%20c" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=PHP5%20eAccelerator%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F01%2F23%2Fphp5-eaccelerator%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entorno de desarrollo web con Eclipse</title>
		<link>http://p0l0.binware.org/index.php/2006/10/18/entorno-de-desarrollo-web-con-eclipse/</link>
		<comments>http://p0l0.binware.org/index.php/2006/10/18/entorno-de-desarrollo-web-con-eclipse/#comments</comments>
		<pubDate>Wed, 18 Oct 2006 17:46:20 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2006/10/18/entorno-de-desarrollo-web-con-eclipse/</guid>
		<description><![CDATA[Ultimamente estoy mirando de encontrar el mejor entorno de desarollo multiplataforma que me vaya bien para llevar los proyectos de webs. Finalmente el que me ha convencido ha sido Eclipse con los plugins para PHP/HTML/CSS/Javascript y SVN:

Aptana: HTML/CSS/Javascript. Update Site: http://update.aptana.com/update/
PHPEclipse: PHP. Update Site: http://phpeclipse.sourceforge.net/update/releases/
Subclipse: SVN. Update Site: http://subclipse.tigris.org/update_1.0.x

Lo unico que hace falta para instalarse [...]]]></description>
			<content:encoded><![CDATA[<p>Ultimamente estoy mirando de encontrar el mejor entorno de desarollo multiplataforma que me vaya bien para llevar los proyectos de webs. Finalmente el que me ha convencido ha sido <a target="_blank" title="Eclipse" href="http://www.eclipse.org">Eclipse</a> con los plugins para PHP/HTML/CSS/Javascript y SVN:</p>
<ul>
<li style="text-align: left"><a target="_blank" title="Aptana: The Web IDE" href="http://www.aptana.com">Aptana</a>: HTML/CSS/Javascript. Update Site: http://update.aptana.com/update/</li>
<li style="text-align: left"><a target="_blank" title="PHPEclipse.net" href="http://www.phpeclipse.de">PHPEclipse</a>: PHP. Update Site: http://phpeclipse.sourceforge.net/update/releases/</li>
<li style="text-align: left"><a target="_blank" title="subclipse.tigris.org" href="http://subclipse.tigris.org/">Subclipse</a>: SVN. Update Site: http://subclipse.tigris.org/update_1.0.x</li>
</ul>
<p>Lo unico que hace falta para instalarse todos los plugins, es bajarse el ultimo <a target="_blank" title="Eclipse Downloads" href="http://www.eclipse.org/downloads/">Eclipse</a> e ir a "Help->Software Updates->Find and install..." y añadir los "Update Site" de cada uno bajo "Search for new features to install".</p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F&amp;title=Entorno%20de%20desarrollo%20web%20con%20Eclipse&amp;bodytext=Ultimamente%20estoy%20mirando%20de%20encontrar%20el%20mejor%20entorno%20de%20desarollo%20multiplataforma%20que%20me%20vaya%20bien%20para%20llevar%20los%20proyectos%20de%20webs.%20Finalmente%20el%20que%20me%20ha%20convencido%20ha%20sido%20Eclipse%20con%20los%20plugins%20para%20PHP%2FHTML%2FCSS%2FJavascript%20y%20SVN%3A%0D%0A%0D%0AAptana%3A" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F&amp;title=Entorno%20de%20desarrollo%20web%20con%20Eclipse&amp;notes=Ultimamente%20estoy%20mirando%20de%20encontrar%20el%20mejor%20entorno%20de%20desarollo%20multiplataforma%20que%20me%20vaya%20bien%20para%20llevar%20los%20proyectos%20de%20webs.%20Finalmente%20el%20que%20me%20ha%20convencido%20ha%20sido%20Eclipse%20con%20los%20plugins%20para%20PHP%2FHTML%2FCSS%2FJavascript%20y%20SVN%3A%0D%0A%0D%0AAptana%3A" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F&amp;t=Entorno%20de%20desarrollo%20web%20con%20Eclipse" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F&amp;title=Entorno%20de%20desarrollo%20web%20con%20Eclipse&amp;annotation=Ultimamente%20estoy%20mirando%20de%20encontrar%20el%20mejor%20entorno%20de%20desarollo%20multiplataforma%20que%20me%20vaya%20bien%20para%20llevar%20los%20proyectos%20de%20webs.%20Finalmente%20el%20que%20me%20ha%20convencido%20ha%20sido%20Eclipse%20con%20los%20plugins%20para%20PHP%2FHTML%2FCSS%2FJavascript%20y%20SVN%3A%0D%0A%0D%0AAptana%3A" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Entorno%20de%20desarrollo%20web%20con%20Eclipse&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F&amp;title=Entorno%20de%20desarrollo%20web%20con%20Eclipse&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=Ultimamente%20estoy%20mirando%20de%20encontrar%20el%20mejor%20entorno%20de%20desarollo%20multiplataforma%20que%20me%20vaya%20bien%20para%20llevar%20los%20proyectos%20de%20webs.%20Finalmente%20el%20que%20me%20ha%20convencido%20ha%20sido%20Eclipse%20con%20los%20plugins%20para%20PHP%2FHTML%2FCSS%2FJavascript%20y%20SVN%3A%0D%0A%0D%0AAptana%3A" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Entorno%20de%20desarrollo%20web%20con%20Eclipse%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F10%2F18%2Fentorno-de-desarrollo-web-con-eclipse%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2006/10/18/entorno-de-desarrollo-web-con-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roundcube vhost patch</title>
		<link>http://p0l0.binware.org/index.php/2006/02/27/roundcube-vhost-patch/</link>
		<comments>http://p0l0.binware.org/index.php/2006/02/27/roundcube-vhost-patch/#comments</comments>
		<pubDate>Mon, 27 Feb 2006 22:54:00 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[binware]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[vhost]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2006/02/27/roundcube-vhost-patch/</guid>
		<description><![CDATA[Bueno trasteando con el roundcube para binware he visto que le faltan algunas cosas, aunque esta muy bien diseï¿½ado y funciona mas o menos estable.
Como en squirrelmail uso la opcion de vhost para que los usuarios no tengan que poner el dominio al hacer login al webmail, pues he echo esta opcion en version simple [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno trasteando con el <a href="http://www.roundcube.net">roundcube</a> para <a href="http://binware.org">binware</a> he visto que le faltan algunas cosas, aunque esta muy bien diseï¿½ado y funciona mas o menos estable.</p>
<p>Como en <a href="http://www.squirrelmail.org">squirrelmail</a> uso la opcion de <a href="http://www.squirrelmail.org/plugin_view.php?id=47">vhost</a> para que los usuarios no tengan que poner el dominio al hacer login al webmail, pues he echo esta opcion en version simple para <a href="http://www.roundcube.net">roundcube</a> (la <a href="http://www.squirrelmail.org/plugin_view.php?id=47">version</a> de <a href="http://www.squirrelmail.org">squirrelmail</a> hace muchisimas mas cosas, pero a mi me va bien con esto ya...). Les envie el codigo a los desarrolladores, lo que no se si lo incluiran o no...</p>
<p>Aqui esta el parche para la version 0.1-beta para quien le interese, lleva tambien configuracion para activarlo o no y para decidir si alguien de otro dominio puede hacer login.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">---</span> roundcubemail<span style="color: #339933;">-</span>0<span style="color: #339933;">.</span>1beta<span style="color: #339933;">/</span>config<span style="color: #339933;">/</span>main<span style="color: #339933;">.</span>inc<span style="color: #339933;">.</span>php<span style="color: #339933;">.</span>dist
<span style="color: #cc66cc;">2006</span><span style="color: #339933;">-</span><span style="color: #208080;">02</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">21</span> <span style="color: #208080;">00</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">29</span><span style="color: #339933;">:</span><span style="color:#800080;">13.000000000</span> <span style="color: #339933;">+</span><span style="color: #208080;">0100</span>
<span style="color: #339933;">+++</span> roundcubemail<span style="color: #339933;">.</span><span style="color: #000000; font-weight: bold;">new</span><span style="color: #339933;">/</span>config<span style="color: #339933;">/</span>main<span style="color: #339933;">.</span>inc<span style="color: #339933;">.</span>php<span style="color: #339933;">.</span>dist  <span style="color: #cc66cc;">2006</span><span style="color: #339933;">-</span><span style="color: #208080;">02</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">23</span>
<span style="color: #cc66cc;">15</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">28</span><span style="color: #339933;">:</span><span style="color:#800080;">07.614663680</span> <span style="color: #339933;">+</span><span style="color: #208080;">0100</span>
<span style="color: #339933;">@@</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">171</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">5</span> <span style="color: #339933;">+</span><span style="color: #cc66cc;">171</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">21</span> <span style="color: #339933;">@@</span>
<span style="color: #666666; font-style: italic;">// show pretty dates as standard</span>
<span style="color: #000088;">$rcmail_config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'prettydate'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">+</span><span style="color: #666666; font-style: italic;">/*
+        Automatic add webserver domain and option to not
let to connect with other domains
+                               Author: Marco
+                               Date: 23/02/2006
+                               Mail: P0L0_notspam_binware.org
+*/</span>
<span style="color: #339933;">+</span><span style="color: #666666; font-style: italic;">//Automatic add @domain from webserver domain</span>
<span style="color: #339933;">+</span><span style="color: #000088;">$rcmail_config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'adddomain'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #339933;">;</span>
<span style="color: #339933;">+</span>
<span style="color: #339933;">+</span><span style="color: #666666; font-style: italic;">//Number of dots for domain</span>
<span style="color: #339933;">+</span><span style="color: #000088;">$rcmail_config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'adddomain_dots'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">;</span>
<span style="color: #339933;">+</span>
<span style="color: #339933;">+</span><span style="color: #666666; font-style: italic;">//Dont let login with different domains</span>
<span style="color: #339933;">+</span><span style="color: #000088;">$rcmail_config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'adddomain_dif'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #339933;">;</span>
<span style="color: #339933;">+</span><span style="color: #666666; font-style: italic;">/* End */</span>
<span style="color: #339933;">+</span>
<span style="color: #666666; font-style: italic;">// end of config file</span>
<span style="color: #339933;">-</span>?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
\ No newline at <span style="color: #990000;">end</span> of <span style="color: #990000;">file</span>
<span style="color: #339933;">+</span>?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
diff <span style="color: #339933;">-</span>Naur roundcubemail<span style="color: #339933;">-</span>0<span style="color: #339933;">.</span>1beta<span style="color: #339933;">/</span>program<span style="color: #339933;">/</span><span style="color: #b1b100;">include</span><span style="color: #339933;">/</span>main<span style="color: #339933;">.</span>inc
roundcubemail<span style="color: #339933;">.</span><span style="color: #000000; font-weight: bold;">new</span><span style="color: #339933;">/</span>program<span style="color: #339933;">/</span><span style="color: #b1b100;">include</span><span style="color: #339933;">/</span>main<span style="color: #339933;">.</span>inc
<span style="color: #339933;">---</span> roundcubemail<span style="color: #339933;">-</span>0<span style="color: #339933;">.</span>1beta<span style="color: #339933;">/</span>program<span style="color: #339933;">/</span><span style="color: #b1b100;">include</span><span style="color: #339933;">/</span>main<span style="color: #339933;">.</span>inc
<span style="color: #cc66cc;">2006</span><span style="color: #339933;">-</span><span style="color: #208080;">02</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">21</span> <span style="color: #208080;">00</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">29</span><span style="color: #339933;">:</span><span style="color:#800080;">13.000000000</span> <span style="color: #339933;">+</span><span style="color: #208080;">0100</span>
<span style="color: #339933;">+++</span> roundcubemail<span style="color: #339933;">.</span><span style="color: #000000; font-weight: bold;">new</span><span style="color: #339933;">/</span>program<span style="color: #339933;">/</span><span style="color: #b1b100;">include</span><span style="color: #339933;">/</span>main<span style="color: #339933;">.</span>inc  <span style="color: #cc66cc;">2006</span><span style="color: #339933;">-</span><span style="color: #208080;">02</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">23</span>
<span style="color: #cc66cc;">15</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">31</span><span style="color: #339933;">:</span><span style="color:#800080;">08.237204880</span> <span style="color: #339933;">+</span><span style="color: #208080;">0100</span>
<span style="color: #339933;">@@</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">365</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">7</span> <span style="color: #339933;">+</span><span style="color: #cc66cc;">365</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">42</span> <span style="color: #339933;">@@</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$CONFIG</span><span style="color: #339933;">,</span> <span style="color: #000088;">$IMAP</span><span style="color: #339933;">,</span> <span style="color: #000088;">$DB</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sess_user_lang</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$user_id</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">NULL</span><span style="color: #339933;">;</span>
<span style="color: #339933;">-</span>
<span style="color: #339933;">+</span>
<span style="color: #339933;">+</span>       <span style="color: #666666; font-style: italic;">/*
+         Automatic add webserver domain and option to not
let to connect with other domains
+               Author: Marco
+               Date: 23/02/2006
+               Mail: P0L0_notspam_binware.org
+       */</span>
<span style="color: #339933;">+</span>       <span style="color: #666666; font-style: italic;">//Check if we need to add mail</span>
<span style="color: #339933;">+</span>       <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$CONFIG</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'adddomain'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
<span style="color: #339933;">+</span>       <span style="color: #009900;">&#123;</span>
<span style="color: #339933;">+</span>               <span style="color: #666666; font-style: italic;">//Save domain</span>
<span style="color: #339933;">+</span>               <span style="color: #000088;">$addTempDomain</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'.'</span><span style="color: #339933;">,</span>
<span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_HOST'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">+</span>               <span style="color: #000088;">$addDomain</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #339933;">+</span>               <span style="color: #b1b100;">for</span>
<span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span></pre></div></div>

<p><a href="http://binware.org/downloads/roundcube.vhost.patch">Descargar</a></p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F&amp;title=Roundcube%20vhost%20patch&amp;bodytext=Bueno%20trasteando%20con%20el%20roundcube%20para%20binware%20he%20visto%20que%20le%20faltan%20algunas%20cosas%2C%20aunque%20esta%20muy%20bien%20dise%C3%AF%C2%BF%C2%BDado%20y%20funciona%20mas%20o%20menos%20estable.%0D%0A%0D%0AComo%20en%20squirrelmail%20uso%20la%20opcion%20de%20vhost%20para%20que%20los%20usuarios%20no%20tengan%20que%20poner%20el%20domini" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F&amp;title=Roundcube%20vhost%20patch&amp;notes=Bueno%20trasteando%20con%20el%20roundcube%20para%20binware%20he%20visto%20que%20le%20faltan%20algunas%20cosas%2C%20aunque%20esta%20muy%20bien%20dise%C3%AF%C2%BF%C2%BDado%20y%20funciona%20mas%20o%20menos%20estable.%0D%0A%0D%0AComo%20en%20squirrelmail%20uso%20la%20opcion%20de%20vhost%20para%20que%20los%20usuarios%20no%20tengan%20que%20poner%20el%20domini" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F&amp;t=Roundcube%20vhost%20patch" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F&amp;title=Roundcube%20vhost%20patch&amp;annotation=Bueno%20trasteando%20con%20el%20roundcube%20para%20binware%20he%20visto%20que%20le%20faltan%20algunas%20cosas%2C%20aunque%20esta%20muy%20bien%20dise%C3%AF%C2%BF%C2%BDado%20y%20funciona%20mas%20o%20menos%20estable.%0D%0A%0D%0AComo%20en%20squirrelmail%20uso%20la%20opcion%20de%20vhost%20para%20que%20los%20usuarios%20no%20tengan%20que%20poner%20el%20domini" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Roundcube%20vhost%20patch&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F&amp;title=Roundcube%20vhost%20patch&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=Bueno%20trasteando%20con%20el%20roundcube%20para%20binware%20he%20visto%20que%20le%20faltan%20algunas%20cosas%2C%20aunque%20esta%20muy%20bien%20dise%C3%AF%C2%BF%C2%BDado%20y%20funciona%20mas%20o%20menos%20estable.%0D%0A%0D%0AComo%20en%20squirrelmail%20uso%20la%20opcion%20de%20vhost%20para%20que%20los%20usuarios%20no%20tengan%20que%20poner%20el%20domini" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Roundcube%20vhost%20patch%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2006%2F02%2F27%2Froundcube-vhost-patch%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2006/02/27/roundcube-vhost-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asegurando Server</title>
		<link>http://p0l0.binware.org/index.php/2005/03/06/asegurando-server/</link>
		<comments>http://p0l0.binware.org/index.php/2005/03/06/asegurando-server/#comments</comments>
		<pubDate>Sun, 06 Mar 2005 19:51:00 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[IT Security]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2005/03/06/asegurando-server/</guid>
		<description><![CDATA[Bueno, esta semana voy de dejar el servidor de hosting bien seguro. Ire poniendo todo lo que he ido haciendo. Por ahora tengo puesto unas cuantas cosas, pero como siempre la paranoia puede conmigo y no me parece suficientemente seguro ;P
Cosas instaladas:

Portsentry
Snort
Firewall
/tmp y /home montados con noexec,nosuid
/dev/hda7       /tmp  [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno, esta semana voy de dejar el servidor de hosting bien seguro. Ire poniendo todo lo que he ido haciendo. Por ahora tengo puesto unas cuantas cosas, pero como siempre la paranoia puede conmigo y no me parece suficientemente seguro ;P</p>
<p>Cosas instaladas:</p>
<ol>
<li><a href="http://sourceforge.net/projects/sentrytools/">Portsentry</a></li>
<li><a href="http://www.snort.org/">Snort</a></li>
<li><a href="http://www.netfilter.org/">Firewall</a></li>
<li>/tmp y /home montados con noexec,nosuid
<pre>/dev/hda7       /tmp    <font color="green">ext3    defaults,noexec,nosuid</font>                  <font color="red">0  2</font>
/dev/hda8       /home   <font color="green">ext3    defaults,noexec,nosuid</font>                  <font color="red">0  2</font></pre>
</li>
<li><a href="http://es.php.net/manual/en/security.php">PHP</a> en safe mode y con unas cuantes funciones peligrosas deshabilitadas
<pre><font color="blue">
; Safe Mode
;</font>
<font color="green">safe_mode =</font> On
<font color="blue">
; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.</font>
<font color="green">safe_mode_gid =</font> Off
<font color="blue">
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.</font>
<font color="green">disable_functions =</font> phpinfo, system, shell_exec, proc_terminate, proc_open, proc_nice, proc_get_status, proc_close, passthru, exec, escapeshellcmd, escapeshellarg
<font color="blue">
; Whether or not to register the EGPCS variables as global variables.  You may
; want to turn this off if you don't want to clutter your scripts' global scope
; with user data.  This makes most sense when coupled with track_vars - in which
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
; variables.
;
; You should do your best to write your scripts so that they do not require
; register_globals to be on;  Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
;
; The default in PHP usptream is now "register_globals = Off".  The Debian package
; is patched for backward compatibility to default to "On", however this will NOT
; last forever.  You have been warned.</font>
<font color="green">register_globals =</font> Off</pre>
</li>
<li>chmod 750 a algunos archivos importantes
<pre><font color="blue">#!/bin/sh
#Script to change permission for sensible dir and programs</font>

<font color="green">BINARY</font>=<font color="red">"/usr/bin/wget /usr/bin/lynx /usr/bin/lynx.stable /usr/bin/links /usr/bin/links.main /usr/bin/scp /usr/bin/ftp /etc/alternatives/ /root/ /usr/bin/gcc* /usr/bin/cc*"</font>
<font color="green">MODE</font>=<font color="red">0750</font>
<font color="green">USER</font>=<font color="red">"root"</font>

<font color="orange">for</font> BIN <font color="orange">in</font> <font color="purple">$BINARY</font><font color="orange">; do</font>
chown <font color="purple">$USER</font>:<font color="purple">$USER $BIN</font>
chmod <font color="purple">$MODE $BIN</font>
<font color="orange">done</font></pre>
</li>
<li>Tripwire</li>
<li>... (seguro k me dejo algo)</li>
</ol>
<p>Bueno, ire poniendo como tengo configurado lo que tenia antes. Seguramente muchas cosas no estan tan bien o no estan echas como deberian, pero ya se ira mejorando ;o)</p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F&amp;title=Asegurando%20Server&amp;bodytext=Bueno%2C%20esta%20semana%20voy%20de%20dejar%20el%20servidor%20de%20hosting%20bien%20seguro.%20Ire%20poniendo%20todo%20lo%20que%20he%20ido%20haciendo.%20Por%20ahora%20tengo%20puesto%20unas%20cuantas%20cosas%2C%20pero%20como%20siempre%20la%20paranoia%20puede%20conmigo%20y%20no%20me%20parece%20suficientemente%20seguro%20%3BP%0D%0A%0D%0ACosas%20ins" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F&amp;title=Asegurando%20Server&amp;notes=Bueno%2C%20esta%20semana%20voy%20de%20dejar%20el%20servidor%20de%20hosting%20bien%20seguro.%20Ire%20poniendo%20todo%20lo%20que%20he%20ido%20haciendo.%20Por%20ahora%20tengo%20puesto%20unas%20cuantas%20cosas%2C%20pero%20como%20siempre%20la%20paranoia%20puede%20conmigo%20y%20no%20me%20parece%20suficientemente%20seguro%20%3BP%0D%0A%0D%0ACosas%20ins" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F&amp;t=Asegurando%20Server" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F&amp;title=Asegurando%20Server&amp;annotation=Bueno%2C%20esta%20semana%20voy%20de%20dejar%20el%20servidor%20de%20hosting%20bien%20seguro.%20Ire%20poniendo%20todo%20lo%20que%20he%20ido%20haciendo.%20Por%20ahora%20tengo%20puesto%20unas%20cuantas%20cosas%2C%20pero%20como%20siempre%20la%20paranoia%20puede%20conmigo%20y%20no%20me%20parece%20suficientemente%20seguro%20%3BP%0D%0A%0D%0ACosas%20ins" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Asegurando%20Server&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F&amp;title=Asegurando%20Server&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=Bueno%2C%20esta%20semana%20voy%20de%20dejar%20el%20servidor%20de%20hosting%20bien%20seguro.%20Ire%20poniendo%20todo%20lo%20que%20he%20ido%20haciendo.%20Por%20ahora%20tengo%20puesto%20unas%20cuantas%20cosas%2C%20pero%20como%20siempre%20la%20paranoia%20puede%20conmigo%20y%20no%20me%20parece%20suficientemente%20seguro%20%3BP%0D%0A%0D%0ACosas%20ins" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Asegurando%20Server%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2005%2F03%2F06%2Fasegurando-server%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2005/03/06/asegurando-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
