recompile/reinstall PHP 4.2.3 without mbstrings

big

Well-Known Member
Aug 12, 2001
224
0
316
Earth
how to install latest version of apache without mbstrings? its casuing major problems with vbulletin and all other php softwares
example:
&?php

echo '&pre&';
print_r($_POST);
echo '&/pre&';

?&
&form method=&post&&
&input type=&text& name=&array[]& size=&8& /&
&input type=&submit& name=&submit& value=&test& /&
&/form&
 

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:8c277da81e][i:8c277da81e]Originally posted by big[/i:8c277da81e]

how to install latest version of apache without mbstrings? its casuing major problems with vbulletin and all other php softwares
example:
&?php

echo '&pre&';
print_r($_POST);
echo '&/pre&';

?&
&form method=&post&&
&input type=&text& name=&array[]& size=&8& /&
&input type=&submit& name=&submit& value=&test& /&
&/form&
[/quote:8c277da81e]



you have to run this in a root ssh session:

/scripts/easyapache

choose advanced mode

and make sure these modules are selected

* User bandwidth leech protection
* Bytes logging Module
* Frontpage Module
* Raise HARD_SERVER_LIMIT
* Rewrite Module
* SSL Module
* suEXEC Module

also select
PHP Modules --&

and uncheck whatever you want (PHP modules) i.e. mbstring
 

kerosin

Well-Known Member
Aug 27, 2002
83
0
156
Run buildapache.sea , choose advanced option and in PHP section unselect mb strings ;)


Don't forget to have selected these modules on the first page of advanced setup:

- ~user bandwidth leech protection
- Bytes Logging Module
- Frontpage Module
- Raise HARD_SERVER_LIMIT
- Rewrite Module
- SSL Module
- suEXEC Module
 

big

Well-Known Member
Aug 12, 2001
224
0
316
Earth
it was unselected and still when i run phpinfo i see --enable-mbstrings there!
maube httpd is not overwrriten ?! or some other options which is enabled selects that by default?
 

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:41beb801ec][i:41beb801ec]Originally posted by big[/i:41beb801ec]

it was unselected and still when i run phpinfo i see --enable-mbstrings there!
maube httpd is not overwrriten ?! or some other options which is enabled selects that by default?

[/quote:41beb801ec]
in a root ssh session:

php -m

it shows compiled in modules
 

itf

Well-Known Member
May 9, 2002
624
0
316
I wrote more details in another thread
(click on the link to go to the thread) http://forums.cpanel.net/read.php?TID=5121