PHP Paths & admin Password
  • I have installed campsite on FreeBSD v5.4 with apache13, php4, and mysql41.

    The php-cli needed to be forced due to conflicts with mod_php4. Basically, I just removed the conflicts messages.

    I also needed to manually code the directories for /usr/local/lib/php/pear in one or two of the php source files. It could not find the directory on its own.

    Question,
    How do I configure the required apache / php directories for campsite?


    With the hard coded links, I was able to get a login screen, but the default user/passwd does not work (aka admin/admn00). I get no http error messages, and the database looks fine - that is, it has the admin user id and an encrypted password.
  • 4 Comments sorted by
  • 1) I recommend to use Apache 2.x
    2) I recommend to use MySQL 4.0
    3) Do not install mod_php, use /usr/ports/lang/php4 instead

    Ondra

    On Mon, 2005-07-25 at 16:26 +0200, campsite-support@eserver2.mdlf.org
    wrote:
    > This message was sent from: Campsite Support.
    >
    > ----------------------------------------------------------------
    >
    > I have installed campsite on FreeBSD v5.4 with apache13, php4, and
    > mysql41.
    >
    > The php-cli needed to be forced due to conflicts with mod_php4.
    > Basically, I just removed the conflicts messages.
    >
    > I also needed to manually code the directories for /usr/local/lib/php/pear
    > in one or two of the php source files. It could not find the directory on
    > its own.
    >
    > Question,
    > How do I configure the required apache / php directories for campsite?
    >
    >
    > With the hard coded links, I was able to get a login screen, but the
    > default user/passwd does not work (aka admin/admn00). I get no http error
    > messages, and the database looks fine - that is, it has the admin user id
    > and an encrypted password.
    >
    > ----------------------------------------------------------------
    > Sent using Phorum software version 3.4.3a

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Will apache2 and mysql40 make that much difference?

    As for the mod_php4, I was just following the INSTALL_FREEBSD instructions that came with the source.
  • Apache 2.x has much better performance, but campsite is fine with it.

    MySQL 4.1 is worse issue, as this version uses different encryption
    mechanism and password function generates 41 char. hash.
    If you want to use 4.1, you must first manually alter Users table
    holding username/password pair, and set 42chars for password column.
    Than you need to reset Admin password. You have 2 chances:
    1) set the field "" and login without password, than change it to some
    reasonable
    2) set it to password("Admn00") and login with your Admn00 password

    Ondra

    On Mon, 2005-07-25 at 16:48 +0200, campsite-support@eserver2.mdlf.org
    wrote:
    > This message was sent from: Campsite Support.
    >
    > ----------------------------------------------------------------
    >
    > Will apache2 and mysql40 make that much difference?
    >
    > As for the mod_php4, I was just following the INSTALL_FREEBSD instructions
    > that came with the source.
    >
    > ----------------------------------------------------------------
    > Sent using Phorum software version 3.4.3a

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Will apache2 and mysql40 make that much difference?

    As for the mod_php4, I was just following the INSTALL_FREEBSD instructions that came with the source.