Welchen Dateinamen muss meine PHP-Initialisierungsdatei haben?
You can configure some of your PHP settings using a PHP initialization file. The file name your PHP initialization uses depends on the type of hosting account you have.
Art des Hosting-Kontos | Dateiname | Ort |
---|---|---|
Linux-Hosting mit cPanel | .user.ini |
/public_html (einmal pro Konto) |
Windows Hosting mit Plesk | .user.ini |
Website-Root (einmal pro Website) |
Managed WordPress | .user.ini |
/html (einmal pro Website) |
Not all INI settings can be changed in a .user.ini
. Changes are limited to settings with the modes PHP_INI_PERDIR and PHP_INI_USER from the list of php.ini directives at php.net.
Ähnliche Schritte
- To see changes you made to the
.user.ini
file, check the PHP settings with a phpinfo file.
Weitere Informationen
- What is a .user.ini file?
- See the PHP documentation for more info on PHP files.