web browser not processing PHP code as PHP code

后端 未结 6 1546
天涯浪人
天涯浪人 2020-12-07 00:30

I have Joomla installed in my computer, but recently have been writing php files that aren\'t related to the Joomla-managed site. For some reason, when I try to open those p

6条回答
  •  [愿得一人]
    2020-12-07 00:46

    Apache is looking into your localhost's defined root directory for files it can parse. In this case htdocs. This is the default for XAMPP. As far as Apache is concerned, it will not interpret any files outside of that folder.

提交回复
热议问题