Archive for March, 2008

Compilation Fun

30 March 2008 21:53

Building a new server today with a CLAMP installation. ColdFusion, Linux, Apache, MySQL and PHP.

Server in question was a RHES4 server. Going to install the following apps:

  • ColdFusion 7.0.2 (CU3)
  • apache 2.2.8
  • MySQL 5.0.51a
  • PHP 5.2.5

Suppose to be a quick job, but, oh no.

First up the server already had a MySQL 4.1 RPM installed which was causing some issues. When trying to do a straight update it failed.

rpm -Uvh MySQL-server-community-5.0.51a-0.rhel4

You can’t remove it with rpm -e either. After some Google love discovered that it’s some issues with compatibility. So off to the MySQL site again to wget the shared-compat RPM.

rpm -Uvh MySQL-shared-compat-community-5.0.51a-0.rhel4

Now the server will upgrade just fine. Next up get the client libraries and headers installed (we’ll need them for the PHP compile later).

rpm -Uvh MySQL-devel-community-5.0.51a-0.rhel4 \
rpm -Uvh MySQL-client-community-5.0.51a-0.rhel4

I’ll skip the crap about getting it running for now. Next up is apache.

Pretty easy compile this one, probably don’t need rewrite and deflate separate but did it anyway.

./configure \
--prefix=/usr/local/apache2 \
--enable-mods-shared=most \
--enable-rewrite \
--enable-deflate
make
make install

Quick check that it runs and then onto PHP.

./configure \
--prefix=/usr/local/apache2/php \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr \
--with-config-file-path=/usr/local/apache2/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--with-gdbm;
make clean;
make;
make install

The key stage is the make clean. For some odd reason if you don’t make clean first you get an error like the following, the make clean will stop this happening.

httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: zend_ini_string

ColdFusion should be easy, will probably need to recompile the connector again but hey… that’s the fun, I think.

Filed: Technology // Tagged: , // No Comments

New Site

26 March 2008 8:46

It’s actually launched! Using Ray Camden’s BlogCFC, dpSyntaxHighligher & LightWindow (see comments) so thanks to all respective authors. This is possibly the quickest it’s taken me from saying I’m going to do it to actually, well, doing it!

Gone for the light on dark approach this time, fully CSS’d (no it’s probably not valid) and I’m really pleased with it.

Filed: Personal // 1 Comment

3G iPhone

26 March 2008 8:46

Now the Apple rumour mill is active at the quietest of times but the 3G iPhone stories keep on popping up. Good, cause, I want one (even though I already have a regular one)… anyway the latest story [via] suggests Apple have placed orders for 10M units and they may have OLED screens.

Filed: Technology // Tagged: , , // No Comments

ColdFusion Leap Year Fun

9 March 2008 15:18

So just an update on this. I sent off some emails to folks at Adobe and have had acknowledgment but as yet no reply. I’ll you know if and when I get something back.

Filed: Technology // Tagged: , , // No Comments

Take That Look Off Your Face

9 March 2008 15:18

Once again it’s blog refresh time. Currently working on a new version of the site. Got a design sorted and going to move on up to the latest version of Ray Camden’s excellent BlogCFC. When will this wondrous event occur, well, sometime soon…

Filed: General // 2 Comments

Social Network Overload

9 March 2008 15:18

Having had an email over the weekend to connect with someone on a social network site I’d forgotten I was a member of I decided to work out a list of the sites I am indeed signed up to.

Turns out I need to get out a bit more. In no particular order:

Digg
LinkedIn
Last.fm
YouTube
Twitter
Flickr
Dopplr
Facebook
Plaxo
Pownce
Jaiku

Filed: General // No Comments

 
What's ianteresting?   •   Twitter   •   About   •   Contact
©2010 Ian Winter. All Rights Reserved.   •   Powered by WordPress   •   Hosted at Memset