Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best PHP.ini settings to improve security [closed]

Tags:

security

php

What core php.ini file settings we need to pay much attention in terms of improving security?

like image 707
nish Avatar asked Jul 30 '13 10:07

nish


People also ask

Where should I store PHP INI?

ini is usually located in /etc/php/8.1/fpm/php.

What is PHP security?

Since PHP is so popular, PHP security is essential and the number of vulnerable PHP applications is large. Most PHP web applications share parts of code or scripts with other web applications. If the shared piece of code is found to be vulnerable, all the applications that are using it are also vulnerable.


1 Answers

You can begin with:

http://www.cyberciti.biz/tips/php-security-best-practices-tutorial.html

it has a lot of practices to start dealing with security. This link provides several issues to start with such as:

  1. XSS
  2. SQL injection
  3. File uploads
  4. Including local and remote files
  5. eval()
  6. Cross-site request forgery - CSRF
like image 101
Christos Papoulas Avatar answered Oct 21 '22 17:10

Christos Papoulas