Tag: php

How to install php-mcrypt module on CentOS 8 with PHP 7.4

A recent migration to a CentOS 8 server from CentOS 6 did not go as smoothly as planned. As well as imagined, everything was upgraded along the way.  PHP 5.x to PHP 7.4 for example. One web application had been running smoothly on PHP 5.x for many years. However, after the migration, complained that php-mcrypt needed to be installed. The…

Read More »

NFL Pick ‘Em buildSchedule.php for any season

I have been playing around with the buildSchedule.php component of NFL PHP Pick ‘Em as this is the component that makes it all possible to generate tables needed to create the SQL script to import into the new season.  My previous post on this subject required a spreadsheet, which never really was necessary.  Even though the output filename contains a…

Read More »

NFL Pick ‘Em for 2019 Season

NFL PHP Pick ‘Em is a free php web app that allows you to host a weekly NFL pick ’em football pool on your website.  This fantastic tool replaced the use of spreadsheets.  There was a time that this tool was not supported.  However, I just checked out the www.phpickem.org website it is is updated for 2019. I wish I…

Read More »

Upgrade PCRE from 7.8 to 8.x on CentOS 6

A WordPress plugin required PCRE 8.x for it to work. The following instructions were taken from the source cited below and worked flawlessly. The step below determined the version of PCRE and whether there was PHP support for it. To install the newer version of PCRE create a link to the repository. Yum update Check the version Restart Apache Downgrade…

Read More »

PHP 5.3.3 with IIS7.5 on Windows 7

In previous versions of Windows with IIS installed, the installation of PHP could be difficult. Instructions were inconsistant and there were too many variables that could have gone wrong. The installation woes of IIS seem to be a thing of the past. In one rare instance, using an article, titled Installing PHP on Windows 7, that was found in a…

Read More »

Can’t access PHP IIS7 via IP Address – RESOLVED

There are a few good articles as to how to install PHP on a Microsoft Windows Vista 64 bit edition. One of which is titled Vista 64 – IIS 7 – PHP x64. However, once installed, you may encounter the ability to access the website via localhost or with 127.0.0.1, however, not via the IP address of the computer. After…

Read More »

PHP 5.3.2 with IIS6 and FastCGI Installation Guide – Updated

There are many articles on the web that detail the installation of PHP on IIS6. Older, dated articles use the ISAPI that is no longer under development nor packaged with the more current versions of PHP. When an article describes the the installation of FastCGI for PHP and IIS, it is generally assumed that you have a working installation of…

Read More »

WordPress Tip: Add modified dates to posts

On more than one occassion, I have read through an article that seamed relevant until I realized that the date of the article maybe years old. In many cases, the authors have made changes to the article, but the reader really isn’t sure about the content of the article because of the age, so they simply pass over the article,…

Read More »

BigDump for large MySQL Databases

BigDump performs a staggered import of large and very large MySQL dumps similar to those of the phpMyAdmin 2.x dumps into a new or an existing MySQL database. Other reasons for using this script is if in the even access to the server shell is not possible or for what ever the reason the import fails using phpMyAdmin due to…

Read More »

GZip files with .htaccess and PHP that works with WordPress

Lately, I have been burning through bandwidth. I had thought that I have enabled all possible tweaks until I discovered that there is an additional work-a-round that will use gzip compression for PHP, CSS, and JS files. While there are more simplified solutions for use, WordPress installations create additional obstacles that this code addresses well. The results may be measured…

Read More »

The purpose of the wp_head code in WordPress

It has been asked by many as to the purpose of the code that is added to the header of many modern WordPress themes. This code is to reside just above the of the header. There is very little detail in the reference to this this code online only it’s usage and placement within WordPress. I recently encountered a theme…

Read More »

Instantly populate a FileZilla fzdefaults.xml file and distribute

A group of users needed to change from one FTP client application to another. There was no conversion available for the original FTP application, only a spreadsheet that had been maintained. There was a need to bulk add a couple of hundred ftp accounts into a new FTP client. The selected FTP client is FileZilla. A little known tidbit about…

Read More »

Decoding the obfuscated base64 php

WordPress is quite versatile. The ability to customize, tweak, manipulate code, and or change plugins and themes are among the top reasons that it is so popular today. However, there are those who maliciously and intentionally add code that generally cannot be changed. This code is often encrypted or obfuscated so that it may be masked as legitimate code. Often…

Read More »

Enable Curl support for php in Windows

I had been testing an installation, where I encountered an error that curl support was needed to continue. After a little research, I found the following to work for me. After restarting the service, curl was recognized and the installation was permitted to continue.

Read More »

Change forgotten WordPress password

If you have ever forgotten your WordPress password, there is a work-a-round, change it. The WordPress password uses an MD5 version of the password that may have been selected. Generate a new MD5 password using the tool below. Replace the MD5 password in WordPress with the one generated. This, however, is only valid for WordPress installations up to version 2.3.3….

Read More »