Is anyone using dialup_admin with a PHP version newer than 4.2.0?
Ethan Dicks
ethan.dicks at gmail.com
Wed Mar 28 15:41:41 CEST 2007
On 3/28/07, Muenz, Michael <m.muenz at spam-fetish.org> wrote:
> >Ethan Dicks wrote:
> >> I've been grubbing through all the code for dialup_admin 1.80 (from
> >> the 20070320 CVS snapshot) and am entirely unconvinced that it works
> >> with version of PHP newer than 4.2.0. I'm using PHP 4.3.0, since
> >> that's what comes with RedHat Enterprise Linux 4. I've turned on
> >> register_globals, but I can't get the dialup_admin code to stop
> >> throwing warnings about variable names, etc.
>
> > Well as you probably have seen config.php3 will call
> > import_request_variables('GPC') so you should not normally have problems
> > with variables like $login.
> > I have dialupadmin running on php-5.0.3 without a problem.
>
> I have a working setup from 4.4.0 - 4.4.6. PHP is configured with:
> ./configure --with-apxs2=/usr/local/httpd/bin/apxs \
> --disable-cgi --with-gettext --with-pear \
> --with-mysql=/usr/local/mysql
>
> Perhaps a comparison between our phpinfo() outputs would help?
OK... I'll give that a shot. Here's just the configure line (from
phpinfo()) for my php 4.3.9 install...
'./configure' '--build=i686-redhat-linux-gnu'
'--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--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' '--cache-file=../config.cache'
'--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect'
'--disable-debug' '--enable-pic' '--disable-rpath'
'--enable-inline-optimization' '--with-bz2' '--with-db4=/usr'
'--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf'
'--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp'
'--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png'
'--with-pspell' '--with-xml' '--with-expat-dir=/usr'
'--with-dom=shared,/usr' '--with-dom-xslt=/usr'
'--with-dom-exslt=/usr' '--with-xmlrpc=shared'
'--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU'
'--enable-bcmath' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear'
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos'
'--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared'
'--with-snmp=shared,/usr' '--with-snmp=shared'
'--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr'
'--enable-memory-limit' '--enable-shmop' '--enable-calendar'
'--enable-dbx' '--enable-dio' '--enable-mbstring=shared'
'--enable-mbstr-enc-trans' '--enable-mbregex'
'--with-mime-magic=/usr/share/file/magic.mime'
'--with-apxs2=/usr/sbin/apxs'
I just freshly installed the rpm with up2date.
-ethan
More information about the Freeradius-Users
mailing list