Menu

non-CGI setup procedure?

Help
2000-05-26
2000-05-27
  • Steve Wainstead

    Steve Wainstead - 2000-05-26

    Hello,

    I see the installation instructions are specific to the CGI install of PHP. Is there a web-based install, or a manual way to set it up?

    I couldn't get the install script to work due to the shebang path and the http://php construct for stdin

    thx

    sw

     
    • Todd L. Miller

      Todd L. Miller - 2000-05-26

          sfWiki requires a CGI install of PHP to do the pre-rendering of Wiki pages*.  If you've installed PHP for Apache, the CGI install is very simple (a recompile).  What the admin.php3 script does, essentially, is rewrite the <<variable>> entries in the code to reflect your installation, which you can certainly do by hand with a normal editor.  It also sets up the database/table for its first use, which you can do by hand with a MySQL client.

          What do you mean by 'shebang path'?

          Unfortunately, there is no web-based install because the setup procedure requires write access to the Wiki files.  Changing the permissions would require access at the level of the script, so I decided that it wouldn't be useful.  If you know of a better way to get stdin in than http://php,  please let me know -- I hadn't been able to find one when I went looking.

          Two questions for you: first, where are you setting this up?  It should work beautifully on SF.  Second, how did you find out about sfWiki?  (I noticed you're working on a 'phpwiki' project, whose project page I can't get to for some reason...)  Thanks for giving sfWiki a try.

      -jQuinn

      *: sfWiki can be edited to not do pre-rendering, though I don't recommend it.

       
      • Steve Wainstead

        Steve Wainstead - 2000-05-26

        Hi, thx for the speedy reply!

        The "shebang" line is the #!/usr/bin/perl line you see at the start of scripts... I think I saw the term in the Jargon File or one of the Perl books.

        I'm installing it at home to see how it works; I use a stock Red Hat Linux box, with the Apache and PHP RPM files installed as is. (That is, it's a stock setup). I know PHP can be recompiled this way if I have the source RPM file, and I'll have to check, and then look up the procedure to do that.

        I found out about sfwiki just by searching on the term "wiki" :-)

        I just registered PhpWiki last night, and will be moving the project onto SF this weekend when all the account stuff is set up. There is no home page on SF at the moment because the process hasn't finished up and I am still at work to boot ;-)

        The current home page is at http://wcsb.org/~swain/php/wiki/.

        cheers
        Steve

         
        • Todd L. Miller

          Todd L. Miller - 2000-05-27

              OK.  Here's looking to profitably sharing code.  I'll be interested to find out what your particular direction for PHPWiki is.

          -jQuinn

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.