Posts Tagged ‘PHP’

Updating PHP in RHEL/CentOS 5.6 for WordPress 3.2

Try doing yum install php53 on a RHEL 5.6/CentOS 5.6 system, and see the following:

--> Finished Dependency Resolution
php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
  --> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Not pleasant right? Seems the only workaround is to issue a yum remove php php-cli php-common, watch the dependencies and reinstall everything. The only thing that seems to be missing? php53-tidy.

Restart Apache (service httpd restart). Update WordPress. If you miss on restarting the web server, it won’t detect the newer PHP install and WordPress will just show you a magical message as follows: “You cannot update because WordPress 3.2.1 requires PHP version 5.2.4 or higher. You are running version 5.1.6.”

Video: Interview with Microsoft’s PHP Evangelist

I caught up with Zach Skyles Owens, a PHP Evangelist at Microsoft. If you missed the embed, watch the video. I have some sparse notes below.



I learned some new things:

  • Microsoft spends time working with the PHP community
  • They are porting applications to work with an SQL Server backend
  • They are ensuring that the language should “just work”, with the IIS and SQL Server stack. This is quite different from the usual AMP (Apache = server, MySQL = database, PHP = language) stack that we’re quite accustomed to.
  • There is a Microsoft Web Platform, and there’s a Web Application Gallery, that brings in dependencies that you need, to use popular open source software packages.
  • Drupal for example, is a featured application, for the PHP on IIS stack. If the software allows, it brings in SQL Server Express Edition; otherwise, it even brings in MySQL!

Malaysian Government releases first Open Source software package – MyMeeting

Today marks a big day in the history of the Malaysian Government – they’ve released their first fully open source software package, MyMeeting.

Poking around their Trac installation, they use PHP and MySQL 5 (5.0.51a from Ubuntu, even!). Of course their install documentation suggests a lot of Windows usage, but this is a step in the right direction.

Give it a twirl. Report bugs. How many more governments out there are writing and releasing open source software packages? Or is this a first?


i