Menu

Can't get phpopenchat to run

Alan Owen
2003-04-13
2003-04-18
  • Alan Owen

    Alan Owen - 2003-04-13

    Hi, I'm having trouble getting PHPOpenchat to work! I followed the instructions and I get the:

    You don't read the INSTALL instructions!
    Use the PHPOpenChat-Installer to install and configure your chat.

    I am new to apache and php, and I don't know how to perform the following steps. I'm sure it's something simple, but I can't find an answer to it. Can anyone tell me the process. I'm running Apache on Windows.net Enterprise.

    NOTE: For the installation procedure the webserver needs write access to
    * /your/path/to/<phpopenchat-2.x.x>/includes/defaults_inc.php
    * /your/path/to/<phpopenchat-2.x.x>/html/.htaccess
    but for the installation time only.

    How do I grant write access to Apache for this?

    I went through the instructions and did the following sucessfully:

    1. Uploaded the phpopenchat contents to the
    server.

    2. Created a seperate virtual host in Apache for the chat utility, and mapped the directoryindex to index.html index.php

    3. Added the following include_path to php.ini:
    include_path = ".;c:\inetpub\php\brittany\chat\includes"
    (\chat\is the root folder for the chat program)

    4. Mysql support is definately enabled because I use phpbb and mysqladmin.

    5. Created a database user called phpopenchat.

    6. Created a database called phpopenchat, and gave the outlined permissions using phpmyadmin. (Later on, I gave full control to test it.. but still no go)

    7. Uploaded all the mysql commands. All the commands were uploaded successfully with no errors, and the tables were created.

    8. Accessed the defaults_inc.php and assigned the database values.

    9 Created the tmp folder (session folder already exists from another php application.)

    10. Attempted to access http://chat.brittany-snow.com:81 to no avail. I get the message above.

    Am I missing a step? It's probably the step to tell apache to have write access I'm missing. I don't know how to do that. Can anyone help?

    Many Thanks!!! :-)
    Alan Owen
    Administrator of Donthyde.com

     
    • Alan Owen

      Alan Owen - 2003-04-18

      Hi again,

      I learned how to configure arite access. Apache was using the system account the whole time, with full access.

      The issue was related to Apache not processing the php.ini file. I added register_globals = on, but it never turned on.

      It looks like when you install PHP using the installer under windows, it adds the php.ini file to a user folder called windows, instead of c:\windows. The PHP modules look for it in the c:\windows folder. I just had to move the php.ini file to the c:\windows file for it to process!

      All set!

       

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.