Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: ergozd on January 12, 2005, 08:34:30 PM
-
Hello everyone!
Dan has released php-4.3.10 RPMS
http://lists.contribs.org/mailman/public/devinfo/msg07709.html
I updated the script
http://ergin.dyndns.org/download/php4.3.10-upgrade.sh
Best rgds, Ergin
-
Heya Ergin,
contribs.org would be happy to provide you with your own FTP area (contrib area), care to join?
-
Hello everyone...
This script dosen't work for me !!!
All is down now... If I type php -v to see the version, nothing appear ???? AND all of my HTTPD was down and inaccessible !!!
NOW I downgrade to PHP 4.3.9 and EVERYTHING was fine.!!!
Any idea ?
Thanks,
Snoopyski
-
1 - Did you see/get any messages etc?
2 - Do you have any PHP optimizer (Zend Optimizer and/or MMCache) installed on your system?
If so you'll have recompile newer modules.
I tested on my test server and later on my production server before I posted this thread.
Best rgds, Ergin
-
Thanks for reply,
1) I never received any error message...
2) Yes I have the MMCache installed from Master Sleepy...
Do I need to uninstall the RPM for MMCache ?
Thanks,
Snoopyski
-
/usr/lib/php4/mmcache.so needs to re-complied.
Solution 1 - MasterSleepy has informed in thread
http://forums.contribs.org/index.php?topic=24730.0
Hi all,
I've recompile and rebuild the rpm so that it could be used with php 4.3.10.
The link don't have changed.
Solution 2 - if above rpm doesn't help you can copy mmcache.so I built with php-4.3.10 from http://ergin.dyndns.org/download/mmcache/php_4310/mmcache.so
That should do the trick.
Good luck, Ergin
-
Yes I know... Thats the version is installed on my SME...
Thanks,
Snoopyki
-
ergozd
> I updated the script
> http://ergin.dyndns.org/download/php4.3.10-upgrade.sh
Thanks for your script.
The use of the service command in sme is deprecated and does not necessarily do what you may want it to do in all circumstances.
eg in your script near the end
service httpd restart
Better alternatives are:
/etc/init.d/httpd restart
or
/etc/e-smith/events/actions/restart-httpd-full
Perhaps you would like to update your script ?
Thanks to Charlie for pointing this out to me and to all of us quite regularly.
-
Hello everyone!
Dan has released php-4.3.10 RPMS
http://lists.contribs.org/mailman/public/devinfo/msg07709.html
I updated the script
http://ergin.dyndns.org/download/php4.3.10-upgrade.sh
Best rgds, Ergin
Do you know what the difference between Dan's RPM build and what was being used in the unofficial upgrade script that is floating around?
JB
-
The differences are in how they are created (what's in spec file)
1 - contentdir
Dan Browns RPMS
%define contentdir /home/e-smith/files/primary
RHX RPMS
%define contentdir /var/www/html
2 - ./configure options
Following options are the SAME
./configure'
'i386-redhat-linux'
'--prefix=/usr'
'--exec-prefix=/usr'
'--bindir=/usr/bin'
'--sbindir=/usr/sbin'
'--sysconfdir=/etc'
'--datadir=/usr/share'
'--includedir=/usr/include'
'--libdir=/usr/lib'
'--libexecdir=/usr/libexec'
'--localstatedir=/var'
'--sharedstatedir=/usr/com'
'--mandir=/usr/share/man'
'--infodir=/usr/share/info'
'--prefix=/usr'
'--with-config-file-path=/etc'
'--enable-force-cgi-redirect'
'--enable-pic'
--disable-debug'
'--disable-rpath'
'--enable-inline-optimization'
'--with-bz2'
'--with-db3'
'--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr'
'--with-gd'
'--with-gdbm'
'--with-gettext'
'--with-gmp'
'--with-jpeg-dir=/usr'
'--with-mm'
'--with-openssl'
'--with-png'
'--with-xml'
'--with-expat-dir=/usr'
'--with-zlib'
'--with-layout=GNU'
'--enable-bcmath'
'--enable-debugger'
'--enable-ftp'
'--enable-magic-quotes'
'--enable-safe-mode'
'--enable-sockets'
'--enable-sysvsem'
'--enable-sysvshm'
'--enable-discard-path'
'--enable-track-vars'
'--enable-trans-sid'
'--enable-yp'
'--enable-wddx'
'--without-oci8'
--with-imap-ssl'
'--with-kerberos=/usr/kerberos'
'--with-ldap=shared'
'--with-mysql=shared,/usr'
'--with-pgsql=shared'
'--with-snmp=/usr'
'--with-snmp=shared'
'--enable-ucd-snmp-hack'
'--with-unixODBC=shared'
'--enable-memory-limit'
'--enable-bcmath'
'--enable-shmop'
'--enable-versioning'
'--enable-mbstring'
'--with-ttf'
'--with-apxs=/usr/sbin/apxs'
The different options are
in DanBrowns RPMS
'--with-imap=shared,/usr/local/src/imap-2002e'
'--with-dom'
'--with-regex=system'
'--enable-mime-magic'
'--with-iconv'
in RHX RPMS
'--with-imap=shared'
'--enable-calendar'
'--enable-dbx'
'--enable-dio'
'--enable-mcal'
'--enable-mbstr-enc-trans'
'--with-dom=/usr'
'--with-png-dir=/usr'
'--enable-gd-native-ttf'
'--with-ncurses'
'--with-iconv'
'--with-pspell'
'--with-regex=system'
'--enable-exif'
So you can install the PHP RPM which suits your system and/or applications best...
Best rgds, Ergin
PS: Laurent Dinclaux's PHP RPMS had some other options like
--with-curl
--with-mcrypt
--enable-sockets
--enable-pcntl
--enable-sigchild
-
As RayMichell suggested the script is modified with
/etc/e-smith/events/actions/restart-httpd-full
Best rgds, Ergin
ergozd
> I updated the script
> http://ergin.dyndns.org/download/php4.3.10-upgrade.sh
Thanks for your script.
The use of the service command in sme is deprecated and does not necessarily do what you may want it to do in all circumstances.
eg in your script near the end
service httpd restart
Better alternatives are:
/etc/init.d/httpd restart
or
/etc/e-smith/events/actions/restart-httpd-full
Perhaps you would like to update your script ?
Thanks to Charlie for pointing this out to me and to all of us quite regularly.
-
I upgraded to 4.3.9 with the script that lets you also do curl. Curl no longer works on my system. Any ideas?
-
Hi there!
Laurent has compiled PHP v4.3.9 with some other options like curl
# 2004-09-29 Laurent Dinclaux relased php-4.3.9
# I have released PHP 4.3.9 RPMs. In addition of Dan Brown releases:
# - Curl extension
# - Compiled with options
# --enable-sockets --enable-pcntl --enable-sigchild
Dan Browns PHP v4.3.10 options are couple of posts above and as you can see he's not compiled his RPMS with curl.
Best rgds, Ergin