Big SW upgrade on server

About 26 oir so hours ago I started to upgrade stuff on my server. mainly I wanted mysql which also implied php.
so, I made a maintanence page for apache to take care of all the sites and hit it on. but I just couldn’t install mysql. scripts were freezing (like mysql_install_db) and using the –skup-grant-tables was not helping either.
Took me almost 12 hours to figure out that the DNS server was still running and it used mysql. Stopping the DNS server got rid of that problem.
Then came php. I was getting:

checking for MySQL support for PDO… shared
checking for mysql_config… no
configure: error: Cannot find MySQL header files under

I just couldn’t figure out what the problem was until I digged into the configure script. on line 65536 i had

for i in /usr/local /usr ; do

which is stupid because it was not taking into account my –with-mysql selection in command line. so I modified that line to be:
for i in $PHP_MYSQL /usr/local /usr ; do

and problem solved.

I then had to modify some of the scripts as they were spitting depcrecated and erros on the screen but hey, that’s just upgrading life.

and finally, the last one was joomla.

Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in path_to_/components/com_resource/controller.php on line 193

I wasn’t paying attention that the error was actually in com_resource so I upgraded joomla to latest (which wasn’t a bad idea anyway). and when it didn’t go away I woke up to reality and tried to upgrade resource from mighty extensions BUT… their site is down. To be more precise, the domain does not resolv. get a load of that.
I sent them a tweet reply since I have no idea how else to contact them.

Related posts

2 Responses to “Big SW upgrade on server”

  1. ciuly says:

    I also had to rebuild the php extensions in order to get some stuff moving and of course I still have to update ex-joomsuite but I do have some problems as it appears that the ftp (from php) is not working.

  2. ciuly says:

    well, one thing is for sure: php 5.3.1 is not yet supported by many of the widely used php based scripts/cms/etc out there (including WP). so swiching back to 5.2 branch.

Leave a Reply

This blog is kept spam free by WP-SpamFree.