Jump to content
d3c0d3r

probleme php

Recommended Posts

@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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...