change php settings using php.ini and .htaccess in cpanel
Due to the popularity of my previous post that guides how to increase upload_max_filesize on cPanel server I decided to create a more general article, that covers changing of other PHP settings using php.ini and.htaccess files.
In this article we will change the following php settings:
- memory_limit – maximum amount of physical memory that can be allocated to PHP script
- max_post_size – maximum size of data that can be transferred via POST method
- register_globals – this variable allows to enable or disable register_globals
- file_uploads – enables or disables file_uploads
First we will create our custom php.ini file:
- Login to your cPanel account, open public_html directory and create blank php.ini file
- Put php settings that you would like to change into the file. I will put all php variables, but if you would like to leave default values for some of them you can exclude them from the list
[PHP]
; increase php memory_limit to 128M
memory_limit = 128M
; increase php max_post_size to 20M
max_post_size = 20M
; enable file uploads
file_uploads = On
;disable register_globals
register_globals = Off
- Save php.ini file
Next we will create a custom .htaccess file. This is the most important step!
- Edit .htaccess file and put there the path to your php.ini file. Replace “/home/whz/public_html” with path to your php.ini file. If your php.ini file is located in public_html directory, you only need to replace “whz” with your cPanel username
suPHP_ConfigPath /home/whz/public_html
- Save .htaccess file
Collected
FULLZ & TOOLS
ReplyDeleteHello to All !
We are offering all types of Fullz & Tools.
If you are in search of anything regarding fullz, tools, tutorials, Hack Pack, etc
Feel Free to contact:
***CONTACT 24/7***
**Telegram > @leadsupplier
**ICQ > 752822040
**Skype > Peeterhacks
**Wicker me > peeterhacks
"SSN LEADS/FULLZ AVAILABLE"
"TOOLS & TUTORIALS AVAILABLE FOR HACKING, SPAMMING,
CARDING, CASHOUT, CLONING, SCRIPTING ETC"
**************************************
"Fresh Spammed SSN Fullz info included"
>>SSN DOB FULLZ with complete info
>>CC With CVV (vbv & non vbv) Fullz USA
>>FULLZ FOR SBA, PUA & TAX RETURN FILLING
>>I.D Photos Front & Back
>>High Credit Score fullz (700+ Scores)
>>DL number, Employee Details, Bank Details Included
>>Complete Premium Info with Relative Info
***************************************
COMPLETE GUIDE FOR TUTORIALS & TOOLS
"SPAMMING" "HACKING" "CARDING" "CASH OUT"
"KALI LINUX" "SCRIPTING"
"TOOLS & TUTORIALS LIST"
=>Ethical Hacking Ebooks, Tools & Tutorials
=>Bitcoin Hacking
=>Kali Linux
=>F***d B***e
=>RAT
=>Keylogger & Keystroke Logger
=>WhatsApp Hacking & Hacked Version of WhatsApp
=>Bitcoin Flasher
=>SQL Injector
=>Premium Logs (PayPal/Amazon/Coinbase/Netflix/FedEx/Banks)
=>Bitcoin Cracker
=>SMTP Linux Root
=>Shell Scripting
=>DUMPS with pins track 1 and 2 with & without pin
=>SMTP's, Safe Socks, Rdp's brute
=>PHP mailer
=>SMS Sender & Email Blaster
=>Cpanel
=>Server I.P's & Proxies
=>Viruses & VPN's
=>HQ Email Combo
*Serious buyers will always welcome
*Price will be reduce in bulk order
*Discount offers will give to serious buyers
*Hope we do a great business together
===>Contact 24/7<===
==>Telegram > @leadsupplier
==>ICQ > 752822040
==>Skype > Peeterhacks
==>Wicker me > peeterhacks