Koozali.org: home of the SME Server

SME Server + Symfony 4

Offline claude70

  • *
  • 27
  • +0/-0
SME Server + Symfony 4
« on: July 22, 2018, 04:23:31 PM »
Bonjour tout le monde,

Je suis en train de m'amuser avec Symfony 4 et je me demandais si cela passe bien sur un ibay ?
Est ce que quelqu'un a déjà essayé ?

Cordialement,
Claude

PS: si il n'y a pas de réponse, ce n'est pas la fin du monde  :lol:

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SME Server + Symfony 4
« Reply #1 on: July 22, 2018, 04:45:16 PM »
Jetez un coup d'oeil à ceci.

Vérifiez le remi repo pour v4. Vous devrez peut-être plus pour le faire fonctionner sur les SME

Vous devez vérifier les instructions pour l'ajout des dépôts EPEL et Remi (ne pas suivre les instructions de Symfony 3)

https://tecadmin.net/install-symfony-3-framework-on-centos/
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline claude70

  • *
  • 27
  • +0/-0
Re: SME Server + Symfony 4
« Reply #2 on: July 22, 2018, 05:08:58 PM »
Bonjour ReetP,

merci pour le lien, je vais regarder cela ce soir.
Je reviendrai demain posté un truc ou deux si c'est intéressant ;)

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SME Server + Symfony 4
« Reply #3 on: July 22, 2018, 05:24:50 PM »
:-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline claude70

  • *
  • 27
  • +0/-0
Re: SME Server + Symfony 4
« Reply #4 on: July 25, 2018, 06:43:55 PM »
Bonjour,

j'ai pas encore eu le temps d’approfondir mes recherches/tests mais rien de bien méchant.
Je développe en local le projet, j'installe le composant Apache pour Symfony :
Code: [Select]
composer require symfony/apache-pack
J'active le htaccess pour mon Ibay :
Code: [Select]
db accounts setprop IBAYNAME AllowOverride All
db accounts setprop IBAYNAME FollowSymLinks enabled
signal-event ibay-modify IBAYNAME

et le tour est joué !!!
Je pense qu'il y a mieux mais pas pour l'instant, @ suivre.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SME Server + Symfony 4
« Reply #5 on: July 25, 2018, 09:11:23 PM »
Muy bien :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline claude70

  • *
  • 27
  • +0/-0
Re: SME Server + Symfony 4
« Reply #6 on: July 27, 2018, 10:59:19 AM »
Bonjour,

pour donner une petite suite à cela, il est possible (pour ceux qui utilise Symfony) de déplacer les fichiers Symfony dans le répertoire "files" de l'Ibay et donc de laisser seul le fichier "index.php" dans le répertoire "html".
Il faut simplement modifier les fichiers "index.php" et "composer.json" pour ré-indiquer les bon chemins d'accès.

Une question de sécurité me vient alors.
J'ai bien désactivé l'accès FTP au niveau de l'accès à distance car j'en ai pas besoin.

Est-ce pas trop grave de positionner ces fichiers dans le répertoire "files" ?  :-?