Menu

Repost: Windows Install instructions

Help 2.02
Anonymous
2003-09-19
2003-09-27
  • Anonymous

    Anonymous - 2003-09-19

    Hello All,
    I have installed phPay in Windows and here are the instructions.
    1)Installed Apache 1.3.x
    2)Installed php (Had to copy files to c:\php\ and change httpd.conf to load the php module). Detailed instrucitions for Php install is available at
    http://www.thesitewizard.com/archive/php4install.shtml

    3) Installed MySQL.
    4) Defined a user and "Granted access " to users using the following site as reference. Had some problems there too (I think the below link is for older version). http://www.mysql.com/doc/en/Adding_users.html
    5) Downloaded phpPay and extracted it into htdocs in the Apache installed directory. Renamed the folder in htdocs from phpayv2.x to phpayv2
    6) Created an empty file in phpayv2 called config_system.inc.php
    7) Used IE to access http://localhost/phpayv2/admin
    8) It listed the list of files and I selected admain.php and added in userid, password etc. and clicked on "Create Database" & "create Tables"
    9) Successfully created tables. Verifued by running winmysqladmin.exe and looked at databases to see if my database was created there.
    10) Accessed php.ini (in the windows directory) and changed the values of variable error_reporting,   register_globals & session.save_path as follows

    session.save_path = c:\temp
    error_reporting = E_ALL & ~ E_NOTICE
    register_globals = ON

    11) Changed some parameters by visiting http://localhost/phpayv2/admin/index.php (to suit my needs)
    12) Becuase this was a Win 32 install, I had to change "Check customer email address" in the configuration section to "Simple" (with DNS is the default but doesn't work with Win32 php)
    13) Clicked on Departments in the above link and added a department.
    14) Clicked on "Groups of items" on the above link and added a couple of "Groups of items"
    15) Clicled on items and added couple of items and "pointed" them to the "groups of items" and department.
    16) Added keywords too while adding items
    17) Clicked on users and added some users.
    18) visited http://localhost/phpayv2/
    19) Logged in and.... voila... on my left theres the departments and under them are the "Groups of items" and if click each of them I have all items that are listed under them..
    20) Thanked Andreas profusely to have taken the pain to do all of this.

    Note:If you are Hosting on a WebHosting Service provider you don't have to perform 1,2 & 3. You MAY have to do 4

     
    • Johnny Ooi

      Johnny Ooi - 2003-09-25

      Hi, thanks for the information. I've trying to install on IIS (Windows XP), but I get this:

      Notice: Undefined variable: mode in C:\Documents and Settings\csljoi\Desktop\Shop\admin\admain.php on line 3

      Notice: Undefined variable: db_func_loaded in C:\Documents and Settings\csljoi\Desktop\Shop\admin\header.inc.php on line 16

      Notice: Undefined variable: caller in C:\Documents and Settings\csljoi\Desktop\Shop\admin\lang.inc.php on line 19

      Notice: Undefined variable: site_title in C:\Documents and Settings\csljoi\Desktop\Shop\admin\header.inc.php on line 37

      Notice: Undefined variable: caller in C:\Documents and Settings\csljoi\Desktop\Shop\admin\header.inc.php on line 41

      Notice: Undefined variable: sellang in C:\Documents and Settings\csljoi\Desktop\Shop\admin\header.inc.php on line 41
      First enter database parameters:
       
      Notice: Undefined variable: db_host in C:\Documents and Settings\csljoi\Desktop\Shop\admin\admain.php on line 80
      IP or name of the server*  Type of database*  mySQL PostgreSQL

      Notice: Undefined variable: db_user in C:\Documents and Settings\csljoi\Desktop\Shop\admin\admain.php on line 85
      Database user*  Password* 

      Notice: Undefined variable: db_name in C:\Documents and Settings\csljoi\Desktop\Shop\admin\admain.php on line 87

      (I've got the phpay directory in C:\Documents and Settings\csljoi\Desktop\Shop)

      Short of using Apache instead (which I can do if needed), what else can I do?

      Johnny

       
      • Andreas Kansok

        Andreas Kansok - 2003-09-27

        Read the first post in this thread completly ;-)

        error_reporting = E_ALL & ~E_NOTICE

        Greetings,
        Andreas.

         

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.