Install PHP Common Libraries on Ubuntu

I'm using LAMP Stack on my Ubuntu desktop for my development environment. So i'm writing this article so i know what to install when i move or change my laptop. There are some PHP libraries that i must have to develop application using WordPress, Laravel, Codeigniter, PHP Slim Framework, etc.For fresh install Ubuntu i need to install PHP common libraries i need with this command: … Read more...

Install Git From Source On Centos

If you install Git from repository On Centos 6.5, you will the the old version of git v1.7.x. But i need to use a feature that only available on git v1.8.x or more, for example git pull --recursive, this command is for update git repository along with the submodules.So to fix it, i need to compile git from the sources. To do that you need to install some of the requirements as the command below:To install Git from Sources follow the steps below:I have been developing an auto deployment … Read more...

Fix PHPMyAdmin Error When Using suPHP on Ubuntu 14.04

Since i move to Ubuntu recently, i need to setup all the development environment. My stack is using Nginx with Apache + PHP as the webserver and use MySQL as database. Since i don't like to useas the home directory for the apache, i moved it to my /home/ivan/public_html folder. And to make it easier, i need to change PHP to run as my user role. For that i install suPHP module on Apache, and then chmod 755 all the php files. Everything is working correctly, except PHPMyAdmin, since … Read more...

Back to Ubuntu after so long

It was 3 years ago i used Ubuntu for my main primary operating system. As a web developer using Linux based Operating system make things easier. My last Ubuntu Desktop was Ubuntu 10.10 Maverick Meerkat. Now 3 years has passed and when i come back, i saw that Ubuntu has grown so fast, now i install Ubuntu 14.04 Trusty Tahr as my primary operating system back again.My first impression was great, it was fast and lite, the Unity UI is smooth and easy to learn. But i feel it more like Mac OSX. … Read more...

ModSecurity Error: UNSUPPORTED DELAYED Rules: Remote File Injection attempt in ARGS

ModSecurity is an open source web application firewall. Working embedded in the web server, or standalone as a network appliance, it detects and prevents attacks against web applications. ModSecurity most of time embed with Apache webserver to block malicious request to the server. But recently I found an annoying false positive block with ModeSecurity. The error is like this:I created a test case that you can try it [here] (http://www.ivankristianto.com/examples/modescurity/), if you submit … Read more...

Freenas 9.2.1 Bugs: CIFS cannot have file modified permission by default

I'm using Freenas for more than 2 years for our internal centralized file storage in our company. It is free and open source and have a lot of features. One features that i like the most is ability to limit access to certain data set per user or group. And they are using CIFS with Samba, and since i upgrade to Freenas 9.2.1, which use Samba 4.1.3 and and cause a problem with file modified permission by default.I got a lot of reports from my team mates as soon as i upgrade to Freenas 9.2.1, … Read more...

PHP Script To Test Send Email

Sometimes sending email could be pain in the ass for some server. Especially if it is a share hosting that has blacklisted IP, and all the emails it send either go to spam box or doesn't deliver at all. As one of my services, is deploy a web application and most of the time sending email from my staging server is completely fine, but not in the client hosting server.So because i'm checking it over and over, in my free time i create a simple script to send email from the server. If you are … Read more...

Save Your Gmail Inbox Space By Delete Old Attachments

I have been using Gmail for my primary email communication for several years. It is great and fast and also convenience as well. But recently i have an issue, i almost run out of spaces. By the time i'm writing this this email Gmail only give 15GB of email storage. And i'm using 95% of it. The recent that it is full because i did email some clients with large attachment.So i found a way to search those email and i delete them all, and i could save a lot of spaces. Here is how i do it:I … Read more...

Create Google App Engine For PHP

A couple of months ago Google App Engine announced their support for PHP. And it is the fourth language supported by Google App Engine after Phyton, Java and Go. Now for all the PHP Developer this is a good news, so we could use Google App Engine power for own web applications. So now i would like to share a little bit how to start your own Google App Engine using PHP. And imagine that you can use WordPress or Laravel framework with Google App Engine.Please follow the step by step … Read more...

Transfer Your Files Wirelessly Between Your Android and Computer

Transfer files between computer between mobile Android phone now doesn't need any cable. And also I'm not saying that you are going to use Bluetooth, since Bluetooth file transfer is very slow. But I'm going to share how to transfer it using Wireless 2,4 Ghz or you may say Wi-Fi technology. Transfer file using Wi-Fi is relatively easy and I'm about to show you how to do it.To transfer your file using Wi-Fi you need to make your mobile phone as a FTP server. You can install FTP server for … Read more...