home.pl: Nr 1 w Polsce. Domeny, Hosting, Serwery WWW, Strony, Sklepy

Pomoc i Baza wiedzy

Przejdź do home.pl >
  • Artykuły
  • Obsługa panelu
  • Obsługa poczty
  • Płatności
  • Inspiracje
  • Komunikaty
  • Kontakt
home.pl: Nr 1 w Polsce. Domeny, Hosting, Serwery WWW, Strony, Sklepy

Pomoc i Baza wiedzy

Przejdź do home.pl >
  • Artykuły
  • Obsługa panelu
  • Obsługa poczty
  • Płatności
  • Inspiracje
  • Komunikaty
  • Kontakt

English

home.pl - wspieramy rozwój firm w internecie

Wyświetl więcej wyników...

Generic filters
Exact matches only
Search in title
Search in content

zmiana hasła do pocztyaktywacja certyfikatu SSLprzypisanie domenypołączenie FTPzmiana wersji PHP w .htaccess

Centrum pomocy / Wszystkie kategorie / English / How to edit php.ini on shared ...

How to edit php.ini on shared servers?

Ostatnia aktualizacja: 22 grudnia 2025
  • PHP settings

The .htaccess file and the .php.ini file placed on the Apache server allow you to enter numerous additional settings for the entire server, directory or web page. The privilege of using configuration files has only owners of hosting servers. for example, the popular services in our offer.

Secure mail? Fast website? Always online? Check our offer: servers, domains, SSL certificates, antivirus software or Office 365. Any questions? 24h/7/365 technical support. We are talking in English.

The php.ini file is a configuration file that allows you to define PHP settings on the entire server or directory to which the domain has been redirected. Using the php.ini file to store configurations is a very good solution due to:

  • unimaginable memories,
  • the ability to group data into sections,
  • the ability to define PHP settings only for the selected domain (directory).
You create the php.ini file yourself and place it on the FTP server. Do not know where to download all the above information about your FTP account? Use a dedicated article in the Help Center. Read, where can I find login and password to access FTP?

You can use the two following examples that set the indicated directive as enabled:

asp_tags = 1
or
asp_tags = on

How to use the php.ini file?

The php.ini file must be placed in the root directory to which the domain is being redirected.

If domain is redirected to a subdirectory, then the php.ini file must be placed in this directory.

If domain is directed to the server’s root directory „/”, then the php.ini file must be placed in the root directory. is directed to the server’s root directory „/”, then the php.ini file must be placed in the root directory.

Attention! Applies to Apache hosting and PHP versions from 8.0:
If domain is redirected to the directory with the website separation function disabled, this php.ini file must be placed in the server’s root directory.

Popular PHP directives that you can change on the server at home.pl

Below you will find a list of the most important directives that you can change on the server at home.pl. Place selected directives in the php.ini file and publish this file on the server in the appropriate location:
DIRECTIVE DEFAULT VALUE WHAT DOES IT DO?
asp_tags Off The ability to use <% %> instead of <?php?>.
display_errors On Responsible for displaying errors to users or hiding them.
error_log no value Specifies where the logs will be saved. We give the path from the ROOT directory to the file with logs such as „/logs/php_errors.log”.
error_reporting Off Decides what kind of errors will be logged:

  • E_ALL
  • E_NOTICE
  • E_STRICT

Applied combinations:
E_ALL & ~E_NOTICE

include_path .:/:/usr/local/php/pear5 Indicates where the functions require (), include (), fopen (), file (), readfile () and file_get_contents () are to search for files.
log_errors Off Determines whether errors will be logged (applies only to login in the scope of the client, system logs are collected by home.pl as part of a physical server).
magic_quotes_gpc On In the past used mainly for protection against SQL Injection. Click here to check how to turn off the magic_quotes_gpc function on the server at home.pl.
memory_limit 128m Specifies the memory limit for executed scripts on the server. The default value is 128M. Users using Professional Line servers can increase this parameter to 512 MB
post_max_size 64M The size of data sent by POST.
register_globals Off Global variables are responsible for the possibility of using, among others from variables sent to the server.
safe_mode Off Enabling safe_mode implements all subordinate safe_mode variables.
safe_mode_exec_dir /usr/local/php/bin The system () and exec () functions will not start the program if it is not in the indicated location.
safe_mode_gid Off safe_mode by default checks user UID, setting to ON makes sure that GID will be checked.
short_open_tag On Allows the use of a shorter <tag ?>.
upload_max_filesize 64M Must be less than or equal to „post_max_size”.
max_input_vars 2000 The number of variables that can be passed in an HTTP request.
session.cookie_domain no value
Under which domain the session will be served. Possible values:
  • session.cookie_domain=domena.pl
  • session.cookie_domain=www.domena.pl

For servicing sessions from many subdomains:

  • session.cookie_domain=.domena.pl
session.save_path /tmp Directory in which session files will be stored.

An example of the contents of the php.ini file:

error_log = /plik_logow.log
error_reporting =  E_ALL & ~E_NOTICE
log_errors = 1
display_errors = off

More information about other PHP settings:

More information about other PHP settings that you can change, among others using the php.ini file, go to: http://php.net/manual/en/ini.list.php

On the page provided you will find information about the available PHP settings. If the chosen directive in the column „Changeable” will be: „PHP_INI_SYSTEM”, it means that you will not be able to change this setting on the server at home.pl.

  • Czy artykuł był pomocny ?
  • Tak   Nie

Powiązane artykuły

  • Zmiana ustawień PHP w pliku konfiguracyjnym php.ini
    Jak zamówić Usługę informatyczną? Informacje podstawowe Cel świadczonej usługi Zakres i miejsce świadczenia usługi Podsumowanie: Zmiana ustawień w pliku konfiguracyjnym PHP Cena świadczonej usługi Jak...
  • How to upload files to an FTP server?
    You can upload files to an FTP server without installing any other software. You can use the WebFTP tool located in the Customer Panel. Uploading...
  • How to make a new FTP user?
    When you have a server, you can upload files on it using an FTP connection. You will need FTP access data and an FTP user...
  • How to order and activate an SSL certificate?
    The process of launching the SSL certificate for e-mail and website has its beginning in the registration (purchase) of the service. Then follows the SSL...
  • Server anti-spam settings
    On the server at home.pl there is a change of the so-called global sender white and blacklist settings that apply to all email inboxes created...

Wyświetl więcej wyników...

Generic filters
Exact matches only
Search in title
Search in content

zmiana hasła do pocztyaktywacja certyfikatu SSLprzypisanie domenypołączenie FTPzmiana wersji PHP w .htaccess

lub
sprawdź kategorie pomocy
i wyświetl 2055 wpisów
Affinity alias skrzynki e-mail analiza wydajności Autenti autostart AVG ccTLD cryptolocker delegacja domeny domeny europejskie Dropsuite DV ebook edytor wordpress ESET filmy formularz formularz kontaktowy import IPv4 kod podarunkowy kod śledzenia konfiguracja domen litespeed login MAC MySQL Panel klienta PDF PERL Poczta home.pl popularne wtyczki portfel elektroniczny prawo programy antywirusowe przekierowanie ransomware rejestr zakupów reklama sklep internetowy szyfrowanie WebFTP Windows 10 WP.pl zdjęcia

Kategorie

  • Komunikaty
  • Dla biznesu
  • Rozliczenia i dokumenty

  • Porady i inspiracje
    • Rozrywka
    • Rozwój online
    • Wykorzystanie narzędzi AI
    • Kursy
      • Kurs HTML
      • Kurs PHP
      • Kurs SQL
    • Dla biznesu
      • Prowadzenie własnej firmy
  • Asystenci AI
    • Asystenci AI w firmie
    • Instrukcje
  • Rozwiązania serwerowe
    • Serwery VPS
      • VPS Linux
      • VPS Windows
    • Panel Plesk
  • Cyberbezpieczeństwo
  • Strony WWW
    • Kreator stron od home.pl
      • eCommerce
      • Moduły
      • Ustawienia
      • Szablony
      • Publikacja i dodatki
      • Szybki start
    • Tworzenie stron WWW
  • Giełda domen
  • Certyfikaty SSL
    • Zamawianie SSL
    • Instalacja i konfiguracja SSL
  • Panel Klienta
  • Rejestracja usług
  • Usługi informatyczne
    • Przywracanie danych
    • Udostępnienie logów oraz analiza błędów
    • Operacje na plikach i bazach danych
    • WordPress
  • Programy
    • Pozostałe
      • Zoom
      • Adobe
      • SimplySign
      • Dropbox/Rozwiązania chmurowe
      • AVG PC TuneUp
    • Usługi Microsoft
      • CodeTwo
      • Teams
      • Microsoft Exchange
      • Windows
      • Microsoft 365 (Office 365
    • Czas wolny
      • Spotify
      • Tinder
      • CDA
    • Zdalny dostęp
      • AnyDesk
      • TeamViewer
    • Programy graficzne
    • Bezpieczeństwo
      • VPN
      • Antywirusy
      • Backup
        • Dropbox
        • Backup WWW
        • Dropsuite Email Backup
        • Acronis Backup
      • Ochrona WWW
      • SiteLock
    • eKsięgowość
    • Usługi Google Workspace
  • Poczta e-mail
    • Obsługa poczty webmail
    • Programy pocztowe
    • Poczta home.pl
  • Formalności
    • Kupowanie i przedłużanie usług
    • Faktury i dokumenty
    • Zmiana właściciela (cesja
    • Program partnerski
  • Domeny
    • Informacje podstawowe
    • Rejestracja / opłacanie
    • Konfiguracja domen
    • Transfer domen
  • Sklep internetowy
    • Shoper
    • Sellastik
      • Domeny
      • Instant Site
        • Szablony
      • Marketing
      • Obsługa zamówień
      • Pierwsze kroki
      • Produkty
      • Promocje i kody rabatowe
      • Wysyłka, dostawa, odbiór
      • Import i eksport
  • Hosting
    • Zarządzanie hostingiem
      • Połączenie SSH
      • WebFTP
    • Hosting PrestaShop
    • Serwery Unix
    • Serwer Apache
    • .htaccess
    • mod_rewrite
    • Bazy danych
    • Hosting dla WordPressa
    • Systemy CMS
      • WordPress
  • Reklama internetowa
    • Reklama w Google
      • Google Ads
    • Pozycjonowanie
  • English
    • Control Panel
    • Webmail
    • FTP
    • Microsoft 365 (Office 365
    • WordPress

Jak zalogować się do panelu eKsięgowość?

Prowadzenie własnej firmowej księgowości jest jeszcze prostsze z nowoczesnym programem do fakturowania – eKsięgowość. W...

Jak dodać zdjęcie do profilu użytkownika Microsoft 365?

Centrum administracyjne Microsoft Office 365 oraz Azure Active Directory są wielozadaniowymi platformami, za pomocą których...

Jak włączyć ciemny motyw na Facebooku?

Wielu użytkowników najpopularniejszego serwisu społecznościowego z utęsknieniem wyczekuje na ciemny motyw na Facebooku. Firma stopniowo...

Społeczność tworzona przez naszych specjalistów i klientów

Chcesz zapytać o nasze usługi? Znasz odpowiedzi na pytania innych? Forum.home.pl to przyjazne miejsce spotkań dla klientów home.pl.

Najnowsze wpisy na forum
pomoc home.pl

Karolina

Wiadomości na skrzynce same przenoszą się do Kosza

pomoc home.pl

devisu

Strona spowodowała zbyt wiele przekierowań

pomoc home.pl

Mikser

Dwie domeny kierujące na jedną stronę WWW

Nie możesz znaleźć odpowiedzi na swoje pytanie?

Nasze całodobowe Biuro Obsługi Klienta jest do Twojej dyspozycji.

  • Kontakt z BOK

HOME.PL

  • Nasza historia sukcesu
  • Praca w home.pl
  • Biuro Prasowe
  • Data Center
  • Polityka bezpieczeństwa ISO
  • Polityka jakości ISO
  • AI Learn About Us

PRODUKTY

  • Domena
  • Hosting WWW
  • Poczta e-mail
  • Kreator sklepu internetowego
  • Microsoft Office 365
  • Asystent Telefoniczny AI
  • Hosting dla WordPressa
  • Kreator stron internetowych
  • Certyfikaty SSL
  • Google Workspace
  • Programy antywirusowe
  • Serwery
  • Sklepy internetowe
  • Regulaminy usług

POMOC

  • Forum dyskusyjne
  • Kontakt
  • Blog
  • Program partnerski
  • Komunikaty i aktualności

NASI PARTNERZY

  • CloudBlue
  • Google
  • Mastercard
  • Microsoft
  • Pay U
  • Strona główna
  • Kategorie pomocy
  • Komunikaty
  • Forum dyskusyjne
  • Kontakt