* Andrew Dunbar <[email protected]> [Tue, 16 Nov 2010 23:01:33 +1100]: > I wish to do some MediaWiki hacking which uses the codebase, > specifically the parser, but not the database or web server. > I'm running on Windows XP on an offline machine with PHP installed but > no MySql or web server. > I've unarchived the source and grabbed a copy of somebody's > LocalSettings.php but not attempted to to install MediaWiki beyond > this. > > Obviously I don't expect to be able to do much, but when I try to run > any of the maintenance scripts I get no output whatsoever, not even > errors. > > I was hoping to let the error messages guide me as to what is > essential, what needs to be stubbed, wrapped etc. > > Am I missing something obvious or do these scripts return no errors by > design? > > Andrew Dunbar (hippietrail) > In the web environment, error messages may expose vulnerabilities to potential attacker. The errors might be written to php's error log, which is set up by
error_log=path directive in php.ini. You may find the actual location of php.ini by executing php --ini Look also at the whole Error handling and logging section Does php work at all? Is there an configuration output php -r phpinfo(); when issued from cmd.exe ? Does php dumpBackup.php --help being issued from /maintenance directory, produces the command line help? Dmitriy _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
