How to Upgrade AutoIndex 2.2.4 to PHP 7

I posted back in September 2017 that I am a fan of the AutoIndex PHP script. See my post “Bootsrap 3 Responsive Template for AutoIndex PHP Script“.

Many ISPs and web designers are moving to PHP  7.x, the current version of PHP.  Unfortunately this causes AutoIndex to stop working. It will throw an error referring to a magic_quotes function call on line 122 of the index.php file:

Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime()

The magic_quotes function was taken out of PHP 7.x. But have no fear, it turns out that the solution is not too difficult.   Continue reading “How to Upgrade AutoIndex 2.2.4 to PHP 7

Don’t Forget About SELinux

Recently we decided to move some of our web applications, as well as this blog, to a new cloud server provided by DreamHost.com and their new DreamCompute OpenStack cluster in Virginia. Starting with a minimal install of CentOS7, we built a fairly standard LAMP server. Once we got the new server stable, we moved the apps over. The web apps hosted on our new server are GeekGlossary.com and jobs.beausanders.org. For the sake of this post, you need to know both of these apps have similar backup routines and logging functions. Continue reading “Don’t Forget About SELinux”

Digital Atomic Wall/Desk Clock with Thermometer from Walgreens

I am a bit OCD when it comes to time. I always have clocks around me. I especially like atomic clocks that synchronize with www.time.gov in Boulder, Colorado.

Back in 2003, our local Walgreens ran a special on atomic clocks for about $20.00 each. At that time atomic clocks were not as easy to find as they are now (just research them on amazon.com and see how many come up). I ended up buying two of these clocks – Model #701070 Item #C17D1775. Continue reading “Digital Atomic Wall/Desk Clock with Thermometer from Walgreens”

Dryer Vent Project – Week of February 11, 2008

After 25 years of drying clothes and constant clogging with lint, it became apparent to Sharon and I that it was time to replace the old plastic accordion type dryer vent pipe with something more safe and durable. Our dryer had started overheating and turning itself off to keep from starting a fire, all due to a clogged vent pipe. A couple of years ago we paid a local home repair company about $500 to unclog the old pipe. They managed to punch holes in the old plastic pipe and could not clean out the whole length because of turns around corners. This time we decided to fix the problem properly. We hired a local general contractor to coordinate a week long renovation project. Continue reading “Dryer Vent Project – Week of February 11, 2008”

Slow Booting? Include RHEL/CentOS Linux hostname in /etc/hosts file

In a classroom or lab environment, it is easy to create non-typical situations and cause RHEL/CentOS Linux to behave badly. Such was the case over the past week for one of my personal lab servers. The server is stand alone and does not belong to a domain. It is not configured as a DNS or DHCP server at the present time. Continue reading “Slow Booting? Include RHEL/CentOS Linux hostname in /etc/hosts file”