Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How to enable PHP support on Web Station

#1
Hello,
I just got a DS1522+ running DSM 7.2.1.
After installing Web Station I tried to run a "Hello World!" test web page and it did work as expected.
But when I added to the index.html file the following: "<?PHP phpinfo(); ?>" to validate the PHP support, I didn't see any PHP related details coming out. PHP 7.x and 8.x seem to be installed and running.
When I open the index.html test page with a Chrome developer tool I see my PHP code got changed and commented out:
<!-- ? php phpinfo(); ?--!>

Did I miss any step for having PHP properly running and supported?
Thanks in advance
Fabio
Reply


Messages In This Thread
How to enable PHP support on Web Station - by fparodi - 06-18-2024, 01:02 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)