Mac Software Update & PHP

   (5)
      
日本語/Japanese
Thu 2006/03/09 22:40
After the last Software Update ( it could have been a security update - I forget ) for my powerbook, I had problems connecting to MYSQL and couldn't perform anymore GD functions on localhost. Using phpinfo() to see what on earth was going on I saw...
PHP Version 4.4.1

System Darwin guncannons-powerbook-g4-15.local 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh
Build Date Feb 7 2006 06:25:13
Configure Command '/SourceCache/apache_mod_php/apache_mod_php-18.3/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--with-mysql=/usr' '--with-mysql-sock=/var/mysql/mysql.sock'

Looks like the last Software Update updated my version of PHP - at least they could have compiled it with my original settings!
Anyway, if this happens to you and you want your old PHP version back, just follow the instructions in my "Installing PHP GD MYSQL and Apache on Mac OS X Tiger" post and you should be OK. In in my case I was back to...

PHP Version 4.3.6
System Darwin guncannons-powerbook-g4-15.local 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh
Build Date Mar 8 2006 12:08:41
Configure Command './configure' '--with-xml' '--with-zlib' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-apxs=/usr/sbin/apxs' '--enable-exif' '--enable-mbstring' '--with-curl=/usr'

I know my PHP version is old but everything just works as it is and I dont really need an update to mess everything up! At first I thought there was something wrong with MYSQL but I was able to connect from the terminal - the culprit was the new PHP build that included "--with-mysql-sock=/var/mysql/mysql.sock".
So now you know ^^/
First time here?
If you are new here, you may want to keep up with more of the same via RSS or Danny's other networks. (dont show again)
AddThis Feed Button

After getting another powerbook at work, I was in a bit of a dilemma - I wanted the same working enviro...(more)
Tue 10/11 10:01 comments (3)
Thunderbird was my mail client of choice on a Windows machine and I was disappointed with the OSX versi...(more)
Tue 10/11 09:57 comments (0)
So I read most of the "penultimate-tutorial-to-installing-php-mysql-apache-gd-on-tiger" and you know what? They just don't wor...(more)
Mon 10/10 05:56 comments (8)
2ch (pronounced Ni Channeru) is Japans largest and most successful bulletin board which covers topics f...(more)
Mon 10/10 03:46 comments (2)
Matt F in Gold Coast, Australia
That stuff goes right over my head, even though I know a lil bit about it... Why Im iot the visual side of computers (3d anim, etc). :P

Glad to know ya found the culprit Danny!
(ID #35842) Posted on 2007/01/02 02:11
Bigwaaagh in Bakel, the Netherlands
It's always annoying when you lose your settings due to recompiling. I'm glad you found out what caused it, and that it will help some other mac users with the same problems...
(ID #35844) Posted on 2007/01/02 02:11
dwin in malaysia
Hi Danny,

Great website! Keep it up!

Do you happen to know if Apple is doing something about how their computer dies just after 3 years? 
Or ways to deal with those computers?
(ID #40754) Posted on 2007/01/02 02:11
Danny in Tokyo
dwin,
Have no idea but should their firmware updates not address those problems?
(ID #40756) Posted on 2007/01/02 02:11
dwin in malaysia
Well, I couldn't find it anywhere. 
Still looking though.
(ID #40878) Posted on 2007/01/02 02:11
Matt F in Gold Coast, Australia
That stuff goes right over my head, even though I know a lil bit about it... Why Im iot the visual side of computers (3d anim, etc). :P

Glad to know ya found the culprit Danny!
(ID #77846) Posted on 1999/11/30 15:00
Bigwaaagh in Bakel, the Netherlands
It's always annoying when you lose your settings due to recompiling. I'm glad you found out what caused it, and that it will help some other mac users with the same problems...
(ID #77848) Posted on 1999/11/30 15:00
dwin in malaysia
Hi Danny,

Great website! Keep it up!

Do you happen to know if Apple is doing something about how their computer dies just after 3 years? 
Or ways to deal with those computers?
(ID #82758) Posted on 1999/11/30 15:00
Danny in Tokyo
dwin,
Have no idea but should their firmware updates not address those problems?
(ID #82760) Posted on 1999/11/30 15:00
dwin in malaysia
Well, I couldn't find it anywhere. 
Still looking though.
(ID #82882) Posted on 1999/11/30 15:00
Taken at the new Berry Waffle studios in Hamamatsucho. It's just before n...(more)
Tue 07/10 02:26 comments (32)
What better way to start your work/schooling week than with a bunch of photos of the beach? Many moo...(more)
Tue 09/19 21:40 comments (101)
After visiting Okinawa for the first time last year, we made the decision to go back every year. This t...(more)
Sat 12/08 02:04 comments (94)
Was invited by comrades at Google to YouTube Live Tokyo - the reason why I could not stay in Singapore ...(more)
Tue 11/25 13:25 comments (111)
This 1/7 scale figure of Nao (Adventure Ver.) will be available in April and retail for 7,...(more)
Fri 01/09 17:12 comments (25)
Cover of the up n coming Strike Witches 5th DVD found at yunakiti. Sanya and Eila look go...(more)
Fri 01/09 11:41 comments (46)
Akihabaranews gets hands on and more photos of the recently announced "Pocket Style PC VAI...(more)
Fri 01/09 06:47 comments (75)
Earlier on today just after 7pm at Togoshi Ginza having some Japanese style curry soup for...(more)
Fri 01/09 00:30 comments (80)
Subscribe
Subscribe to RSS or get dannychoo.com delivered to your inbox.
Recommended
Recommended
(refresh)
View advertising info
and site stats here.
Full list of partners in this slot are listed below.