Linux

No GD Library For PHP By Default on CentOS 5

Posted: December 30, 2009

I recently installed CentOS 5.3 version of Linux on a new testing server and started configuring all of the bells and whistles. I made some initial tweaks to Apache, MySQL, and PHP to set up my web server test environment. Everything seemed to be running smoothly until I happened to run an older PHP script I wrote to manipulate image files. The script resizes and renames image files in specified directories. Only one problem, the script was dying without a trace, no errors, nothing.

Need to Upgrade PHP on Fedora Core 4?

Posted: April 9, 2009

If you are still using the Fedora Core 4 (FC4) version of Linux you may have a need to upgrade your version of PHP. Unfortunately the Fedora Project hasn’t put out an update to PHP past version 5.0.4. There have been some functionality updates to PHP since then. The project I was working on at the time needed the functionality of SimpleXML (for handling XML responses; built into PHP 5.1.4 or higher).

The easiest way to upgrade PHP on Fedora, in my opinion, is using YUM. YUM makes it easy to download and install rpm packages on Linux systems. So let’s take a look at what we need to do.

Problem Updating RPMs Using YUM

Posted: April 9, 2009

I was working on a Linux system that is running Fedora Core 4 and needed to install some updates to the system. I was using YUM because of the easy of use and how well it handles dependencies with rpms.

When trying to update the system I received the following error:

[root@yourlinuxbox ~]# yum -y update php
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: updates-released

About This Site

WDBuc.com is the web site and blog of William D Buchanan, a web developer and technical consultant in the Tampa, Florida area. More...