Re: Executing remote php file gives "No such file or directory" error
If you want to execute a script file directly, it has to have "Shebang" line:
https://en.wikipedia.org/wiki/Shebang_(Unix)
As your file script does not have one, you have to execute it by explicitly running a script interpreter.
You should really read MediWiki documentation:
https://www.mediawiki.org/wiki/Manual:Rebuildall.php#Usage
https://en.wikipedia.org/wiki/Shebang_(Unix)
As your file script does not have one, you have to execute it by explicitly running a script interpreter.
You should really read MediWiki documentation:
https://www.mediawiki.org/wiki/Manual:Rebuildall.php#Usage
cd /path/to/wiki/maintenance
/path/to/php rebuildall.php