Increase File Upload Size Limit in PHP-Apache

Increase File Upload Size Limit in PHP-Apache, Changing File Upload Limits On Apache Server, phpinfo, upload_max_filesize, post_max_size, memory_limit

PHP Upload LimitAlmost 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
or
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(); ?>

Read more

How to Install VLD on Linux and OS X

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

PHP WorkflowVulcan 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

Read more

What is OPCODE(operation code)

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.

PHP opcodes

Manually Ping your website Sitemap to search engines

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.Manually Ping your website Sitemap to search engines

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.

Read more

MAC OS X Key combination for Screenshot

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.

Read more

How to enable or allow htaccess file on apache server

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?

How to enable or allow htaccess file on apache server

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.

Read more

Check whether the WordPress environment loaded 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

Read more

1 2 3 5