Koozali.org: home of the SME Server

PHPWebsite v0.92

Craig

PHPWebsite v0.92
« on: June 03, 2003, 08:24:51 AM »
Hi all,

I have been running PHPWebsite v0.83 http://phpwebsite.appstate.edu/ for quite sometime now and it works great.

Has anyone installed v0.92 on SME 5.5/5.6 yet and got a HowTo or point me in the right direction?

Thanks in advance.

Regards
Craig

guestHH

Re: PHPWebsite v0.92
« Reply #1 on: June 03, 2003, 10:30:24 AM »
I'm running phpwebsite 0.9.X on several sites since it's out there. The install is pretty staight forward.

Basically it's like:

- Create a mysql database and grant rights to a new phpwebsite user
- untar the file (in an ibay in the html directory)
- edit the script  /setup/secure_phpws and change the apache user to 'www'
- run the script: './secure_phpws.sh setup'
- got to: http://www.yourdomain.com/ibay/setup
- follow instructions
- when finished with the initial install run the the secure script like: secure_phpws.sh run www.www

That should do it. The guys from the technology group are developing phpwebsite in an amazing speed and with very nice quality and features. Not bad for a 'summer project' getting out of hand :-)

Regards,
guestHH

Mike

Re: PHPWebsite v0.92
« Reply #2 on: June 03, 2003, 11:51:03 AM »
RequestedDeletion - Do you need to upgrade php version from 4.1.2? I'm working with Craig (original poster) on this and cannot get the setup to work as you described. when I run http://server/ibay/setup it redirects to http://server/ibay/setup/set_config.php and stays a blank page (no errors displayed).

Any help would be appreciated.

Cheers,
Mike

guestHH

Re: PHPWebsite v0.92
« Reply #3 on: June 03, 2003, 01:02:20 PM »
hmm don't know for sure, but I have at least 4.2.2.

The redirect to set_config.php is correct though.

guestHH

Re: PHPWebsite v0.92
« Reply #4 on: June 03, 2003, 01:10:58 PM »
ps. make sure you untar the files so they are in the /html root directory and not in /htm/phpwebsite_9.2/files_here

Mike

Re: PHPWebsite v0.92
« Reply #5 on: June 03, 2003, 01:27:04 PM »
Have played a bit more and it is the php version that's causing the grief. i'm only on 4.1.2. I modded the php files in the setup directory to skip the check and got it installed. must be a reason why 4.2.2 is the required version. must upgrade php - hmmm next task.... :)

cheers and thanks for your help.

Mike

Craig

Re: PHPWebsite v0.92
« Reply #6 on: June 03, 2003, 02:31:35 PM »
Thanks to all who replied seem to be on the right track now.

Files needed to upgrade PHP to v4.2.2 see http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-php_upgrade/

Thanks for your help.

Regards
Craig

Bertrand CHERRIER

Re: PHPWebsite v0.92
« Reply #7 on: June 03, 2003, 04:56:29 PM »
Upgrade to php 4.2.2 went without any problems ... but I still get the same error message : Unable to connect to your server's database
Using phpmyadmin I've manually created a database named webuser a user with no privilege and under database permission, I've granted all on webuser@localhost for phpwebsite.

I just can't figure out what's wrong.
I'll be happy if anyone could help me

Craig

Re: PHPWebsite v0.92
« Reply #8 on: June 03, 2003, 05:36:14 PM »
Bertrand

What version of SME are you using......I have tried installing the PHP v4.2.2 upgrade from that link I posted and all I got was dependancy errors?

Regards
Craig

Bertrand CHERRIER

Re: PHPWebsite v0.92
« Reply #9 on: June 03, 2003, 05:41:57 PM »
I'm using SME 5.6U4 with MySQL 3.23.54a-3.73 , glibc-2.2.5-42.
all I did was rpm -Uvh *.rpm (and of course a /etc/init.d/httpd restart ;)

Craig wrote:
>
> Bertrand
>
> What version of SME are you using......I have tried
> installing the PHP v4.2.2 upgrade from that link I posted and
> all I got was dependancy errors?
>
> Regards
> Craig

guestHH

Re: PHPWebsite v0.92
« Reply #10 on: June 03, 2003, 07:07:48 PM »
I had the same error with all installations, do the following:

1. in the /DOCS directory you find sample.config.php
2. copy this to the /conf directory
3. rename it to config.php
4. edit the file and put your correct info in there (what you entered in your browser)
5. then go back to the browser and try again

Craig

Re: PHPWebsite v0.92
« Reply #11 on: June 03, 2003, 07:18:38 PM »
RequestedDeletion,

Thanks for your help so far.

Have you upgraded a SME v5.5 Server to PHP v4.2.2?

If so where did you get the RPM's that installed with no failed dependancies?

Thanks in advance.

Regards
Craig

guestHH

Re: PHPWebsite v0.92
« Reply #12 on: June 03, 2003, 07:39:37 PM »
I've searched them based on the RH7.3 versions.

For your convenience i've placed them here:

https://www.star-support.com/webshare/public/

user: guest
pass: guest

Regards,
guestHH

Craig

Re: PHPWebsite v0.92
« Reply #13 on: June 03, 2003, 08:54:43 PM »
Hsing Foo,

Thanks for the files, I have downloaded those files and tried them on SME v5.5 but still get dependancy errors.

See below:

[root@mail PHP]# ls
php-4.2.3-1db_rh73.i386.rpm        php-imap-4.2.3-1db_rh73.i386.rpm  php-mysql-4.2.3-1db_rh73.i386.rpm
php-devel-4.2.3-1db_rh73.i386.rpm  php-ldap-4.2.3-1db_rh73.i386.rpm
[root@mail PHP]# rpm -Uvh *.rpm
error: failed dependencies:
        libdb-3.3.so   is needed by php-4.2.3-1db_rh73
        php = 4.1.2-2es3 is needed by php-pgsql-4.1.2-2es3
[root@mail PHP]#

Regards
Craig

guestHH

Re: PHPWebsite v0.92
« Reply #14 on: June 04, 2003, 01:59:36 AM »
well, maybe it's time to ask Dan Brown for assistance. Not that I am lazy, but he's got the expertise since he previously made php updates available.

Dan, could you please advice?

Regards,
guestHH