Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Joomla! Web Security

You're reading from   Joomla! Web Security Secure your Joomla! website from common security threats with this easy-to-use guide

Arrow left icon
Product type Paperback
Published in Oct 2008
Publisher
ISBN-13 9781847194886
Length 264 pages
Edition Edition
Tools
Arrow right icon
Toc

Table of Contents (16) Chapters Close

php.ini


Our next security layer is php.ini. A php.ini file enables you to customize your Joomla! site, changing settings such as turning on or off global variables. It controls other factors such as the maximum allowed file size for uploaded files and even the default upload directory.

But What is the php.ini File?

This handy configuration file gives you the ability to change the behavior of your PHP server. You can change the locations of file paths, various parameters, turn the extensions on and off, and much more.

Note

When I was installing and running the popular extension DOCman on a website, I ran into a situation where the documents were too large and were giving me an error. I was able to resolve this by changing the maximum memory settings (upload_max_filesize = #M) to a memory setting larger than the largest documents inv php.ini.This resolved the error and the site ran fi ne after that. Changing items such as the maximum memory is easy, quick, and gives you a fl exible design...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image