PHP Developer

My notes and thoughts about Linux, WordPress, PHP and many more.

  • February 8, 2018

    Override upload_max_filesize and post_max_size on a per site basis in PHP-FPM Apache server

    Basic Steps This quick tutorial shows how you can override `upload_max_filesize` and `post_max_size` on a per site basis. This assumes you are using Apache server, PHP-FPM handler and WordPress. This tutorial assumes you have shell access to your server so you can restart Apache or PHP-FPM (this is optional but recommended). By default, there is only one default `php.ini` loaded on a server. Sometimes some virtual sites in your server might need specific configuration values that you don’t want …

  • May 1, 2011

    Apachebench Tutorial ab testing Tool Example in Ubuntu Lucid Lynx

    Is there a time when you are thinking how to do a server load testing to evaluate your PHP web application performance? This is where you will be using the Apachebench or “ab” testing tool. This is a very useful open source tool not only to PHP developers but to the entire users of the Apache server. This tool is used to evaluate the execution times of your PHP web application or the response time of your website under “stressing” conditions. This condition means how your PHP web application wil …

  • November 28, 2010

    Keepas tips- Copy Paste Putty Username & Password at Command Line

    Using Keepas and PuTTY you can make your login secure using a command line tool for communicating with an SSH server. If you are a webmaster, you should be using SSH for uploading and downloading files because they are more secure than using FTP method. SSH encrypts communication between your computer and the SSH server in your hosting company. So if Mr. Bad Guy is monitoring your communications, he will be greatly disappointed. PuTTY though is much more challenging than FTP particularly that th …