Hi Rasmus,
I did a phpinfo() and gives me the following output:
PHP Version 4.0.6
System Linux pcs.pcsadvt.com 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000
i586 unknown
Build Date Jul 20 2001
Configure Command './configure' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-debug' '--enable-pic'
'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
'--disable-static' '--with-exec-dir=/usr/bin' '--with-regex=system'
'--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-gdbm'
'--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-track-vars' '--enable-ftp' '--with-mysql' '--with-xml'
'--enable-trans-sid' '--with-sockets' '--with-readline'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
ZEND_DEBUG disabled
Thread Safety disabled
I did a make install and restarted my httpd. Lets forget the
readline() what about sockets? Why does that not work?
Adrian
On Sat, 21 Jul 2001, Rasmus Lerdorf wrote:
> No idea. You haven't said whether you checked your phpinfo() output to
> see if you are actually running the latest version of PHP you just
> compiled. Perhaps you forgot a "make install", perhaps you forgot to
> restart your httpd. Perhaps your configure didn't find libreadline. Any
> number of things could be wrong. You will have to do a little bit of
> digging on your own.
>
> -Rasmus
>
> > Hi,
> > I have now compiled php --with-readline and --with-sockets but I still get
> > the "call to undefined function socket() " what could be wrong.
> >
> > Adrian
> >
> > On Thu, 19 Jul 2001, Rasmus Lerdorf wrote:
> >
> > > Did you compile php using --with-readline ?
> > >
> > > On Thu, 19 Jul 2001, Adrian D'Costa wrote:
> > >
> > > > Hi,
> > > >
> > > > I am trying to use the socket or readline functions but get a message:
> > > > call to undefined function readline(). Why? Is this not implemented in
> > > > 4.0.6.
> > > >
> > > > Adrian
> > > >
> > > >
> > > >
> > >
> > >
> >
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]