A voir également:
- Installation OCI8 Oracle Linux 8.5 / Oracle 21c
- Linux reader - Télécharger - Stockage
- Installation windows 10 sans compte microsoft - Guide
- Toutou linux - Télécharger - Systèmes d'exploitation
- Installation chromecast - Guide
- Installation clavier arabe - Télécharger - Divers Web & Internet
1 réponse
Bonjour,
Peux-tu clarifier le contexte (quel distribution Linux, quel serveur web). Si on s'en tient à cette documentation, voici comment je ferais sous debian avec apache2 :
# Préliminaires sudo apt update sudo apt upgrade # Apache, PHP sudo apt install apache2 libapache2-mod-php ls /etc/apache2/mods-available/php*conf # Voir la version de PHP sudo a2enmod php8.1 # À adapter avec ta version de PHP sudo systemctl restart apache2 # oci8 sudo apt install php-pear sudo pecl install oci8
Ensuite on poursuit la doc et on corrige /etc/php/8.1/apache2/php.ini en ajoutant la ligne :
extension=oci8.so
... puis on redémarre apache
sudo systemctl restart apache2
Bonne chance