Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Craig 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
-
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
-
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
-
hmm don't know for sure, but I have at least 4.2.2.
The redirect to set_config.php is correct though.
-
ps. make sure you untar the files so they are in the /html root directory and not in /htm/phpwebsite_9.2/files_here
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
Um, no, I can't really. It sounds like the RPMs you posted aren't compatible with Craig's SME version (which makes sense, as SME 5.5 isn't based on RH7.3--you'd want RH 7.2 versions of those RPMs).
-
Can I jump in and ask Dan about those php 4.3.x rpms he has in his contrib dir - you said a few weeks ago that installing them breaks horde... can you expand on that a bit? is it fixable? I don't have a dev server to try stuff out on.
G
-
PHP 4.3.x doesn't include PEAR, which is necessary for Horde to operate. You can manually install the PEAR libraries, but I haven't looked into a quick and easy way to do that, as I haven't had any need for PHP > 4.1.2.
-
Dan Brown wrote:
>
> PHP 4.3.x doesn't include PEAR, which is necessary for Horde
> to operate. You can manually install the PEAR libraries, but
I seem to have pear installed in /usr/share/pear - but I can't remember if I installed it manually or not... if it did come with 4.1.x, an upgrade to 4.3.x would remove it then?
> I haven't looked into a quick and easy way to do that, as I
> haven't had any need for PHP > 4.1.2.
Weird now I check out php.ini, it has "/usr/share/php" in the include_path variable, but that path doesn't even exist on the server... I suspect a manual install of pear would only require inclusion of the installed path into this include_path variable...
G
-
Thanks Dan,
I think you're right. I overlooked the fact that Craig is using 5.5 (despite the fact that he stated that clearly :-) )
Regards,
guestHH
-
well, I've have php 4.2.2 at the same place for use with SME 5.5.
I've used these when my machine was still 5.5 (now 5.6)
Regards,
guestHH
-
Hsing Foo,
Thanks for the files. I have downloaded and tried to install:
eg: rpm -Uvh *.rpm
I then get the following:
[root@mail PHP v4.2.2 for SME v5.5]# rpm -Uvh *.rpm
error: failed dependencies:
libcrypto.so.1 is needed by php-4.2.2-1db
libssl.so.1 is needed by php-4.2.2-1db
libcrypto.so.1 is needed by php-imap-4.2.2-1db
libssl.so.1 is needed by php-imap-4.2.2-1db
libcrypto.so.1 is needed by php-ldap-4.2.2-1db
libssl.so.1 is needed by php-ldap-4.2.2-1db
unixODBC is needed by php-odbc-4.2.2-1db
libodbc.so.1 is needed by php-odbc-4.2.2-1db
postgresql is needed by php-pgsql-4.2.2-1db
libpq.so is needed by php-pgsql-4.2.2-1db
libcrypto.so.1 is needed by php-snmp-4.2.2-1db
libsnmp-0.4.2.so is needed by php-snmp-4.2.2-1db
libssl.so.1 is needed by php-snmp-4.2.2-1db
[root@mail PHP v4.2.2 for SME v5.5]#
Do I need to do a --force or --nodeps when installing these rpms?
Thanks in advance.
Regards
Craig
-
I don't remember, but try a --nodeps. (it's a test box right?)
I must say I too had 'starnge' messages at that time. I believe I did a --nodeps.
Sorry.
Regards,
guestHH
-
http://rpms.arvin.dk/php/rh72/
-
Wow now this is getting to be a long thread. Am I correct in thinking that I would have less problems installing this on 5.6 because it already has the required PHP version installed? If so one really good reason to upgrade.
Anyone know of any other descent Content Management Systems out there? I just got a walk through on School Center.....it's pretty but expensive.
Thanks
Would it be possible for someone to write a How To for this install? Lots of people would probably benefit.
-
I have edited the install to run on 4.1.2 and all seems ok except i can't create image dirs.
I cant find any info that states why 4.2.2 is need other than it is