I have been trying to get TWIG to run on RedHat 6.2 for a week now, with
no
luck. I wanted to do it with as many rpm packages as possible, but I
haven't
been able to get it to work at all. I have installed:
MySQL-3.22.32-1.i386.rpm
MySQL-client
MySQL-devel
MySQL-shared
apache-1.3.12-2.i386.rpm
apache-devel
imap-4.7-5.i386.rpm
imap-devel
php-3.0.15-2.i386.rpm
php-3.0.15-2.src.rpm
php-imap
>From this, I could get the imap tests to work (test.php3) but not the SQL.
>From the php-source, I modified php.spec, added the MySQL additions, and took
out the ldap and postgresql (I can post it if it would help). After I
rpm -bb
php.spec, I got php-3.0.15, php-imap, and php-mysql rpms. I then tried
the
tests, and none of them worked, and if I tried to log in, I got the
error:
Document contains no data, which I believe means that imap is not
working.
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
I'm not sure what this means, but I tried copying an old libphp3.so from
/usr/src/redhat/BUILD/php-3.0.15/libphp3.so (I still had the old src
package
hanging around) to /etc/httpd/modules. Then httpd will restart. I then
copied
the new libphp3.so that was there originally, and httpd will restart,
but again
none of the three tests will work. The INSTALL.REDHAT suggests putting
<?phpinfo()?> in a file, and calling it up with your browser. This is
the same
thing that I get at the bottom of the test.php3 test page. I'm not sure
exactly what I'm looking for here, but I can post this info, or give out
the
web address.
If anyone can help me, I would appreciate it.
Forrest Taylor
[EMAIL PROTECTED]
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null