Hi
Just wanted to share some things that I found when upgrading with the latest buildapache.sea (php4.2.0) on redhat7.2
issues I had were :
mysql was automatically &builtin& mode (cause it couldnt find mysql) .. alot slower than external mode
Globals were tuened off (breaking lots of websites)
no postgresql support in list of modules
..............................................
I found that downloading (wget) , and running the script was easy..
chmod 0755 buildapache.sea
./buildapache.sea
bla bla .........
the neat interface which allows you to choose more modules was great - BUT I couldnt find pgsql (postgresql) module to enable.. which was a bugger..
anyway , I carried on , and all went fine.
I restarted apache ... checked mysql db web sites, and no go!!
I found that Globals is turned off by default in php4.2.0
so alot of websites were broken , including XMB forums etc
had to work fast as we had 600 users on there...
no php.ini in /usr/local/lib .. so what I did was..
in the directory that you run the ./buildapache.sea .. it creates a source directory called buildapache/
I went in there. and into php-4.2.0/
had a look at php.ini-dist found the line which said (line 312)
register_globals = Off
to
register_globals = On
then saved it as php.ini
cp php.ini /usr/local/lib/
restarted apache - great all XMB forums working, and shopping carts etc ... (cant really turn that off with out giving all users notice to recode their php programs etc)
I still didnt have postgres support in php (phppgadmin wouldnt work for example)
so I manually compiled php.
like this...
go into the /buildapache/php-4.2.0/
and this is the configure script I used..
(using: =/usr to fix mysql , and prefix=/usr/local (default for sea install) and with-pgsql support )
./configure --prefix=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=../gd-1.8.4 --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-imap=../imap-2001.BETA.SNAP-0105220031 --with-mcrypt --with-ming=../ming-0.1.1 --enable-magic-quotes --with-mysql=/usr --with-pgsql=/usr --with-pear --enable-xslt --with-xslt-sablot --enable-safe-mode --enable-track-vars --with-ttf --enable-versioning --with-zlib
[enter].....
make clean [enter]
......
make [enter] ......... ................................
make install ......
restart apache ... checked everything .... great all working
hope that might help someone
warren
Nucleus Limited
Just wanted to share some things that I found when upgrading with the latest buildapache.sea (php4.2.0) on redhat7.2
issues I had were :
mysql was automatically &builtin& mode (cause it couldnt find mysql) .. alot slower than external mode
Globals were tuened off (breaking lots of websites)
no postgresql support in list of modules
..............................................
I found that downloading (wget) , and running the script was easy..
chmod 0755 buildapache.sea
./buildapache.sea
bla bla .........
the neat interface which allows you to choose more modules was great - BUT I couldnt find pgsql (postgresql) module to enable.. which was a bugger..
anyway , I carried on , and all went fine.
I restarted apache ... checked mysql db web sites, and no go!!
I found that Globals is turned off by default in php4.2.0
so alot of websites were broken , including XMB forums etc
had to work fast as we had 600 users on there...
no php.ini in /usr/local/lib .. so what I did was..
in the directory that you run the ./buildapache.sea .. it creates a source directory called buildapache/
I went in there. and into php-4.2.0/
had a look at php.ini-dist found the line which said (line 312)
register_globals = Off
to
register_globals = On
then saved it as php.ini
cp php.ini /usr/local/lib/
restarted apache - great all XMB forums working, and shopping carts etc ... (cant really turn that off with out giving all users notice to recode their php programs etc)
I still didnt have postgres support in php (phppgadmin wouldnt work for example)
so I manually compiled php.
like this...
go into the /buildapache/php-4.2.0/
and this is the configure script I used..
(using: =/usr to fix mysql , and prefix=/usr/local (default for sea install) and with-pgsql support )
./configure --prefix=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=../gd-1.8.4 --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-imap=../imap-2001.BETA.SNAP-0105220031 --with-mcrypt --with-ming=../ming-0.1.1 --enable-magic-quotes --with-mysql=/usr --with-pgsql=/usr --with-pear --enable-xslt --with-xslt-sablot --enable-safe-mode --enable-track-vars --with-ttf --enable-versioning --with-zlib
[enter].....
make clean [enter]
......
make [enter] ......... ................................
make install ......
restart apache ... checked everything .... great all working
hope that might help someone
warren
Nucleus Limited