en:server:services:php

PHP

PHP is a popular general-purpose scripting language that is especially suited to web development.

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

pacman -S php php-fpm php-gd
cp /etc/php/php.ini /etc/php/php.ini.original
nano /etc/php/php.ini
date.timezone = YOURlocation
open_basedir = /srv/http/:/tmp/:/var/tmp/:/var/cache/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/
expose_php = Off
extension=pdo_mysql
extension=mysqli
extension=gd
extension=iconv
systemctl enable --now php-fpm.service
  • en/server/services/php.txt
  • Last modified: 2022/05/30 07:15
  • by dan