Binary Expressions

2009-2-12

PHP – Upgrading v5.2.5 to v5.2.8

Filed under: — Adam @ 1:05 pm

Background Knowledge


The following is the process I took to upgrade a web server with PHP v5.2.5 to PHP v5.2.8 running on OpenBSD. PEAR is already installed on this system and up to date. I wasn’t sure if I should exclude PEAR at install or not so therefore did not tell the configurator to exclude PEAR at install.

Installation Process


  1. Download the latest stable PHP release from command prompt # wget http://ca.php.net/get/php-5.2.8.tar.gz/from/a/mirror
  2. # tar -zxvf php-5.2.8.tar.gz
  3. ./configure –with-mysql=/usr/local –with-mssql=/usr/local –with-apxs –with-zlib-dir=/usr/lib –with-config-file-path=/var/www/conf –with-iconv=/usr/local/bin/iconv –enable-exif –enable-mbstring –enable-calendar
  4. # make
  5. # make test
  6. # make install
  7. # make clean

As far as I could tell in the PHP 5 ChangeLog since at least PHP v5.2.5 there has not be any changes made to the php.ini configuration file. Therefore I chose to leave the PHP configuration file (php.ini) that was being used with PHP v5.2.5 for PHP v5.2.8.

Issues


  1. At configure I received the following message “checking for a sed that does not truncate output… (cached) /usr/bin/sed
    expr: syntax error ./configure[2322]: test: 0: unexpected operator/operand expr: syntax error ./configure[2337]: test: 0: unexpected operator/operand”

I’m not sure what to make of this error message. I tried to search on Google but was not successful finding any answers. I tested my PHP installation and all appears to be okay. If anyone knows what exactly this error means and how to resolve it please let me know.

2009-2-6

The Website is Down: Sales Guy vs. Web Dude

Filed under: — Adam @ 1:15 am

This video has been going around for some time now, but I think its worth the post for those that have yet to see it.

Video Source: The Web Site is Down

2009-2-5

Credit Card Signature Backfires

Filed under: — Adam @ 11:26 pm

I ran across this great experiment Kingpin tried testing how far one could go not signing your signature properly when making credit card purchases. He’s definitely proven a point and made a hilarious experience. A must read I must say.

Source: Drunk Republic: When Your Credit Card Signature Fun Backfires

Take back your mailbox - CAUCE.org

Powered By Wordpress PHP: Hypertext Preprocessor MySQL Powered Download Juice, the cross-platform podcast receiver
Proud To Be Canadian Get Firefox Valid XHTML Valid CSS
<NO>OOXML Logo


18 queries. 0.365 seconds.
Copyright © 2004 - 2005 by Adam Douglas