[tools] update.script

Do you like use update.script ?

  • yes, all time

    Votes: 221 69.1%
  • no, some time

    Votes: 44 13.8%
  • some time

    Votes: 55 17.2%

  • Total voters
    320
update.script and custombuild are two different stuffs

do this

Code:
mkdir /usr/local/updatescript
cd /usr/local/updatescript
wget http://tools.web4host.net/update.script
chmod 755 update.script
./update.script IMAP
cd /usr/local/directadmin/custombuild/configure/suphp/
nano configure.php4 (or configure.php5 depend on what php version you use)

Hello,

i have configure.php4 configure.php5 configure.suphp under /usr/local/directadmin/custombuild/configure/suphp/,

i use php5 with suphp (cgi on options.conf),

by theway,i need to edit configure.php5 or configure.suphp ?


thank you
 
dunno the reason for add after or before, but if that work why care about that so much :D for test it you should use phpinfo() function.

create a page called like ver.php and put <?phpinfo()?> and uplaod on a website, open it from browser and you will have information about your php version, look in the page for imap info.

If there is no, so imap isnt installed, if there is, good job :)
 
Hello,

thank you for your patience to replay me.

after install imap,if i want to remove it,

does i edit the configure.php5 and remove the line about imap,and save the file,

then recomplie php,correct ?

or how can i do ?


thank you
 
Hello,

i run
./update.script SUHOSIN

and it finish the install.


then,i edit /usr/local/lib/php.ini and add
[suhosin]
extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so"
; For translation manager to handle more inputs
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000
; For URL handling
suhosin.request.max_totalname_length = 300
suhosin.request.max_varname_length = 300
suhosin.get.max_varname_length = 300
suhosin.get.max_name_length = 300
at the end,

and restart httpd.


but csf still shows with error

Check php for Suhosin WARNING You should recompile PHP with Suhosin to add greater security to PHP

can anyone help me ?


thank you
 
Please suggest me how to uninstall "Suhosin" I intalled it and found cpu high load
 
I remove these lines from php.ini

[suhosin]
extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so"
; For translation manager to handle more inputs
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000
; For URL handling
suhosin.request.max_totalname_length = 300
suhosin.request.max_varname_length = 300
suhosin.get.max_varname_length = 300
suhosin.get.max_name_length = 300
; Transparent Encryption Options
suhosin.session.encrypt = On
suhosin.session.cryptua = On
suhosin.session.cryptdocroot = On
suhosin.session.cryptraddr = 0
suhosin.cookie.encrypt = On
suhosin.cookie.cryptua = On
suhosin.cookie.cryptraddr = 0

And I think my httpd service run fine without high load. and I have the same problem like this post

http://www.directadmin.com/forum/showpost.php?p=169154&postcount=486

Any Idea ?
 
Hello,

i run

and it finish the install.


then,i edit /usr/local/lib/php.ini and add at the end,

and restart httpd.


but csf still shows with error



can anyone help me ?


thank you

clean and build php again without Suhosin then install Suhosin again using update script.

Wael
 
update script install or update Suhosin Extension not Suhosin Patch
if there is update for Suhosin Extension just updated using update script without build php.
if u use Suhosin Patch you need to build php.

Wael
 
hi , when we use "MODevasive" is there a way to save blocked IPs ? i know blocked IPs send to mail but i need save them to a file and keep them ...

thanks
 
Back
Top