Skip to main content

Update Php.ini values from htaccess

Add the below code to change the default php.ini settings

1) Upload Max Filesize
2) Post Max Size 
3) Max Execution Time 
4) Max Input Time 
5) Memory Limit 


#Update Php.ini values from htaccess
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value max_execution_time 600
php_value max_input_time 600
php_value memory_limit 512M


we can also update in php.ini or .user.ini.

Comments

Popular posts from this blog

Ionic framework Basics - 1

Ionic framework Basics - 1 1. Install Node.js check node js is installed Goto CMD   > type npm --> to check node js is installed   > if not install node js 2. Install git (if necessary) 3. Install Ionic: > check ionic is installed or not   > ionic Installing Ionic: > install ionic cordava -install 4. Creating a blank project in Ionic : Upto 3.19.0 ver > ionic start myApp blank --v2 3.19.1+ ionic start saiApp blank --type=ionic-angular saiApp  >>> your app folder --v2   >>> ionic version 5. Running an ionic App: Goto your App folder ( saiApp ) type > ionic serve -w chrome -lab dev server running: http://localhost:8100/ >>> Files in ionic > src >> component.ts > pages >> home (default) >>> home.html >>> home.ts -------------------------------------------- Tips: 1. ionic start --help 2. You can downgrade to your old version b...

How To Install XAMPP/LAMPP Stack On Ubuntu 16.04 64bit Step by Step

Install XAMPP/LAMPP 64bit Stack Step by Step:   Step1:  Open Terminal   Step2:  Before installing the package, create a directory.  user1@user1:~$ mkdir xampp  user1@user1:~$ cd xampp/  user1@user1:~/xampp$  * it creates a folder in HOME   Step3:  Download the XAMPP/LAMPP package by using the wget command  user1@user1:~/xampp$ wget https://www.apachefriends.org/xampp-files/5.6.20/xampp-linux-x64-5.6.20-0-installer.run     Step4:  Run the following command to make XAMPP execuatable.  chmod +x xampp-linux-x64-5.6.20-0-installer.run   Step5:  Install XAMPP stack as shown below.  sudo ./xampp-linux-x64-5.6.20-0-installer.run  [sudo] password for user1: