<?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>Alain M. Lafon &#187; lamp</title> <atom:link href="http://blog.dispatched.ch/tag/lamp/feed/" rel="self" type="application/rss+xml" /><link>http://blog.dispatched.ch</link> <description>code, life and struggles thereof</description> <lastBuildDate>Mon, 16 Jan 2012 13:44:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>AMP stack in Solaris 05/08</title><link>http://blog.dispatched.ch/2008/10/04/amp-stack-in-solaris-0508/</link> <comments>http://blog.dispatched.ch/2008/10/04/amp-stack-in-solaris-0508/#comments</comments> <pubDate>Sat, 04 Oct 2008 16:18:27 +0000</pubDate> <dc:creator>Alain M. Lafon</dc:creator> <category><![CDATA[articles]]></category> <category><![CDATA[amp]]></category> <category><![CDATA[lamp]]></category> <category><![CDATA[samp]]></category> <category><![CDATA[Solaris]]></category> <guid
isPermaLink="false">http://gefechtsdienst.de/?p=90</guid> <description><![CDATA[Most webservers do have a need for a decent AMP stack, but Solaris 05/08 doesn&#8217;t quite offer a solution out of the box, but if you know where to look you&#8217;re not far away from having a fine implementation. MySQL5I have made good experiences using MySQL5 from blastwave. Unfortunately it doesn&#8217;t run out of the [...]]]></description> <content:encoded><![CDATA[<p>Most webservers do have a need for a decent AMP stack, but Solaris 05/08 doesn&#8217;t quite offer a solution out of the box, but if you know where to look you&#8217;re not far away from having a fine implementation.</p><ul></li><li><strong>MySQL5</strong>I have made good experiences using MySQL5 from <a
href="http://www.blastwave.org">blastwave</a>. Unfortunately it doesn&#8217;t run out of the box even tough it integrates nicely with SMF. When mysql is being called after installation you will see this error message:<pre class="box">Warning: mysql(): Can't connect to local MySQL server through socket '/tmp/mysql.sock'</pre><p>The simple reason is that cswmysql5 couldn&#8217;t start properly, because there is no default config file. After copying the config file to the right location you can start the installation:</p><pre class="box">$ cp /opt/csw/mysql5share/mysql/my-small.cnf /opt/csw/mysql5/my.cnf
$ /opt/csw/mysql5/bin/mysql_install_db
...
$ chown -R mysql:mysql /opt/csw/mysql5/var
$ svcadm disable cswmysql5; svcadm enable cswmysql5</pre></li><li><strong>Apache2</strong><pre class="box">$ pkg-get install apache2</pre></li><li><strong>PHP</strong><pre class="box">$ pkg-get install php5</pre></li><li><strong>Needed modules</strong><pre class="box">$ pkg-get install ap2_modphp5
$ pkg-get install php5_gd
$ pkg-get install
php5_mysql</pre><p>Now all that&#8217;s left is to integrate PHP support into apache which is done by adding the following lines in your /opt/csw/apache2/etc/httpd.conf:</p><pre class="box">LoadModule php5_module /opt/csw/apache2/libexec/libphp5.so
&lt;IfModule mod_php5.c&gt;
  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps
&lt;/IfModule&gt;</pre><p>Now disable apache2, restart cswapache2 and you&#8217;re done.</ul> ]]></content:encoded> <wfw:commentRss>http://blog.dispatched.ch/2008/10/04/amp-stack-in-solaris-0508/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              44184
Template:           tag
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: blog.dispatched.ch @ 2012-02-10 14:37:50 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: basic
Cache key:          w3tc_blog.dispatched.ch_1_page_b8b28911815a543aeea96fa4a09a6444_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.429s
Header info:
ETag:               "274915380f43058ea86f113a32d41d8b"
Last-Modified:      Mon, 16 Jan 2012 13:44:17 GMT
Vary:               Accept-Encoding, Cookie
X-Powered-By:       W3 Total Cache/0.9.2.4
Content-Encoding:   gzip
X-Pingback:         http://blog.dispatched.ch/xmlrpc.php
Content-Type:       text/xml; charset=UTF-8
-->
