Menu

Windows Installation

2004-12-03
2013-04-17
  • Nobody/Anonymous

    Hi, I am trying to install this on windows 2000.
    I've  installed  Indigo perl  Version V2004.2 With Perl 5.8.3, Apache 2.0.48, and PHP 4.3.4.
    I believe my current installation has all that is needed according to your requirments  @ http://phpwebtk.sourceforge.net/#requirements

    I edited the phpwebtk\configuration\constants.php file and changed my path from;
    /opt/apache/htdocs/phpwebtk/

    to
    /indigoperl/apache/htdocs/phpwebtk/

    I also edited the phpwebtk\configuration\phpwebtk.xml file

    <mysql><username>
    <mysql><password>
    <session><savepath>

    It would be nice to have a config file to change these variables in as it seems most other items don't need changing on a default install.

    I am currently getting the error 'Fatal error: Undefined class name 'client' in C:\indigoperl\apache\htdocs\phpwebtk\index.php on line 6'

    I have NOT made a database, nor changed any varriables related to a database. I am not sure if this is also needed for the install. I found no .sql file. 

    Could you please direct me as to what I need to change now?

    Can't wait to try this out!

    Thanks in advance.

     
    • Brian Bisaillon

      Brian Bisaillon - 2004-12-04

      You must use PHP 5 since phpwebtk uses PHP 5's object-oriented semantics. Furthermore, the Crypt, Digest, Hash and Hmac classes depend on Libmcrypt and Libmhash in order to function. The author of these libraries dropped DLL support for Windows since they were a lot more stable (a lot less buggy) under Cygwin. Therefore, I highly recommend that you set up Cygwin (a linux-like environment under Windows) with Apache, MySQL, Perl, etc. When you install Cygwin, all the packages are precompiled so if you install Apache, MySQL, Perl, etc. it should work right out of the box. You will have to modify things like paths in the phpwebtk.xml file but it should work.

      I do plan on writing a series of installation guides for Cygwin, Linux, different web servers, etc. but it's going to take some time.

      In the meantime, if you have any other issues, please post them in the Tracker instead of the Forums. It's just easier for me to manage there. Thanks!

      P.S. I usually run phpwebtk under Linux and some users have had success with XAMPP I believe. However, XAMPP for Windows does not support Libmcrypt and Libmhash so beware... Also, you don't need to tweak the mysql database parameters if you're not planning on using the MySQL DAO classes and remember all the source code is editable to your liking. If you really have too many problems please let me know about them so I can resolve them in the next version. If it's too hard to use I want to make it easier...

       

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.