You are not logged in.
Hello,
my webhoster sent me a mail that he will update to PHP5 till october. A PHP5-Package would be very nice or perhaps an PKGBUILD-file. (I wonder how long would it compile on my old machine *g*)
Offline
Actually PHP has been flagged as outdated.
But I do not know if the next is going to be 5.0 or 4.3.8
Offline
i thought php5 was still in beta release? if that is the case you may have to wait until it is stable release before you see it in the repos (unless a dev makes a testing package)
AKA uknowme
I am not your friend
Offline
Offline
then just having some patience will do the trick
AKA uknowme
I am not your friend
Offline
and if patience is lacking, a PKGBUILD will suffice.
Offline
I am just building PHP5. There are still some problems with "./configure" because of paramter-changes. I think I could fix that. But I don`t really know what I am doing. ;-) -> Don`t use this:
pkgname=php
pkgver=5.0.0
pkgrel=1
pkgdesc="A high-level scripting language"
backup=(etc/php.ini)
depends=('openssl' 'libjpeg' 'freetype2' 'libpng' 'pam'
'gdbm' 'libxslt' 'openldap')
makedepends=('apache' 'mysql' 'imap' 'postgresql' 'bzip2' 'smtp-server')
source=(http://www.php.net/distributions/$pkgname-$pkgver.tar.bz2)
url="http://www.php.net"
md5sums=('562b7ad1e903248bbe77884cb904b8b7')
build() {
mkdir $startdir/pkg/etc/
mkdir $startdir/pkg/etc/httpd/
mkdir $startdir/pkg/etc/httpd/conf/
cp /etc/httpd/conf/httpd.conf $startdir/pkg/etc/httpd/conf/httpd.conf
cd $startdir/src/$pkgname-$pkgver
./configure --with-apxs2 --prefix=/usr --sysconfdir=/etc
--with-ttf --enable-mailparse --with-config-file-scan-dir=/etc
--enable-bcmath=shared --enable-calendar=shared --enable-ftp=shared
--enable-gd-native-ttf --enable-magic-quotes --enable-posix=shared
--enable-session --enable-shared --enable-shmop=shared --with-imap
--enable-sysvsem=shared --enable-sysvshm=shared --enable-track-vars
--enable-trans-sid --enable-safe-mode --enable-sockets=shared
--enable-xml --with-bz2=shared --without-db2 --without-db3
--with-freetype-dir=/usr --with-gd --with-gdbm --enable-exif
--with-jpeg-dir=/usr --with-mysql=/usr --with-ldap
--with-mysql-sock=/tmp/mysql.sock --with-openssl --with-gettext
--with-pear=/usr/share/pear --with-dom --with-dom-xslt
--with-pgsql=shared --with-pgsql-sock=/tmp/pgsql.sock
--with-png-dir=/usr --with-regex=php --with-zlib
make || return 1
mkdir -p $startdir/pkg/usr/lib/apache
# cp config_vars.mk config_vars.old
# sed "s|^INSTALL_IT.*$|INSTALL_IT = apxs -i -a -S LIBEXECDIR=$startdir/pkg/usr/lib/apache -n php4 libs/libphp4.so|" config_vars.old >config_vars.mk
#sed -i "s|-i -a -n php5|-i -n php5|g" Makefile
make INSTALL_ROOT=$startdir/pkg EXTENSION_DIR=/usr/lib/php install
#cp ../php.ini $startdir/pkg/etc
}
I don`t know what the sed-lines will do; but it works without them.
Offline
There is a package in current. But this wont work with mySQL for example because it uses the "./configure"-parameters of the PHP4-Version which will no longer work. See "./configure --help".
Offline
file a bug asap. good catch.
AKA uknowme
I am not your friend
Offline
I have it working with mysql. You just have to enable the extension in your php.ini.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline