Deprecated: Return type of Stringy\Stringy::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/danielstjules/stringy/src/Stringy.php on line 270

Deprecated: Return type of Stringy\Stringy::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/danielstjules/stringy/src/Stringy.php on line 453

Deprecated: Return type of Stringy\Stringy::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/danielstjules/stringy/src/Stringy.php on line 850

Deprecated: Return type of Stringy\Stringy::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/danielstjules/stringy/src/Stringy.php on line 873

Deprecated: Return type of Stringy\Stringy::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/danielstjules/stringy/src/Stringy.php on line 893

Deprecated: Return type of Stringy\Stringy::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/danielstjules/stringy/src/Stringy.php on line 906
Xampp

Instalacja PHP (Windows)

  1. W celu instalacji PHP i serwera Apache należy pobrać pakiet XAMPP.

  2. W trakcie instalacji należy wybrać jedynie konieczne składniki: Apache i PHP

  3. Po instalacji należy zmodyfikować zmienną środowiskową PATH tak, aby komenda php była dostępna z linii komend. W tym celu należy otworzyć Mój komputer, kliknąć prawym przyciskiem myszy na pustej przestrzeni i wybrać Właściwości. Następnie należy przejść do Zaawansowanych ustawień systemu.

  4. Następnie należy wybrać Zmienne środowiskowe.

  5. W sekcji Zmienne systemowe należy odszukać zmienną o nazwie Path lub PATH, zaznaczyć ją i wybrać Edytuj.

  6. W oknie Edycja zmiennej środowiskowej należy dodać nową opcję za pomocą opcji Nowy i wpisać tam wartość C:\xampp\php (jeśli podczas instalacji nie użyto domyślnej ścieżki, należy tutaj odpowiednio ją dostosować). Zapisz zmiany, klikając OK w kolejno otwartych oknach.

  7. Zrestartuj linię komend (zamknij i otwórz jeszcze raz). Upewnij się, że komenda php jest dostępna, sprawdzając zainstalowaną wersję języka komendą php -v.

  8. Na koniec, należy w konfiguracji PHP włączyć rozszerzenie pozwalające na korzystanie z bazy danych SQLite. W tym celu należy otworzyć do edycji plik C:\xampp\php\php.ini i odszukać linię ;extension=sqlite3. Średnik jest znakiem komentarza w tym pliku, więc usunięcie go z początku linii spowoduje włączenie wymaganego rozszerzenia. Po wprowadzeniu tej zmiany należy zapisać zmiany i zamknąć edytor.

  9. Gotowe!