Increase File Upload Size Limit in PHP-Apache, Changing File Upload Limits On Apache Server, phpinfo, upload_max_filesize, post_max_size, memory_limit
Almost for every developer and client it is headache to increase the file upload size on there site on Apache server. By default this value is 2MB. Means you can upload max 2MB size file at a time.
What is the value on your server check by following the below steps:
– Open ‘File Manager’ after login to cPanel
Open FileZilla and login to your host where you have your website files.
– Now in your favorite browser create and file with .php extension. File name can be anything.
– Add below code in this file.
<?php phpinfo(); ?>
How to Install VLD on Linux and OS X, php opcode, machine language, print opcode, print php opcode, dump opcode, how to use php vld extension
Vulcan Logic Dumper mainly known as VLD is a PHP extension by which you can see your PHP code in opcode format. This format will help advanced developers to optimize their PHP code. VLD hooks into the Zend Engine and dumps all the opcodes (execution units) of a script. It can be used to see what is going on in the Zend Engine.
This extension’s all versions are in beta state and probably will never be in stable state(as per vld developers)
Latest Version: 0.12 Compatible Upto: 5.5
What is OPCODE(operation code) – Young Tech Leads, php opcode, machine language
An opcode(operation code) wiki is the single byte of an instruction in machine language which tells the hardware what operation needs to be done. Every processor/controller has its own set of pre defined opcodes in its architecture. An opcode is followed by data like address, values etc if needed.
Ajaxify WordPress Site(AWS)
Ajaxify WordPress Site will load posts, pages, search, header, sidebar, footer sections etc. without reloading entire page. This was my first plugin and is still a little quirky. This will ajaxify your website. All the front end links will turns to ajaxify.
Download Link: Download
What is Sitemap
A sitemap is over simply an inventory of links on your web site that makeup the “site” , it’s a simple method for the search engines to know what your website is concerning.
Generate your Sitemap
If you are about to create your web site sitemap, you should know that there are multiple free sitemap generators out to help you create your web site’s XML sitemap. once you are done with generating sitemap, put it aside to your web site. remember that you have to update your sitemap time to time whenever you make changes in your web site. Now it is time to ping the search engines(Google, Bing) to inform them to appear for the update.
Recently I have started using MAC OS X. Today I came across nice and smart way of taking screen shots of your screen using Keyboard keys combination.
Every designer / developer / tester are aware of that at some purpose throughout a project there’ll plenty of screen-shots required. Yes, third party applications usually get this job, however if you’re a MAC OSX user, you can do the same without having any third party tool. This can be done using combination of you MAC keys.
PHP – remove empty values from array
An easy and quick way to remove the empty value keys from an array is given below.
Lets assume below is our array
$array = array(‘data1′,”,’data3′,’data4′);
Now if we print this array using below code
10 Powerful Linux Command You Should Try! We all know that the most powerful Linux thing is its Command line. Because you can do almost everything from Linux command line. You can easily instruct your computer what exactly you are looking for and it comes back to you with appropriate data. Not only that there are some commands that makes command line even more powerful!
Here we will learn How to enable or allow htaccess file on apache server to override your default server configurations. But before that we will quickly see what is htaccess file.
What is htaccess file?
htaccess is a hypertext access file using which web master can override the Apache server default configurations as per their requirement.
Such modifications of default configurations are applicable on directory in which .htaccess file is resides and on all the succeeding directories.
But before you start writing any code in .htaccess file you have to confirm whether this file has permission to override the default configuration or not.
In most of of the time while we are writing a plugin and doing some AJAX call into this we often including wp-load.php file. It is obvious that to access the WordPress core functions we need to established the WordPress environment. But some time it also happened that WordPress environment is already established though we are including the file which lead to decrease our site performance. So now the question is Check whether the WordPress environment loaded or not