Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Robbo on
Hi
I'm having trouble running a php script from under the drupal root dir.
Let's say my site is: www.mysite.com
and I want to run the file: test.php
If I type: www.mysite.com/test.php into my browser, the main drupal front page loads with a warning that the page is not found. Even if I put test.php in a subdir and browse to the correct path, I get the same message. It's obvious that Drupal is interpreting every php file as a node or something similar.
How can I avoid this so my file runs?