Salve stò creando un applicazione con yii2 ,dato che l'entry point di yii è nella cartella basic/web ho impostato htaccess(come spiegato nella documentazione così:
Codice:
# Set document root to be "basic/web"
DocumentRoot "/basic/web"
<Directory "/basic/web">
# use mod_rewrite for pretty URL support
RewriteEngine on
# If a directory or a file exists, use the request directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward the request to index.php
RewriteRule . index.php
# ...other settings...
</Directory>
AddHandler av-php54 .php
L'ultima parte per attivare php 5.4 .
Ho però l'errore 500.