PDA

View Full Version : Php5?


zcwd
Apr 3, 2006, 03:56 PM
Is PHP5 come standard on this version? If not can it be loaded easily without messing everything up?

atomicturtle
Apr 3, 2006, 06:11 PM
Ive got PHP 5 rpms in my [atomic-testing] channel, and 5.1 in [atomic-bleeding] now. For rh9, 3es/centos3, 4es/centos4, fc2, fc3, and fc4.

zcwd
Apr 4, 2006, 08:33 AM
I'm guessing that means it doesn't come stock then... Atomic, does your package allow for safe future upgrades? (And thanks for all of your superb work for us Plesk users) We've had very few issues with Plesk. The only times we have had issues is when we are pushing it past what its been built on.

zcwd
Apr 4, 2006, 08:36 AM
Also, do you have anything in the pipe for Redhat ES3 and ES4?

atomicturtle
Apr 4, 2006, 09:55 AM
Yep, for rhel3/rhel4 users, you can use the centos3 or 4 packages.

zcwd
Apr 4, 2006, 11:04 AM
Just be sure on this...

Atomic, does your package allow for safe future upgrades?

atomicturtle
Apr 4, 2006, 12:06 PM
They do indeed

epiweb
Apr 5, 2006, 11:40 PM
atomic first of all thanks for your excellent help with yum and your RPM builds

i'm new to yum and i am having trouble with dependancies. i'm trying to update php4 to php5 on fedora core 3 with plesk 8.0

i have downloaded the php-5.1.2-4.3.rhfc2.art.i386.rpm file and i am trying to run it off my hard drive

by command

yum -c ../php5.yum install php-5.1.2-4.3.rhfc2.art.i386.rpm

i get the message
--- message
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-imap
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-mbstring3
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-mysql
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-pgsql
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-domxml
Error: Missing Dependency: php = 4.3.11-2.8 is needed by package php-gd
--- end message

i am using a custom config file from your website (modified because some of the links didnt work?)
--- php.yum file
# ite for RHEL3, and CentOS3 users, replace $releasever with 3ES
# Note for RHEL4, and CentOS4 users, replace $releasever with 4ES

# THIS CHANNEL CONTAINS MY PSA COMPATIBLE RPMS (php, mysql, qmail-scanner, etc)
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/3/

[atomic-app-vault]
name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/

# SW-Soft Channels
[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/3/


# Update mirrors for Fedora, Fedoralegacy, and CentOS 3/4
[base]
name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/3/

[updates]
name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/3/

# up2date users (RHEL3/4)
# For up2date configurations modify /etc/sysconfig/rhn/sources file, replacing CHANGEME with 3ES for RHEL3 or 4ES for RHEL4 systems.

# Atomic RPMS
yum atomic http://3es.atomicrocketturtle.com/atomic/art/3/

# SW-Soft PSA 7.0.x RPMS
yum atomic-psa7 http://3es.atomicrocketturtle.com/atomic/psa7/3/

# SW-Soft PSA 7.1.x RPMS
yum atomic-psa71 http://3es.atomicrocketturtle.com/atomic/psa71/3/

# SW-Soft PSA 7.5.x RPMS
yum atomic-psa75 http://3es.atomicrocketturtle.com/atomic/psa75/3/
--- end php.yum file

Obviously yum is looking for php.4.4.2. I thought with the config file it would automatically pick it up from your server? I also downloaded it to my hard drive in the working directory

Any help is very appreciated !

epiweb
Apr 5, 2006, 11:51 PM
Ok i moved this further by adding the bleeding channel to the config file

--- extra lines in php5.yum
[atomic-bleeding]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic-bleeding/art/3/
-- end extra lines in php5.yum

Now i only get this message
--- message
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-domxml
--- end message

I take it i need to include another channel and everything should be great ?

Nope I needed to uninstall php-domxml. Hope this helps someone !
Just be careful guys this broke my plesk 8.0... still trying to fix...
for some reawson the modules_bf1942server table needed a hack after this install. I just set the defaults on one of the fields and no worries

atomicturtle
Apr 7, 2006, 07:05 AM
yeah that package is based on the FC5 design, so if anyone else here has run PSA on FC5 their debugging/tips will be valid for anyone using the atomic-bleeding packages.

Thanks for the update!

cuppett
Apr 14, 2006, 09:06 AM
When upgrading from PHP4 to PHP5, it appears Horde has some problems. Horde runs under the production webserver, not the Plesk webserver.

Here is a bug and responses from Horde:

http://bugs.horde.org/ticket/?id=3747

They indicate Plesk packages a modified version of Horde and that base Horde and IMP work just fine under PHP 5.

The errors in the Plesk version of Horde seem to all take the form:

PHP Fatal error: Cannot use object of type DB_mysql as array in /usr/share/psa-horde/lib/Horde/DataTree.php

chillax
Apr 17, 2006, 10:36 AM
I had this issue with the version of Horde that came with 7.5.4 and PHP5 (specifically when I was trying to open a message that I had previously replied to) but that issue does not exist with 8.0.0 for me.

JohnB@
May 18, 2006, 01:23 PM
Hi All:

Trying to upgrade to PHP 5 using atomic's "atomic-bleeding" RPMs via yum worked after I uninstalled PHP4 and php-domxml.

However, same as 'epiweb' reported here, I got this error when trying to run a general "yum update" for all packages to the "atomic-bleeding" stage:
---------
Error: Missing Dependency: php = 4.4.2-3.rhel4.art is needed by package php-domxml
----------

This is on a CentOS 4.3 system.

In another thread someone suggested to put the PHP5 module into the Apache module folder to solve this. What is the name of the PHP5 module??

ALSO .. when I try upgrading e.g. "frontpage" using the command "yum update frontpage" I get this kind of error:
--------------
Package frontpage-5.0-72psa.rhel4.i586.rpm is not signed
--------------
Same with most other packages. What is this, how to solve this?

John

atomicturtle
May 19, 2006, 12:33 PM
You'll probably need to rip out your old php install out before trying php 5.1.

On your second question, you'll need to turn the gpgcheck off for the psa archive, since they dont sign their packages.

Redah
May 19, 2006, 07:49 PM
I'm having the following problem when I added the 'bleeding' repository to Yum and ran yum update:


[root@epona redah]# yum update
Setting up Update Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
atomic 100% |=========================| 951 B 00:00
updates-released 100% |=========================| 951 B 00:00
atomic-bleeding 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00

<snip>

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-5.1.2-4.3.rhfc4.art.i 100% |=========================| 20 kB 00:00
---> Package php.i386 0:5.1.2-4.3.rhfc4.art set to be updated
---> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-5.1.2-4.3.rh 100% |=========================| 14 kB 00:00
---> Package php-mbstring.i386 0:5.1.2-4.3.rhfc4.art set to be updated
---> Downloading header for php-imap to pack into transaction set.
php-imap-5.1.2-4.3.rhfc4. 100% |=========================| 14 kB 00:00
---> Package php-imap.i386 0:5.1.2-4.3.rhfc4.art set to be updated
---> Downloading header for php-gd to pack into transaction set.
php-gd-5.1.2-4.3.rhfc4.ar 100% |=========================| 14 kB 00:00
---> Package php-gd.i386 0:5.1.2-4.3.rhfc4.art set to be updated
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-5.1.2-4.3.rhfc4 100% |=========================| 15 kB 00:00
---> Package php-mysql.i386 0:5.1.2-4.3.rhfc4.art set to be updated
---> Downloading header for sqlite to pack into transaction set.
sqlite-3.1.2-3.rhfc4.art. 100% |=========================| 3.7 kB 00:00
---> Package sqlite.i386 0:3.1.2-3.rhfc4.art set to be updated
---> Downloading header for php-xml to pack into transaction set.
php-xml-5.1.2-4.3.rhfc4.a 100% |=========================| 15 kB 00:00
---> Package php-xml.i386 0:5.1.2-4.3.rhfc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pear
--> Processing Dependency: php-pdo for package: php-mysql
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-pdo to pack into transaction set.
php-pdo-5.1.2-4.3.rhfc4.a 100% |=========================| 14 kB 00:00
---> Package php-pdo.i386 0:5.1.2-4.3.rhfc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pear
--> Finished Dependency Resolution
Error: Missing Dependency: php = 5.0.4-10.5 is needed by package php-pear


You don't have a php-pear package? To be honest, I'm not sure why I have it, afaik it came installed with either FC4 (although I cleaned out alot of useless RPMs), or it came with the PLESK 8.0 auto-installer.

So, should I remove this? You don't appear to have php-pear for other distributions either, as far as I could see...

*edit * Apparently PLESK installed this ... So I assume I shouldn't remove it. Is there a reason you don't have a pear package?

atomicturtle
May 19, 2006, 09:22 PM
Because even I havent run packages in atomic-bleeding :P. You're effectively in my CVS tree. Im tempted to rename the art tag on those packages to: dontrunmeeverforanyreasonwhatsoeveryouhavebeenwarn ed :P

All joking aside, thanks a lot for testing these out for me, theres no way I'd have the time to run down these issues without your help. I might not be able to assist you on getting this working right away, but I absolutely add your comments to my notes for further debugging. I really couldn't make some of these extreme modifications work without the support of those folks out there willing to try out untested packages like this.

Redah
May 20, 2006, 06:29 AM
What would really interest me, and I presume interests other people as well, is if there's some way you could keep all applications used by PLESK up-to-date in your archives. I'd even pay for an subscription to that.

What I mean by that is: I've currently got FC4 installed, because that's the highest FC version PLESK supports. I've updated PHP and MySQL to your versions (because FC4 doesn't have newer packages yet), but there are essential things missing that PLESK uses that I'd like to see updated, e.g.: Apache, Bind, ProFTPd (they're at version 1.3.0 now whilst 1.2.10 is still installed by default), which in turn requires OpenSSL, etc.

To be honest, I haven't looked into the amount of work that would be involved in that, but these are applications that are pretty essential and would be terribly to have 'left behind'. Perhaps some sort of subscription model would get you more motivated on something like this ;)

JohnB@
May 21, 2006, 06:47 AM
Hi !

I posted earlier in this thread.... still can't solve the yum installer problem. Still get this:

-----------
Error: Missing Dependency: php = 4.4.2-3.rhel4.art is needed by package php-domxml
-----------

I used "rpm -qa" for a list of all RPMs but cannot find any remaining hint to PHP 4. I cannot upgrade psa and many other packages because of this error -- although PHP is at version 5.1.2.

php-domxml is NOT installed -- I checked.
Anyone has a clue why this is still happening?

John

phatPhrog
May 25, 2006, 04:11 PM
You're not alone in this. I spent several hours installing CentOS and PSA only to find I couldn't use the updater.

It won't install/update the backup utility, psa-api or other apps.

Keep telling me:

ERROR: Can't add to black list product package psa-api

I found another post concerning installing/updating php-domxml and php-mbstring and the message returned on that is the packages are up-to-date.

Using both yum and up2date, get the same result.

Unfortunately, I had to restore FC4/Plesk 8 so I could get my server back online.

atomicturtle
May 28, 2006, 08:49 AM
In reference to keeping the box updated from one source (ie yum), that is was the idea of the project, and until around PSA 7.1 it worked like that. Unfortunately PSA itself has since become more modular so I've had to work around that, with other "mule" rpms, like atomic-psa (which needs work).

crnunez
Jun 15, 2006, 10:13 PM
Please, can any help me? Thanks!

http://forum.swsoft.com/showthread.php?s=&threadid=34322

mhutchings
Jun 17, 2006, 06:41 PM
Little off topic, but ...

Atomic, with all the testing you have done, do you have a handy writeup on problems / issues you might have dealt with on creating installers for the Application Vault?

atomicturtle
Jun 17, 2006, 06:53 PM
Nothing outside of forum posts really

mhutchings
Jun 18, 2006, 01:26 AM
Thanks anyway.

I've been collecting notes, but am looking for anything else I can use in addition to the guides Plesk puts out.

With any luck, I'll get started shortly and go on from there.

atomicturtle
Jun 18, 2006, 08:30 AM
If this helps at all, FC4 comes with php 5.0 by default, so anything that works with PSA on that platform will be compatible. I'm basing my 5.0 rpms on the FC4 design, and the 5.1 packages on FC5's.

mhutchings
Jun 18, 2006, 07:04 PM
I'll probably keep it simple and build rpms that can support PHP5 and are backwards compatible to PHP4.

Atleast for the moment. I might break it out down the road to be more system specific, but If I do this, I want to get the most bang for my buck timewise.

I've already started to go thru my wishlist of programs that I want to create installers for to find some good candidates.

crnunez
Jun 20, 2006, 04:32 PM
Hello,
Where is the YUM link for download? I have RHEL4 on my system and I wanna to install yum.

http://forum.swsoft.com/showthread.php?s=&threadid=34322

Thanks a lot.

atomicturtle
Jun 21, 2006, 09:22 AM
Use the one from CentOS4

crnunez
Jun 21, 2006, 10:19 AM
Thanks, I downloaded YUM from http://linux.duke.edu/projects/yum/download/2.6/

yum-2.6.1.tar.gz

My Steps:

1º wget http://linux.duke.edu/....
2º tar -zxvf yum-2.6.1.tar.gz
2.1 the command create a folder yum-2.6.1.tar.gz

3º cd yum-2.6.1
In this folder I apply this command:
4º make install

the entire logs:

[root@ns yum-2.6.1]# make install
mkdir -p /usr/share/yum-cli
for p in callback.py cli.py i18n.py output.py progress_meter.py pullheaders.py serverStuff.py shell.py translate.py yummain.py ; do \
install -m 644 $p /usr/share/yum-cli/$p; \
done
python -c "import compileall; compileall.compile_dir('/usr/share/yum-cli', 1, '', 1)"
Listing /usr/share/yum-cli ...
Compiling /usr/share/yum-cli/callback.py ...
Compiling /usr/share/yum-cli/cli.py ...
Compiling /usr/share/yum-cli/i18n.py ...
Compiling /usr/share/yum-cli/output.py ...
Compiling /usr/share/yum-cli/progress_meter.py ...
Compiling /usr/share/yum-cli/pullheaders.py ...
Compiling /usr/share/yum-cli/serverStuff.py ...
Compiling /usr/share/yum-cli/shell.py ...
Compiling /usr/share/yum-cli/translate.py ...
translate.py:117: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
if _StrToInt(buffer[:4]) != 0x950412de:
translate.py:162: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
f.write(_intToStr(0x950412de)) # magic number
Compiling /usr/share/yum-cli/yummain.py ...
mkdir -p /usr/bin /usr/bin
install -m 755 bin/yum.py /usr/bin/yum
install -m 755 bin/yum-arch /usr/bin/yum-arch
mkdir -p /var/cache/yum
for d in repomd rpmUtils yum etc docs; do make PYTHON=python DESTDIR=`cd ; pwd` -C $d install; [ $? = 0 ] || exit 1; done
make[1]: Entering directory `/programas/yum-2.6.1/repomd'
mkdir -p /root//usr/lib/python2.3/site-packages/repomd
for p in __init__.py mdErrors.py mdUtils.py packageObject.py packageSack.py repoMDObject.py test.py ; do \
install -m 644 $p /root//usr/lib/python2.3/site-packages/repomd/$p; \
done
python -c "import compileall; compileall.compile_dir('/root//usr/lib/python2.3/site-packages/repomd', 1, '', 1)"
Listing /root//usr/lib/python2.3/site-packages/repomd ...
Compiling /root//usr/lib/python2.3/site-packages/repomd/__init__.py ...
Compiling /root//usr/lib/python2.3/site-packages/repomd/mdErrors.py ...
Compiling /root//usr/lib/python2.3/site-packages/repomd/mdUtils.py ...
Compiling /root//usr/lib/python2.3/site-packages/repomd/packageObject.py ...
Compiling /root//usr/lib/python2.3/site-packages/repomd/packageSack.py ...
Compiling /root//usr/lib/python2.3/site-packages/repomd/repoMDObject.py ...
Compiling /root//usr/lib/python2.3/site-packages/repomd/test.py ...
make[1]: Leaving directory `/programas/yum-2.6.1/repomd'
make[1]: Entering directory `/programas/yum-2.6.1/rpmUtils'
mkdir -p /root//usr/lib/python2.3/site-packages/rpmUtils
for p in arch.py __init__.py miscutils.py oldUtils.py transaction.py updates.py ; do \
install -m 644 $p /root//usr/lib/python2.3/site-packages/rpmUtils/$p; \
done
python -c "import compileall; compileall.compile_dir('/root//usr/lib/python2.3/site-packages/rpmUtils', 1, '', 1)"
Listing /root//usr/lib/python2.3/site-packages/rpmUtils ...
Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/__init__.py ...
Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/arch.py ...
Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/miscutils.py ...
Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/oldUtils.py ...
Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/transaction.py ...
Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/updates.py ...
make[1]: Leaving directory `/programas/yum-2.6.1/rpmUtils'
make[1]: Entering directory `/programas/yum-2.6.1/yum'
mkdir -p /root//usr/lib/python2.3/site-packages/yum
for p in comps.py config.py constants.py depsolve.py Errors.py failover.py __init__.py logger.py mdcache.py mdparser.py misc.py packages.py parser.py pgpmsg.py plugins.py repos.py sqlitecache.py sqlitesack.py transactioninfo.py update_md.py ; do \
install -m 644 $p /root//usr/lib/python2.3/site-packages/yum/$p; \
done
python -c "import compileall; compileall.compile_dir('/root//usr/lib/python2.3/site-packages/yum', 1, '', 1)"
Listing /root//usr/lib/python2.3/site-packages/yum ...
Compiling /root//usr/lib/python2.3/site-packages/yum/Errors.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/__init__.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/comps.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/config.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/constants.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/depsolve.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/failover.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/logger.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/mdcache.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/mdparser.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/misc.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/packages.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/parser.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/pgpmsg.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/plugins.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/repos.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/sqlitecache.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/sqlitesack.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/transactioninfo.py ...
Compiling /root//usr/lib/python2.3/site-packages/yum/update_md.py ...
make[1]: Leaving directory `/programas/yum-2.6.1/yum'
make[1]: Entering directory `/programas/yum-2.6.1/etc'
#mkdir -p /root/etc/security/console.apps
#install -m 644 yum.console /root/etc/security/console.apps/yum
#mkdir -p /root/etc/pam.d
#install -m 644 yum.pam /root/etc/pam.d/yum
mkdir -p /root/etc/yum.repos.d
install -m 644 yum.conf /root/etc/yum.conf
mkdir -p /root/etc/cron.daily
install -m 755 yum.cron /root/etc/cron.daily/yum.cron
mkdir -p /root/etc/cron.weekly
install -m 755 yum.cron.weekly /root/etc/cron.weekly/yum.cron
mkdir -p /root/etc/rc.d/init.d
install -m 755 yum.init /root/etc/rc.d/init.d/yum
mkdir -p /root/etc/logrotate.d
install -m 644 yum.logrotate /root/etc/logrotate.d/yum
mkdir -p /root/etc/yum/
install -m 644 yum-daily.yum /root/etc/yum/yum-daily.yum
make[1]: Leaving directory `/programas/yum-2.6.1/etc'
make[1]: Entering directory `/programas/yum-2.6.1/docs'
mkdir -p /root/usr/share/man/man{5,8}
install -m 644 yum.8 /root/usr/share/man/man8/yum.8
install -m 644 yum-shell.8 /root/usr/share/man/man8/yum-shell.8
install -m 644 yum-arch.8 /root/usr/share/man/man8/yum-arch.8
install -m 644 yum.conf.5 /root/usr/share/man/man5/yum.conf.5
make[1]: Leaving directory `/programas/yum-2.6.1/docs'
[root@ns yum-2.6.1]# rpm -q yum
package yum is not installed
[root@ns yum-2.6.1]#

Now, my question is: What do I do wrong? How Can I run yum?

crnunez
Jun 21, 2006, 02:49 PM
Hello,
I attempt to install manually an Upgrade of PHP, then I can discover the problem.

In: http://3es.atomicrocketturtle.com/atomic/art/4ES/RPMS/

Is missing the file php-ncurses-4.4.2-3.rhel4.art.i386.rpm


[root@ns php]# rpm -Uvh php-4.4.2-3.rhel4.art.i386.rpm php-mbstring-4.4.2-3.rhel4.art.i386.rpm php-devel-4.4.2-3.rhel4.art.i386.rpm
error: Failed dependencies:
php = 4.3.9-3.12 is needed by (installed) php-domxml-4.3.9-3.12.i386
php = 4.3.9-3.12 is needed by (installed) php-imap-4.3.9-3.12.i386
php = 4.3.9-3.12 is needed by (installed) php-ldap-4.3.9-3.12.i386
php = 4.3.9-3.12 is needed by (installed) php-mysql-4.3.9-3.12.i386
php = 4.3.9-3.12 is needed by (installed) php-odbc-4.3.9-3.12.i386
php = 4.3.9-3.12 is needed by (installed) php-pear-4.3.9-3.12.i386
php = 4.3.9-3.12 is needed by (installed) php-pgsql-4.3.9-3.12.i386
php = 4.3.9-3.12 is needed by (installed) php-ncurses-4.3.9-3.12.i386
[root@ns php]#

Can you upload this file on your server? One million of thanks!

atomicturtle
Jun 22, 2006, 06:50 AM
That will go away if you install it through yum, the try grabbing the package from CentOS4 (www.centos.org)

crnunez
Jun 22, 2006, 01:16 PM
Hi,
[root@ns php]# rpm -Uvh php-4.4.2-3.rhel4.art.i386.rpm php-mbstring-4.4.2-3.rhel4.art.i386.rpm php-devel-4.4.2-3.rhel4.art.i386.rpm php-domxml-4.4.2-3.rhel4.art.i386.rpm php-imap-4.4.2-3.rhel4.art.i386.rpm php-ldap-4.4.2-3.rhel4.art.i386.rpm php-mysql-4.4.2-3.rhel4.art.i386.rpm php-odbc-4.4.2-3.rhel4.art.i386.rpm php-pear-4.4.2-3.rhel4.art.i386.rpm php-pgsql-4.4.2-3.rhel4.art.i386.rpm
Preparing... ########################################### [100%]
1:php-pgsql ########################################### [ 10%]
2:php-pear ########################################### [ 20%]
3:php-odbc ########################################### [ 30%]
4:php-mysql ########################################### [ 40%]
5:php-ldap ########################################### [ 50%]
6:php-imap ########################################### [ 60%]
7:php-domxml ########################################### [ 70%]
8:php-devel ########################################### [ 80%]
9:php-mbstring ########################################### [ 90%]
10:php warning: /etc/httpd/conf.d/php.conf saved as /etc/httpd/conf.d/php.conf.rpmsave
warning: /etc/php.ini created as /etc/php.ini.rpmnew
########################################### [100%]
[root@ns php]#

But, after this installation is impossible increasy the memory_limit of php.ini Is it a bug of PHP 4.2.2??

In Horde appear:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 976809 bytes) in /usr/share/psa-horde/pear/Net/SMTP.php on line 792

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1571927 bytes) in /usr/share/psa-horde/pear/Mail/smtp.php on line 290 problem with BMP

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1204904 bytes) in /usr/share/psa-horde/pear/Mail/smtp.php on line 290

Really thanks for any help!