d3c0d3r Posted May 10, 2016 Report Share Posted May 10, 2016 buna seara am o problema la php ... am instalat lamp php5 etc da pe server local nu ami ruleaza fiserele php (apar doar o pagina goala alba) doar html , sunt incepator poate fac eu ceva gresit Quote Link to comment Share on other sites More sharing options...
Rubaka Posted May 11, 2016 Report Share Posted May 11, 2016 Ai pornit PHP? Quote Link to comment Share on other sites More sharing options...
d3c0d3r Posted May 11, 2016 Author Report Share Posted May 11, 2016 da . apache2 pornit ... mysql pornit Quote Link to comment Share on other sites More sharing options...
yo20063 Posted May 11, 2016 Report Share Posted May 11, 2016 @Rubaka se refera ca poate ai instalat php-fpm si trebuie sa-l pornesti(sudo service php-fpm start). Cu toate ca din ce tin eu minte LAMP-ul contine php5+ Mai este problema ce ai pus tu in acel fisier php, daca ai pus doar tag-urile de inceput/sfarsit sau si continut. Trebuie tinut cont ca exista continut care are nevoie de parametri daca l-ai copiat de undeva. Creeaza un fisier php in web path(exemplu: "/var/www/", "/var/www/html/") si pune continut-ul: <?php echo "I am alive!"; ?> Du-te apoi pe "http://server/nume_fisier.php" si vezi daca e in viata! Quote Link to comment Share on other sites More sharing options...
d3c0d3r Posted May 11, 2016 Author Report Share Posted May 11, 2016 daca fac eu un fisier ca cel de mai sus merge <?php echo "I am alive!"; ?> daca copiez un template in php nici o sansa am reusit intr-un final era foarte simplu chmod -R 775 Quote Link to comment Share on other sites More sharing options...