Menu

Can't get started

Help
Anonymous
2001-03-31
2001-04-04
  • Anonymous

    Anonymous - 2001-03-31

    Hello! First let me tell you what a great project this is and thank you for it!

    I really want to play with it but I'm pretty new to PHP and can't seem to find a starting place here. I downloaded the file but I don't see any install, readme or config file so I'm at a bit of a loss. Can you give me a push in the right direction? Are there some docs I missed?

    I'm not trying to be lazy, just trying to get a grip on where and how to begin.

    Thanks a bunch,

    Bunni

     
    • Garth Dahlstrom

      Garth Dahlstrom - 2001-04-01

      Hi Bunni,

      The easiest way to get into it if your running
      a windows based system, is to download PHPTriad
      1.4 (http://sourceforge.net/projects/phptriad/)
      and install that... it gets you up and running
      with the basics of a PHP environment on Apache
      for Win32, but more importantly then that it
      sets up PHPLIB with sessions using MySQL (which
      it also installs). 

      BTW, be sure to copy the DLLs in
      C:\APACHE\PHP\DLLS into your C:\Windows\System
      directory or PHP will whine about not being able
      to find them.

      You also need to make a change
      to your C:\APACHE\PHP\PHP.INI file to correct
      an error with the include_path setting from PHPTriad.  You have to add ".;" to the beginning of the setting value (this is so files in
      the same directory you're scripts are in can be
      included with include() statements).

      Once you've done all that you D/L phpwidgets_phptriad file release from this
      site... This is another Win32 installer...
      It will install into a C:\APACHE\HTDOCS\PHPWIDGETS\

      Last thing you need is to open the start menu,
      and click on the PHPTriad group and start MySQL,
      go through the start menu again to PHPTriad
      and start Apache.

      Point your browser at: http://localhost/phpwidgets/

      That will get you up and running the easy way.
      When you want to start creating your own widgets
      see:
      http://sourceforge.net/forum/forum.php?thread_id=89269&forum_id=19044
      It's a sort of mini-howto on the subject.

      Let me know if you get stuck...
      -Ironstorm

       
    • Anonymous

      Anonymous - 2001-04-04

      Ironstorm,

      I appreciate the time you spent to provide this answer but I didn't give you the details I should have and I'm sorry.

      I'm working on a Unix server (from my Windows PC) that has Php and MySQL installed. That is where I need to start from. I just need to know how to install this on the Unix server.

      I'm sorry I didn't make this clear and to have wasted your time. I almost didn't ask again but I really do want to use this.

      Thanks again. If I need to ask another question I'll make sure I give you all the details so I don't waste your time.

       
      • Garth Dahlstrom

        Garth Dahlstrom - 2001-04-04

        Bunni,

        When folks don't tell me what they are running, I
        end to assume that they don't have any thing
        set-up yet.  Just a habbit, it's not a problem...
        I'm going to put my last reply into the docs
        later :)

        First things first, do you have PHPLIB sessions
        set-up?

        If you don't you'll need to pop over to
        http://phplib.netuse.de/

        and download PHPLIB and set-up sessions
        (basically involves running the provided SQL to
        create the tables, adding the phplib include
        dir to your Php.ini's include_path, and setting
        your Php.ini's prepend_file to prepend.php3)

        Once that's is done, grab the latest tarball
        of preview release (I think that's #1) and
        unzip it to a subdirectory in your apache/htdocs
        folder (or the doc root of you webserver).

        Point your browser to that directory on your
        webserver.

        It should work 'out of the box' if you've got
        your sessions installed properly, since it
        uses the sessions class found in the phplib
        example.

        Don't hesitate to post again if your stuck,
        I'm only too happy to help where I can... 

        -Ironstorm

         

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.