PHP compile and weird anomalies
Posted: Sun Jan 05, 2003 2:50 am
Hello,
Ok, here's the problem/anomaly. I had to make some tweaks to Apache to accomidate a different mod config. I added mod_so while I was there. That's pretty much the only change.
I then made a clean version of PHP with these options:
make clean > /dev/null
./configure --with-mysql=/usr/local/mysql --with-xml --enable-ftp
make
make test
make install
make clean > /dev/null
./configure --with-apache=../apache_1.3.27 --with-imap=../imap-2001a --with-gettext --enable-track-vars --with-mysql=/usr/local/mysql --with-xml --enable-ftp
make
make install
I did this because I wanted PHP to be compiled into Apache but I may also want to run some PHP scripts on the local machine.
Anyways, now for some odd reason when I run phpinf(); on the web server it notice that LS_COLORS kill's my screen output. Then investigating it I found that it think's it's term type is "VT100". On the box sitting next to it the term type is being reported as "dumb".
I did find the latest and greatest of the modules for what I was looking for before compiling. I was wondering if this was a bug or some setting that I missed. Or is it possible a code change from PHP 4.1.2 to 4.3.0, maybe Apache 1.3.26 to 1.3.27, etc.
Known good:
'configure' '--with-apache=../apache_1.3.26' '--with-mysql=/usr/local/mysql' '--with-imap=../imap-2000c' '--with-gettext' '--with-xml' '--enable-track-vars'
Broken one:
'./configure' '--with-mysql=/usr/local/mysql' '--with-xml' '--enable-ftp' '--with-apache=../apache_1.3.27' '--with-imap=../imap-2001a' '--with-gettext' '--enable-track-vars'
Any ideas on how to change this back would greatly be appreciated.
Gary Smith,
gary@primeexalia.com
Ok, here's the problem/anomaly. I had to make some tweaks to Apache to accomidate a different mod config. I added mod_so while I was there. That's pretty much the only change.
I then made a clean version of PHP with these options:
make clean > /dev/null
./configure --with-mysql=/usr/local/mysql --with-xml --enable-ftp
make
make test
make install
make clean > /dev/null
./configure --with-apache=../apache_1.3.27 --with-imap=../imap-2001a --with-gettext --enable-track-vars --with-mysql=/usr/local/mysql --with-xml --enable-ftp
make
make install
I did this because I wanted PHP to be compiled into Apache but I may also want to run some PHP scripts on the local machine.
Anyways, now for some odd reason when I run phpinf(); on the web server it notice that LS_COLORS kill's my screen output. Then investigating it I found that it think's it's term type is "VT100". On the box sitting next to it the term type is being reported as "dumb".
I did find the latest and greatest of the modules for what I was looking for before compiling. I was wondering if this was a bug or some setting that I missed. Or is it possible a code change from PHP 4.1.2 to 4.3.0, maybe Apache 1.3.26 to 1.3.27, etc.
Known good:
'configure' '--with-apache=../apache_1.3.26' '--with-mysql=/usr/local/mysql' '--with-imap=../imap-2000c' '--with-gettext' '--with-xml' '--enable-track-vars'
Broken one:
'./configure' '--with-mysql=/usr/local/mysql' '--with-xml' '--enable-ftp' '--with-apache=../apache_1.3.27' '--with-imap=../imap-2001a' '--with-gettext' '--enable-track-vars'
Any ideas on how to change this back would greatly be appreciated.
Gary Smith,
gary@primeexalia.com