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
  • Dla Biznesu
  • Komunikaty
  • Instrukcje wideo
  • 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
  • Dla Biznesu
  • Komunikaty
  • Instrukcje wideo
  • Kontakt

English

Od 25 lat wspieramy rozwój firm w Internecie

jak się zalogować, jak zmienić hasło, jak opłacić, gdzie faktura, przypisanie domeny.
Centrum pomocy / Wszystkie kategorie / English

How to edit php.ini on shared servers?

  • php.ini file
  • 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.

Attachments to download:

  • Sample php.ini file
  • 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 create an account and become a home.pl customer?
    Having a customer account at home.pl means having active services, for example: an active domain, an e-mail server or an online store. You can create...
  • How to change the password for the SQL database?
    Changing the password to the SQL database allows you to regain access to the database. Remember that changing the SQL database password may require updating...
  • How do you change your domain’s A or MX record?
    Domain records enable full domain configuration, for example: redirecting mail or web support to external servers. Unlike redirects, such as 301, they allow a much...
  • What are domain records?
    Domain records allow you to set up „traffic in your domain.” Every time an Internet user opens your website, or when you send or receive...
jak się zalogować, jak zmienić hasło, jak opłacić, gdzie faktura, przypisanie domeny.
lub
sprawdź kategorie pomocy
i wyświetl 2513 wpisów
5 domen abonament adres serwera AVG błąd 500 błędy CalDAV ciemny motyw CNAME Connection String cpanel log in DigiCert domena zagraniczna framework GIODO how to check how to set INDEX KIS OEM konto pocztowe Kreator Biznes mailer deamon metoda minimum MS Outlook Multi Pop-up nowy klient operacje Paczkomaty Inpost pasek nawigacji podkategoria polecaj pop3 name porównywarka produktów raport rejestracji reguły przepisania restore backup rynek serwer wirtualny status usługi tablica terminy wysyłki w budowie wizerunek zaawansowane opcje

Kategorie

  • Komunikaty
  • Dla biznesu
  • Rozliczenia i dokumenty

  • Aplikacje internetowe
    • Media społecznościowe
      • YouTube
      • Facebook
    • Przeglądarki internetowe
    • PayPal
    • CCleaner
  • Strony WWW
    • Kreatory stron WWW
      • eCommerce
      • Moduły
      • Ustawienia
      • Szablony
      • Nawigacja
      • Publikacja i dodatki
      • Szybki start
    • Tworzenie stron WWW
  • Najczęściej zadawane pytania
  • Panel Klienta
    • Instalacje i konfiguracje
  • Rejestracja usług
  • Produkty i usługi
    • Usługi Microsoft
      • CodeTwo
      • Microsoft Exchange
      • Windows
      • Microsoft 365 (Office 365
    • Rozrywka
      • Nintendo
      • Spotify
      • Pyszne.pl
      • Netflix
      • TIDAL
      • Xbox
      • CDA
    • Narzędzia do pracy zdalnej
      • Teams
      • Zoom
      • AnyDesk
      • TeamViewer
      • SimplySign
    • Programy graficzne
    • Spin
    • Zendesk
    • 1koszyk
    • Adobe
    • Usługi informatyczne
      • Certyfikaty SSL
      • Przywracanie danych
      • Udostępnienie logów oraz analiza błędów
      • Operacje na plikach i bazach danych
      • WordPress
    • Domeny
      • Informacje podstawowe
      • Rejestracja / opłacanie
      • Konfiguracja domen
      • Transfer domen
      • Giełda domen
    • Hosting
      • .htaccess
      • Hosting PrestaShop
      • Serwer Apache
      • Statystyki serwera
      • mod_rewrite
      • Bazy danych
      • Połączenie SSH
      • WordPress hosting SSD
      • WebFTP
      • Systemy CMS
        • WordPress
      • Autoinstalator
      • Kontrola wersji (SVN
      • Listy mailingowe
    • Bezpieczeństwo
      • VPN
        • NordVPN
        • AVG Secure VPN
      • Antywirusy
        • AVG
        • ESET
        • Kaspersky
        • AVAST
      • Backup
        • Backup WWW
        • Dropsuite Email Backup
        • Acronis Backup
          • Informacje podstawowe
          • Ustawienia dodatkowe
          • Panel użytkownika
          • Panel administratora
      • LastPass
      • Certyfikaty SSL
        • Zamawianie SSL
        • Instalacja i konfiguracja SSL
      • Ochrona WWW
      • SiteLock
    • eKsięgowość
    • Dropbox/Rozwiązania chmurowe
    • AVG PC TuneUp
    • Google Workspace
  • Poczta e-mail
    • Obsługa poczty webmail
    • Programy pocztowe
      • Poczta Windows
      • Poczta MailBird
      • Poczta BlueMail
      • Mozilla Thunderbird
    • Poczta home.pl
  • Rozliczenia i dokumenty
    • Faktury i płatności
    • Zmiana danych (cesja
    • Dokumenty do pobrania
  • Kursy i specyfikacje
    • Kurs HTML
    • Kurs PHP
    • Kurs SQL
  • Sklep internetowy eSklep
    • Dla deweloperów
    • RODO w sklepie internetowym
    • Promocja sklepu
    • Sprzedaż
    • Pierwsze uruchomienie
    • Asortyment
    • Klienci
    • Integracje
      • Systemy aukcyjne
      • Baza produktów
    • Aplikacje
    • Marketing
    • Modyfikacja wyglądu
    • Raporty i statystyki
    • Płatności PayU
    • Tłumaczenia online
  • Reklama internetowa
    • Google
      • Reklama banerowa Google
      • Zakupy Google
      • Google Ads
    • Usługi graficzne
    • Reklama Allegro Ads
    • Contact LEADer
    • SEMSTORM
    • Pozycjonowanie
    • rankingCoach
    • Brand24
    • Fresh Mail
  • Poprzednia platforma home.pl
    • Serwery Unix
    • Cloud Email Xchange
    • Dawny panel home.pl
      • Informacje podstawowe
      • Pulpit
      • Usługi
      • Płatności
      • Profil
      • Centrum Pomocy
      • Operacje w Panelu home.pl
    • Serwery Windows
  • Program partnerski
    • Program partnerski home.pl
    • Program partnerski Microsoft
  • Dla biznesu
    • Kalendarze dla biznesu
      • Kalendarz pracy 2022
      • Kalendarz pracy 2021
      • Kalendarz pracy 2020
    • Social Media w biznesie
    • Prowadzenie własnej firmy
    • Narzędzia do pracy i edukacji zdalnej
  • English
    • Website Builder
    • Programs
    • Control Panel
    • Webmail
    • FTP
    • Microsoft 365 (Office 365
    • WordPress
    • SSL certificate

Aplikacja: Integracja z Allani

Aplikacja zapewniająca pomoc w integracji z platformą zakupową Allani. Umożliwia generowanie konfigurowalnych plików  XML zawierających...

Program partnerski: Domeny .com

Chcesz polecić domenę .com w home.pl i zarobić na tym prowizję? Program partnerski: Domeny .com...

Do czego służy opcja: Ustawienia e-mail?

Za pośrednictwem opcji menu Ustawienia > Ogólne > Adres email możesz skonfigurować ustawienia poczty e-mail...

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 znalazłeś 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

PRODUKTY

  • Domeny
  • Hosting stron internetowych
  • WordPress Hosting
  • Serwery
  • Sklepy internetowe
  • Hosting PrestaShop
  • Niezawodna poczta
  • Certyfikaty SSL
  • Microsoft Office 365
  • G Suite
  • eKsięgowość
  • rankingCoach
  • Reklama internetowa
  • Kreator stron WWW
  • Usługi informatyczne
  • Programy antywirusowe
  • Cennik
  • Regulaminy usług

POMOC

  • Dokumentacja i baza wiedzy
  • Forum dyskusyjne
  • Kontakt
  • Komunikaty i aktualności
  • Blog
  • Webinary
  • Program partnerski

NASI PARTNERZY

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