PHP

After a long while, I faced another problem which I solved and it feels awesome which I’m going to share right away! I must say, MySQL is awesome! The more you write MySQL the less you write PHP vice versa. So on this post I’m going to share how to input default column value with…

Read More MySQL Default Column Value with Control Flow Operations

After a cool morning on upgrading to Fedora 27, I faced an issue when i tried to resume a web project I was working on. Apache wasn’t running and I checked what was wrong with   And caught this error as part of the debug: Apache is running a threaded MPM, but your PHP Module…

Read More FIX: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe in Fedora

It’s funny though. One noon at Cafe Neo in Sabo, Yaba, I was waiting on my friend Magnus while he met his friend. Sipping my coffee and using my laptop, with the bad network there, I couldn’t browse with my GLO SIM; I then decided to play around. I exported my MySQL Database as JSON…

Read More PHP-JSONDB: A PHP Class that Reads JSON File as Database

Stumbled upon a very monstrous PHP project, very old of course, the client complained that the web host refused to downgrade the server for them and this project doesn’t work anymore because it was written with bunch of mysql_* depreciated function. Now it was my job to start editing these files one after the other,…

Read More MySQL2MySQLi: A Small Program to Help Migrate from PHP mysql_* to mysqli_*