[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
hello.
after i install update script and run this comand to install MODsecurity :

./update.script MODsecurity2Apache2

[root@box updatescript]# vi /etc/httpd/conf/extra/httpd-includes.conf

[root@box updatescript]# /sbin/service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-includes.conf: Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: cannot open shared object file: No such file or directory



whats wrong with it?

TNX
 
hello.
after i install update script and run this comand to install MODsecurity :

./update.script MODsecurity2Apache2

[root@box updatescript]# vi /etc/httpd/conf/extra/httpd-includes.conf

[root@box updatescript]# /sbin/service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-includes.conf: Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: cannot open shared object file: No such file or directory



whats wrong with it?

TNX

libxml2.so missed in your os
try to install it

Wael
 
Hello,

I rebuild apache (2.0 to 2.2), php (5.2.12), mysql with custombuild. after that I update eaccelerator by update.script but it's not work below is messsage after update

Build complete.
Don't forget to run 'make test'.

Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
rm: cannot remove directory `/tmp/eaccelerator/7/6': Directory not empty
rm: cannot remove directory `/tmp/eaccelerator/b/1': Directory not empty
mkdir: cannot create directory `eaccelerator': File exists
eAccelerator install/update done

I can find eaccelerator on phpinfo file but it's not work. do you have any suggestions.

Thank you
Blueman
 
Hello,

I rebuild apache (2.0 to 2.2), php (5.2.12), mysql with custombuild. after that I update eaccelerator by update.script but it's not work below is messsage after update



I can find eaccelerator on phpinfo file but it's not work. do you have any suggestions.

Thank you
Blueman

delete this folder /tmp/eaccelerator then install eaccelerator again.

Wael
 
delete this folder /tmp/eaccelerator then install eaccelerator again.

Wael

Hello,

Thank you for your reply. Now I can install eaccelerator with no error but it's not work although I found eaccelerator extension on phpinfo (link) but php script such as joomla or smf can't detect eaccelerator.

Before upgrade appache (from 2.0 to 2.2) and php (5.2.9 to 5.2.12) I've ever installed eaccelerator with update.script and it work fine.

I don't know what's missing I do. please suggest me.

Thank you
Blueman
 
Hello,

Thank you for your reply. Now I can install eaccelerator with no error but it's not work although I found eaccelerator extension on phpinfo (link) but php script such as joomla or smf can't detect eaccelerator.

Before upgrade appache (from 2.0 to 2.2) and php (5.2.9 to 5.2.12) I've ever installed eaccelerator with update.script and it work fine.

I don't know what's missing I do. please suggest me.

Thank you
Blueman

if you need me to install it for you send pm with your server info,
this link did not work with me http://dokkhamtai.go.th/phpinfo.php

Wael
 
Hello,

I think eaccelerator still not compatible with php 5.2.12. I can install it and found on phpinfo but can't use it. I test it for 3-4 times the same result.

I would like to request mod_security rule for apache 2.2.x which "small level". the one which installed by update.script is too "large level" my CPU load very high. I removed it and rebuild php and apache again and now my server work fine.

Thank you for any suggestions.

Blueman
 
Hello,

I think eaccelerator still not compatible with php 5.2.12. I can install it and found on phpinfo but can't use it. I test it for 3-4 times the same result.

I would like to request mod_security rule for apache 2.2.x which "small level". the one which installed by update.script is too "large level" my CPU load very high. I removed it and rebuild php and apache again and now my server work fine.

Thank you for any suggestions.

Blueman

eaccelerator work fine with php 5.2.12

Wael
 
I'm sure (by search many topic from google) that eAccelerator version 0.9.6-rc1

http://eaccelerator.net/wiki/Release-0.9.6-rc1

did not compatible with php 5.2.12 it's only compatible with 5.2.11. so if you tell that it work please let me know what eAccelerator you used for php 5.2.11


PHP Version 5.2.12
with eAccelerator v0.9.6-rc1, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
Build Date Dec 23 2009 04:36:37

tested in 29 server ;)


Wael
 
Hello,

I recheck php with php -v and I've got below message

php -v
PHP Warning: PHP Startup: Unable to load dynamic library './/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so' - .//usr/lo
cal/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.12 (cli) (built: Dec 20 2009 21:04:12)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

I try to change

extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"

to

zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"

and I've got below message

PHP 5.2.12 (cli) (built: Dec 20 2009 21:04:12)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.6-rc1, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

but eAccelerator can't detect by popular script like SMF or joomla

Please suggest

Thank you
Blueman
 
Last edited:
Finally I give up with eaccelerator. I installed xcache and it work very well.
 
Mod-security blocks Paypal IPN

Does anybody have exclusion rules for paypal IPN with mod-security 2.5 latest release?
 
Last edited:
hello on my vps its my output:

[root@box updatescript]# kiss restart
eth0: error fetching interface information: Device not found
Could not determine MAIN_IP. Firewall script aborted!
 
Back
Top