I’m using the most PHP with apache 2.2.22, and the LAMP stack. I have a site folder defined on my desktop named “root” which stores the site, and all of the pages in the site are read correctly.
My problem is that when I am using PHP, it is only allowing simple commands for some reason (such as echo, defining variables, adding, subtracting, etc) and not anything more advanced. I’m really confused, because it seems to be parsing basic commands, so I don’t believe PHP is installed incorrectly. Is there some configuration that I must change for it to work? Does the server have permission to run advanced PHP commands?
I hope someone can help, really stumped here. I’m somewhat of a beginner to PHP, so please forgive me if the fix is obvious. Thank you!