PHP 5.2.2 - Horde - Dependencies

Support/Development for PHP
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

PHP 5.2.2 - Horde - Dependencies

Unread post by crnunez »

Hello,
Horde and my old PHP 5.0.4 require this rpm's for works:

PHP 5.2 Mcrypt
PHP 5.2 Cli
PHP 5.2 Common
PHP 5.2 IMAP
PHP 5.2 PDO

Thanks Scott for add this packages in ART.

Regards.

P.S.: RHEL4 + Plesk 8.1.1
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Are you getting any error output that I can use for testing over here?
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

Hi Scott,
PHP Module Capabilities
Ctype Support: Yes
DOM XML Support: Yes
FTP Support: Yes
GD Support: Yes
Gettext Support: Yes
Iconv Support: Yes
IMAP Support: No
LDAP Support: Yes
Mbstring Support: Yes
Mcrypt Support: No

In my PHP 5.0.4 I had these:

php version: 5.0.4
server api: apache2handler
loaded extensions: 52
system: Linux 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686

activated extensions: function list:
SPL function list
SimpleXML function list
apache2handler function list
bcmath function list
bz2 function list
calendar function list
ctype function list
curl function list
dba function list
dbx function list
dio function list
dom function list
exif function list
fileinfo function list
ftp function list
gd function list
gettext function list
gmp function list
iconv function list
imap function list
ionCube Loader function list
ldap function list
libxml function list
mbstring function list
mcrypt function list
mhash function list
mime_magic function list
mysql function list
mysqli function list
ncurses function list
odbc function list
openssl function list
pcre function list
pgsql function list
posix function list
pspell function list
session function list
shmop function list
snmp function list
soap function list
sockets function list
standard function list
sysvmsg function list
sysvsem function list
sysvshm function list
tokenizer function list
wddx function list
xml function list
xmlrpc function list
xsl function list
yp function list
zlib function list

Now, the system said that missing dependencies through Up2date with ART Channels.

Regards.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Anything not already documented in the wiki?
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Unread post by Highland »

I found someone who has some compatible RPMS with the ART PHP library. I only needed php-mcrypt and php-mhash but they work fine under the ART 5.2.2 stuff. You'll probably need to manually install them since his yum repo has some stuff that might conflict with ART. Considering my own attempts to compile from php-extras failed it's a good workaround until if/when ART has them too.
http://www.jasonlitka.com/
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

Highland wrote:I found someone who has some compatible RPMS with the ART PHP library. I only needed php-mcrypt and php-mhash but they work fine under the ART 5.2.2 stuff. You'll probably need to manually install them since his yum repo has some stuff that might conflict with ART. Considering my own attempts to compile from php-extras failed it's a good workaround until if/when ART has them too.
http://www.jasonlitka.com/
Thanks for info.

We really need these packages in ART, thanks a lot Scott for put PHP-HASH and PHP-MCRYPT ...

Regards.
vowp
New Forum User
New Forum User
Posts: 3
Joined: Wed May 23, 2007 8:42 pm

Unread post by vowp »

I'm not clear. Does this effect Horde in general or PSA-Horde specifically? I want to update my PHP but we use Horde quite a bit and I don't want to break it. I saw the link to the other site (http://www.jasonlitka.com/) but I'm still a bit of a noob at all this. Can anyone point me in the right direction as to how to manually install them? Also, not pushing but when do you think they will be added to ART?

vowp
FC4, PLESK 8.1.1

(Scott: thanks for fixing my account problems!)
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Unread post by Highland »

First, Jason's repo is apparently for CentOS/RHEL 4.x only. If you're using FC you'll need a different build (and I would highly suggest dropping FC4 as your OS). What I did was manually navigate down inside his repo until I found the RPMs I wanted (php-mcrypt, etc) for PHP 5.2.2 and then I did a wget and ran the rpm command manually
#rpm -ivh rpm.file.name.here
Obviously not the preferred way but it didn't squawk when I did it and my PHP install now shows those libraries installed. Keep in mind that these are just add-on libraries anyways and, up until now, users have been encouraged to compile their own.

Horde doesn't need mcrypt but it likes for mcrypt to be installed. From the Horde site
Building PHP without mcrypt support will not stop Horde from working, but will force it to use weaker (and much slower) encryption.
vowp
New Forum User
New Forum User
Posts: 3
Joined: Wed May 23, 2007 8:42 pm

Unread post by vowp »

Again, I'm still learning, but since this particular server is a "virtual dedicated" I don't think it is possible to upgrade the OS. I did some web searches and no one really has a way of upgrading the OS of a "virtual" remotely. I also checked the fedora site and I see that they are about to release "7". I was surprised to learn that my host was so far behind. However, searching for other hosts I found that most all of them are still using FC4 (any idea as to why?). I originally went with the virtual because I was afraid that the dedicated would be overkill but now that we're starting to use more and more resources on the server I'm probably going to end up upgrading to a dedicated (suggestions of what to look out for - good or bad - are greatly appreciated).

As for the RPMS. Do you have any recommendations as to the best place(s) to find them for my "antiquated" OS (besides here of course)?

vowp
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

as far as Ive seen, I'm the only one maintaining anything for FC4 these days.
vowp
New Forum User
New Forum User
Posts: 3
Joined: Wed May 23, 2007 8:42 pm

Unread post by vowp »

So, then why do so many of the hosting companies still use FC4? Can you confirm that it is NOT possible to upgrade the OS remotely? I got the notice that SW Soft is dropping support for FC2 & 3. How is everyone else doing this - hosting their servers on-site only?

vowp
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I think because their margins are so tight, they cut costs wherever they can, in this case R&D. FC4 is a legacy of a business decision made as the followup to the use of RH9. I suspect we'll see more and more of the industry going over to CentOS4 or 5 going forward.

It is possible to upgrade the OS remotely, I wrote a script for it here:
http://www.atomicrocketturtle.com/Jooml ... ew/139/29/

Ive used that to upgrade all the systems I operate out there to CentOS4.
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Unread post by Highland »

My suggestions on Plesk hosting are either 1and1 or The Planet. 1and1 gives you very little support (India phone support, no forums) but is a little less expensive than Planet (if you go for a host without Plesk at all it gets cheaper still). I have a 1and1 server but I reimaged manually to CentOS. I suspect that 1and1 will have to support CentOS directly soon as their only official images are FC4, SuSe 10 and Debian 3.1. Even if they don't, Scott's scripts fix their wacky partition scheme.

Regardless, if you're on virtual hosting I wouldn't expect an OS upgrade anytime soon. Get your own box. You'll be much happier in the long run.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Going by the number of accesses to the script alone, its been used over 2500 times. :P So just to be conservative, there are probably at least a thousand centos4 boxes over at 1and1 now.
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

Hello,
Missing dependencies:

Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
php-Fileinfo-5.0.4-10.1 requires php = 5.0.4
php-mcrypt-5.0.4-14.rhel4.art requires php = 5.0.4-14.rhel4.art
php-mhash-5.0.4-14.rhel4.art requires php = 5.0.4-14.rhel4.art
php-pdo 5.2.3-1.el4.art requires libsqlite3.so.0


The following packages were added to your selection to satisfy dependencies:
Package Required by
----------------------------------------------------------------------------
php-cli-5.2.3-1.el4.art.i386 php-pear-1.5.0-5.el4.art php-cli
php-cli-5.2.3-1.el4.art.i386 php-5.2.3-1.el4.art php-cli
php-common-5.2.3-1.el4.art.i386 php-dba-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-bcmath-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-snmp-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-ldap-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-pgsql-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-xml-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-ncurses-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-gd-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-odbc-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-mysql-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-xmlrpc-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-imap-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-mbstring-5.2.3-1.el4.art php-common
php-common-5.2.3-1.el4.art.i386 php-soap-5.2.3-1.el4.art php-common
php-pdo-5.2.3-1.el4.art.i386 php-pgsql-5.2.3-1.el4.art php-pdo
php-pdo-5.2.3-1.el4.art.i386 php-mysql-5.2.3-1.el4.art php-pdo
php-pdo-5.2.3-1.el4.art.i386 php-odbc-5.2.3-1.el4.art php-pdo

[root@ns etc]#

Thanks!!!!

P.S.: RHEL4 Plesk 8.1.1
Post Reply