PDA

View Full Version : Help with PHP CLI and Mediawiki



aceofspades
09-17-2006, 07:02 PM
Ok I have never used PHP CLI before. I am trying to edit my mediawiki's localsettings. How do I get to the PHP CLI ((through SSH)). I know what commands i have to do. Its pretty simple. But I just dont know how to get there. Lets just say media wiki is pretty hard to use. All the setting have to be changed through PHP CLI. This was actually the main reason I enabled SSH ((and to use ruby)). I already have good PHP knowledge.

---
Actually the IRB is awesome it is a calculator!!!!

aceofspades
09-18-2006, 10:11 AM
wow how hard is it to get a response......Ive waited 2 days

aceofspades
09-18-2006, 05:20 PM
Can someone please help me?

aceofspades
09-19-2006, 04:34 AM
yodelahhoo. Wow does anyone respond to threads!!!!

aceofspades
09-19-2006, 06:31 PM
what is going on??? Can ANYONE help me???

dkinzer
09-19-2006, 07:20 PM
There are two issues here. Firstly, I don't believe that this is an official BlueHost support channel. Rather, this forum is a means by which BlueHost users support each other.

Secondly, your original post doesn't state the problem very clearly. Perhaps you're trying to figure out how to execute a PHP script from the SSH command line. If so, just open an SSH session, cd to the desired directory and type:

php myscript.php

That's all there is to it unless the script requires parameters. There is little chance that anyone here can figure out what the parameters should be. Perhaps the media wiki support site would be a better place to ask such an application-specific question.