


Nativo ha scritto:Driver: MySQL (PDO) --> corretta questa scelta?
Nativo ha scritto:Name: symfony --> dovrebbe essere il nome del mio progetto?
Nativo ha scritto:Port: 80 --> spero sia corretta?
Nativo ha scritto:Well done!
YOUR DISTRIBUTION IS ALMOST CONFIGURED BUT...
Your parameters.ini file is not writeable! Here are the parameters you can copy and paste in /var/www/testSymfony/Symfony/app/config/parameters.ini:



Zoff ha scritto:Nativo ha scritto:Well done!
YOUR DISTRIBUTION IS ALMOST CONFIGURED BUT...
Your parameters.ini file is not writeable! Here are the parameters you can copy and paste in /var/www/testSymfony/Symfony/app/config/parameters.ini:
Devi dare i permessi di scrittura su quel file.




<?php
namespace Acme\HelloBundle\Controller;
use Symfony\Component\HttpFoundation\Response;
class HelloController {
public function indexAction($name) {
return new Response('<html><body>Ciao '.$name.'!</body></html>');
}
}
?>Not Found
The requested URL /MIO_SITO/app.php/hello/Ryan was not found on this server.


Errore del server
Si è verificato un errore nel sito web durante il recupero di http://localhost/testSymfony/Symfony/we ... hello/Ryan. Potrebbe non essere disponibile per manutenzione o essere configurato in modo errato.
?


sudo chown www-data:www-data /var/www/testSYmfony/* -R
sudo chmod 775 /var/www/testSymfony/* -R
sudo usermod -G www-data nativo
sudo chown www-data:www-data /var/www/testSymfony/* -R
sudo chmod 775 /var/www/testSymfony/* -R
cd /var/www/testSymfony/
php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml[ErrorException]
Warning: mkdir(): Permission denied in /var/www/testSymfony/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/Generator.php line 24

Nativo ha scritto:oppure assegnare l'utente nativo (io) a www-data





Torna a Strumenti per la programmazione
Visualizzano questa pagina: Nessuno e 2 ospiti