Danginx version 3.0 released

syslint

Verified User
Joined
Oct 24, 2010
Messages
97
A new version of Danginx - Directadmin Nginx Plugin is available for download . This is a greatly improved version with some minor bug fix.


What is new in Danginx version 3.0 ?

  1. Add custom expire time for any domain or subdomain ( See documentation from http://wiki.sysvm.com/DirectAdminNginx)
  2. Add custom include file for any domain or subdomain ( See documentation from http://wiki.sysvm.com/DirectAdminNginx)
  3. Auto detection of php.ini
  4. Support apache custom vritual host templates

Bug fix :

  • Missing random subdomain bugs fixed
  • Fixed license issue with addition of new ips.

How to Manually Upgrade ?


To upgrade to new version login to your server shell and root user and do the following commands

# wget http://portal.syslint.com/downloads/danginx.3.0.tar.gz
# tar -xvzf danginx.3.0.tar.gz
# cd danginx/
# ./install


Read more about http://syslint.com/syslint/danginx-version-3-0-released/
 
*************************************************************
Danginx Installation Wizard
Copyright (c) 2008-2011 http://syslint.com/
*************************************************************


Checking for Directadmin ..[ YES ]
Checking for previous installation ..[ FOUND ]
mkdir: cannot create directory `/etc/danginx/expires': File exists
mkdir: cannot create directory `/etc/danginx/custom': File exists
Site error: the file <b>/usr/local/directadmin/scripts/danginx/danginxvhost.php</b> requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the site administrator.Upgrade Completed ..[ OK ]

I'm trying to install your plugin but this is what I get.

# php -v
PHP 5.3.6 (cli) (built: May 15 2011 01:18:38)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v4.0.8, Copyright (c) 2002-2011, by ionCube Ltd.
 
Check your php.ini to make sure it has the same version ioncube it is asking for.

Your ioncube is a version older then mine.

Code:
PHP 5.3.6 (cli) (built: Jun 21 2011 21:17:34) 
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with the ionCube PHP Loader v4.0.9, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

This is what I have in php.ini

Code:
zend_extension=/usr/local/lib/ioncube_loader_lin_5.3.so
zend_extension=/usr/local/lib/ZendGuardLoader.so

You should be able to update with:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build ioncube

If you want zendguard you can do:

Code:
./build zend
 
I uninstalled the plugin and installed everything again. Seems to be working now. Thanks.
 
Last edited:
Back
Top