Configurazione e aggiornamento di PHP su Apache2 | GOLINE
Goline Logo

FAQ

News

  • In the supply and logistics sectors, email communication is pivotal. However, organizations face threats like email fraud and phishing. GOLINE SA's clients struggled with configuring email authentication protocols manually. To address this challenge, GOLINE SA became an MSP Partner of PowerDMARC, collaborating to streamline implementation and management. PowerDMARC's cloud-based platform automated DMARC, SPF, and DKIM protocols for GOLINE SA's clients. This streamlined the transition to DMARC enforcement policies, bolstering domain protection without compromising email deliverability. The intuitive platform facilitated easy navigation and provided detailed reporting for proactive issue resolution. GOLINE SA's clients experienced tangible benefits: Enhanced Email Security: Automated protocols...
  • 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.https://atlas.ripe.net/probes/7073/RIPE 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...

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
Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x