Nalin Dahyabhai wrote:

> On Wed, May 24, 2000 at 06:26:19PM -0600, Forrest wrote:
> > Next, I got the php-3.0.16.tar.gz file, and tried the instructions under
> > INSTALL.REDHAT.  I decided to run the same configuration options as the
> > source
> > rpm had:
> >
> > ./configure --with-apxs=/usr/sbin/apxs
> > --with-config-file-path=/etc/httpd
> > --enable-safe-mode --with-exec-dir=/usr/bin --with-system-regex
> > --disable-debug
> > --with-zlib --with-gdbm --with-db2 --enable-debugger
> > --enable-magic-quotes
> > --enable-track-vars --enable-sysvsem --enable-sysvshm
> > --enable-track-vars
> > --with-xml --with-ftp --with-apache=/usr/include --with-imap=/usr
> > --with-mysql
> >
> > I then ran make and make install.  Everything seems fine, until I
> > restart the
> > httpd, and I get:
> > Starting httpd: syntax error on line 248 of /etc/httpd/conf/httpd.conf
> > #line
> > 248 is LoadModule php3_module   modules-libphp3.so
> >
> > Cannot load /etc/httpd/modules/libphp3.so into server:
> > /etc/httpd/modules/libphp3.so: undefined symbol: gss_mech_krb5
>
> The IMAP client library has GSS authentication support built-in, but that
> sort of dependency information can't be included in static libraries like
> the one in the imap-devel package.  Add
> "-L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" to the
> link line, which should resolve this.
>
> This should also be fixed in the PHP3 package included in Raw Hide
> (ftp://ftp.redhat.com/pub/rawhide/SRPMS/SRPMS/).  PHP4 should show up in
> the next Raw Hide snapshot.
>
> Nalin
>
> --
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Thanks for the heads-up on the rawhide sources.  I made the new rpms, and
they seem to work.  When I login, however, I get the error:

Error: No Database Selected

Warning: 0 is not a MySQL result index in lib/db/mysql.db.inc.php3 on line 98

Error: No Database Selected

Warning: Oops, php3_SetCookie called after header has been sent in
lib/login/cookie.login.php3 on line 63
Error: No Database Selected

Warning: 0 is not a MySQL result index in lib/db/mysql.db.inc.php3 on line 98

Error: No Database Selected
Error: No Database Selected
Error: No Database Selected

Warning: 0 is not a MySQL result index in lib/db/mysql.db.inc.php3 on line 98

Error: No Database Selected

Warning: 0 is not a MySQL result index in lib/db/mysql.db.inc.php3 on line 98

Error: No Database Selected

Warning: 0 is not a MySQL result index in lib/db/mysql.db.inc.php3 on line 98




Line 98 is:    return mysql_numrows (  $ result  );

I didn't do anything else to the MySQL database except what was in the
docs/Setup-Apache...-MySQL.txt file.  What else do I need to do?

Thank you,

Forrest

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to