Menu

server config errors on ver 1.3.2

Anonymous
2001-12-24
2012-10-11
  • Anonymous

    Anonymous - 2001-12-24

    I've installed the lastest wiki and all seemed well until I tried to login and I get error #500 server misconfiguration.

    I saw only one other post with this problem but there were no replies.

    I know I have perms set correctly and after reading all the documentation I could find I think the problem may be that "pear" is disabled on my server. My site is running apache 1.3.12 and has php 4.0.4pl1 enabled.

    If the "pear" problem is indeed why my installation doesn't work, is there a way around this? My ISP probably won't reconfigure php just for me as I am merely sharing a box with other web site...

    Here is a page that shows hoe php is configured on my server: http://www.mysongplanet.com/test.php

    Any help would be greatly appreciated!

    thanks!

     
    • Anonymous

      Anonymous - 2002-01-10

      don't count on ever getting a response from the creator of this program...

       
    • Anonymous

      Anonymous - 2002-01-10

      don't count on ever getting a response from the creator of this program...

       
    • Anonymous

      Anonymous - 2002-01-10

      don't count on ever getting a response from the creator of this program...

       
    • Anonymous

      Anonymous - 2002-01-10

      don't count on ever getting a response from the creator of this program...

       
    • Anonymous

      Anonymous - 2002-01-10

      don't count on ever getting a response from the creator of this program...

       
      • Carsten Klapp

        Carsten Klapp - 2002-01-10

        Hi Christian,

        I can't speak for everyone volunteering on this project but I do know that some have been away or occupied with family during the holidays so please excuse the delayed response.

        The PHP info at the url you gave does indicate that PEAR was explicitly disabled when it was built and installed on the server.

        The PhpWiki 1.2.x branch is the last version of PhpWiki which does not require PEAR, it does not have the latest features but it works well.

        The PEAR functions are used in 1.3 because it provides a database abstraction, which allows PhpWiki to work with more database packages without having to add a lot of separate code for each new database we want to add compatibility for.

        Carsten Klapp

         
    • Joel Ricker

      Joel Ricker - 2002-01-10

      <quote>I've installed the lastest wiki and all seemed well until I tried to login and I get error #500 server misconfiguration.

      I saw only one other post with this problem but there were no replies.

      I know I have perms set correctly and after reading all the documentation I could find I think the problem may be that "pear" is disabled on my server. My site is running apache 1.3.12 and has php 4.0.4pl1 enabled.

      </quote>

      Yep, not having pear is definitely your problem:

      From the phpinfo() you gave: '--disable-pear' under configure command.

      <quote>
      If the "pear" problem is indeed why my installation doesn't work, is there a way around this? My ISP probably won't reconfigure php just for me as I am merely sharing a box with other web site...
      </quote>

      There wouldn't really be a way around this unless you went in and re-wrote all the database commands to work with some other database interface.

      If your ISP isn't willing to help you out, get another ISP.  Fortunately mine has helped with any upgrade requests that I've had.

      Joel

      Here is a page that shows hoe php is configured on my server: http://www.mysongplanet.com/test.php

      Any help would be greatly appreciated!

      thanks!

       
      • Simon de Kraa

        Simon de Kraa - 2002-01-10

        Your server API is CGI. I don't think that the authentication is going to work. The global variables $PHP_AUTH_* are just not available.

        From the docs:

        One additional note about PHP: if PHP is installed as an Apache module on the Linux/UNIX platforms, there are additional global variables available to your PHP script:

        $PHP_AUTH_USER -- Authenticated User name
        $PHP_AUTH_PW -- Authenticated Password
        $PHP_AUTH_TYPE -- Authentication Type

        Additionally, your PHP program can force Apache to prompt the user for a username and password with the following PHP commands:

        header('WWW-Authenticate: Basic realm="My Private Stuff"');
        header('HTTP/1.0 401 Unauthorized');
        echo 'Authorization Required.';

        From then on, your application logic can decide how to respond to the user. Note that on the Windows platform, PHP is installed as a CGI, and these features are therefore not available.

         

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.