How to get client IP with PHP behind AWS Elastic Load Balancer
If a PHP application server is located behind Amazon Web Service’s Elastic Load Balancer, or another type of proxy server, it is likely that the traditional mechanism for retrieving the end user’s IP...
View ArticleUsing SSH instead of FTP for WordPress updates
Under certain server configurations and conditions, WordPress may require an FTP connection to retrieve and process core, plugin, and theme updates. If you only see an option for FTP on this screen,...
View ArticleMigrating to ZF2: Integrating Composer and DoctrineORMModule
Due to the vast nuances of Zend Framework 2, migrating an application from Zend Framework 1 can be very tedious. To make this process a little less painful, there is a way to slowly implement modules...
View ArticleIssues with jQuery and ZendFormElementCheckbox
In addition to the more obvious backwards compatibility breaks encountered when migrating from ZF1 to ZF2, there are also more nuanced changes. In this particular instance, the migration to ZendForm...
View ArticleZF1-ZF2 bridge project available on GitHub
The ZF1-ZF2 Bridge project, based on last week’s post on migrating Doctrine 2 from Zend Framework 1 to Zend Framework 2, has been posted to GitHub. The bridge project accomplishes the following goals,...
View ArticleTPC! Memory Usage 0.9.1 released
After receiving countless emails from supportive users (some nice, some not so nice!), I put the TPC! Memory Usage project back on my ticker. Despite the vast number of updates to WordPress since...
View ArticleHow to install Apache HTTP Server service script
Recently, after some software and hardware changes, I was forced to rebuild a CentOS 6.5-based virtual machine. Because the CentOS repository does not include Apache HTTP Server 2.4, and I’m not a big...
View ArticleUnit testing multiple ZF2 modules at once
Although it’s been over a year since the release of Zend Framework 2, I have yet to see compelling documentation on how to execute unit tests for an entire application. If you are using Zend Studio...
View ArticleHow to improve deeply flawed one-year-old SimCity 5
I was exposed to the SimCity franchise at the beginning, when SimCity boasted a 2D top-down view with zoning represented by green, blue, and yellow squares with a letter centered in the middle of the...
View ArticlePHP Benchmark: count() vs. empty()
In my experience, PHP is not a very “fast” language. Opcode and memory caching are important to many large projects, but they will not make up for poor decisions made when writing code. In recent...
View Article
More Pages to Explore .....