Pour ceux qui liront ce grand fil, je corrige un peu les commande de Madko:
chgrp apache /home/thierry/public_html/php
chmod g+w /home/thierry/public_html/php
Comme les commandes se passent en root le tild ~ n'est pas de bonne augure.
Je reboote.
EDIT: Je n'ai pas d'amélioration suite à ces commandes:
Fatal error: Uncaught RuntimeException: SplFileObject::__construct('/home/thierry/public_html/export.csv'): failed to open stream: No such file or directory in /home/thierry/public_html/php/asseleci/functions/functiongeneral.php:125 Stack trace: #0 /home/thierry/public_html/php/asseleci/functions/functiongeneral.php(125): SplFileObject->__construct(''/home/thierry/...', 'w') #1 /home/thierry/public_html/php/asseleci/pages/portage/vue_liste.php(214): export() #2 {main} thrown in /home/thierry/public_html/php/asseleci/functions/functiongeneral.php on line 125
J'ai l'impression que ça se complique. J'ai donc créé le dit fichier manuellement et ai donné les droits 777, mais visiblement il n'est pas vu par apache.
ls -la /home/thierry/public_html/export.csv
-rw-rw-rw-. 1 thierry thierry 2 11 déc. 12:06 /home/thierry/public_html/export.csv