Skrevet av Emne: How to test if PHP works  (Lest 4577 ganger)

ATC

  • Gjest
How to test if PHP works
« på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • You have installed or upgraded Apache and want to find out if it works OK, but you don't know PHP?



    ATC

    • Gjest
    [Solved] How to test if PHP works
    « Svar #1 på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • Create a file called "test.php" in your public_html directory, containing the following code:

    "<?php phpinfo();?>"

    Now, if you access the proper URL and everything is set up right, you should get a nice table with all sorts of diagnostic information.