Here’s a quick script for reading a data file containing serialized data generated by PHP, and outputting it in a human readable format to a Linux command line interface. A short web search found no existing utilities for achieving this, so hopefully it will be useful.… Read the rest
Tip: Fix Composer package 404 errors with continuous integration servers
Is PHP’s composer package manager pulling in dependencies successfully on your development machine but failing on your continuous integration server? In my case, Drone.io, the young, ludicrously simple CI platform, was failing in setup of a PHP project because of strange 404 “Not found” errors.… Read the rest
Phpdbg debugger: quickstart guide and practical uses
phpList API sprint: results
The last two days I’ve been sprint-hacking the phpList public API. What is PHPList, why an API, and what is a sprint-hack, you may ask. The first is a Free Software MailChimp competitor established 10 years ago, and available to install or use as a service.… Read the rest
Set up a local web development server on Fedora 16 with Apache
The following procedure allows you to run your own webserver on Fedora 16, so that you can develop web scripts and applications and test them locally without an Internet connection. I assume that you’re using Gnome 3. Run the stated commands in a terminal – accessible via alt+F2, enter: gnome-terminal [press enter]
Login as root:
su
Install the Apache webserver:
yum install httpd
Configure Apache to handle requests to your local website:
nano /etc/httpd/conf/httpd.conf… Read the rest