Configurazione e aggiornamento di PHP su Apache2 | GOLINE
Goline Logo



  • Route RPKI validation April 1st, 2022
    RPKI is a security framework by which network owners can validate and secure the critical route updates or Border Gateway Protocol (BGP) announcements between public Internet networks. BGP is essentially the central nervous system of the Internet and one of its fundamental building blocks. The main function of BGP is to facilitate efficient routing between Autonomous Systems (AS), by building and maintaining the Internet routing table. The Internet routing table is effectively the navigation system of the Internet and without it, traffic would be unable to flow between its constituent networks. Unfortunately, routing equipment alone cannot distinguish between legitimate and malicious routing announcements,...
  • RIPE – Atlas Anchor February 17th, 2022
    We have become an even more integral part of the RIPE Atlas project by hosting an anchor, a device that allows for latency analysis of traffic between autonomous systems. Atlas anchors play an integral role in the RIPE Atlas network by acting both as enhanced RIPE Atlas probes with more measurement capacity, as well as regional measurement targets within the greater RIPE Atlas network. Anchors are able to perform many more measurements than a regular RIPE Atlas probe, and the large amount of data they collect is made available to everyone. In addition, anchors act as powerful targets that can...
  • MANRS June 20th, 2020
    GOLINE firmly believes in initiatives to protect networks, improve security and resilience of the global routing system. Therefore we decided to support the MANRS project and join as participants.Mutually Agreed Norms for Routing Security (MANRS) is a global initiative, supported by the Internet Society, that provides crucial fixes to reduce the most common routing threats. MANRS offers specific actions via four programs for Network Operators, Internet Exchange Points, CDN and Cloud Providers, and Equipment Vendors. Requirements for Participation Please read the full MANRS Actions document before applying. You can become a participant if you meet these requirements: You (or your company) support...

Configurazione e aggiornamento di PHP su Apache2

Paolo Caparrelli Linux 22 June 2022

# Pacchetti PHP installati nel sistema
apt list –installed | grep -i php

# Per disinstallare tutti i componenti php5
apt-get purge php5*

# Sostituzione PHP in Apache2 dalla versione 7.1 alla 7.2
a2dismod php7.1
a2enmod php7.2
service apache2 restart

Aggiunta della command Line:
update-alternatives –set php /usr/bin/php7.2
update-alternatives –set phar /usr/bin/phar7.2
update-alternatives –set phar.phar /usr/bin/phar.phar7.2
NOTA: Questi che seguono sarebbero da verificare
update-alternatives –set phpize /usr/bin/phpize7.2
update-alternatives –set php-config /usr/bin/php-config7.2

# Moduli caricati (visibili sotto Joomla PHP information)
core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_cache mod_cache_disk mod_deflate mod_dir mod_env mod_expires mod_fcgid mod_filter mod_headers mod_mime prefork mod_negotiation mod_php7 mod_rewrite mod_security2 mod_setenvif mod_socache_shmcb mod_ssl mod_status mod_unique_id
oppure via command line: apachectm -M

#Parametri necessari per Joomla in /etc/php/7.2/apache2/php.ini
upload_max_filesize = 64M
post_max_size = 64M
sys_temp_dir = "/tmp"
upload_tmp_dir = /tmp
NOTA: con questa configurazione spariranno i warning sotto Joomla>Extensions>Warnings!

 #PHP di sistema (che potrebbe non corrispondere al PHP di Apache2)
php -i | grep -i php.ini
Configuration File (php.ini) Path => /etc/php/7.2/cli
Loaded Configuration File => /etc/php/7.2/cli/php.ini

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x