You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

One Step Install

Run the following one step installer, it will install the files onto the remote server for you and install the cronjob.

cd /tmp; wget -N http://files.baseservers.com/codebox/whmcs-csfunblocker/installer.tar; tar -xvf installer.tar ; chmod +x installer.php; 

To start the installation

php installer.php arg1 arg2 arg3

Where

Argument 1 OptionsExplanation
install-ioncube10install the ioncube 10 version


Argument 2 OptionsExplanation
cpanelinstall the files into /var/www/html
cpanel-ea3install the files into /usr/local/apache/htdocs
dainstall the files into /var/www/html


Argument 3 OptionsExplanation
defaultleave the default hash in the settings file alone
randomGenerate a random Hash to replace the default hash in the settings file
Any stringReplace the default hash with the string provided. Avoid using quotes, it will be stripped out.


Example installer command

cd /tmp; wget -N http://files.baseservers.com/codebox/whmcs-csfunblocker/installer.tar; tar -xvf installer.tar ; chmod


Note 1

Note when running the one step installer, the installer will use your native php to run the installation commands unless you had specified. Therefore, if your native PHP have the following functions disabled (system() posix_getpwuid() fileowner() filegroup() fileperms(), then the installation will not work properly.

Note 2

To check if the installation is completed properly, check the crontab for root.

If there is a see a new entry at the bottom of the crontab that runs php CSFUnblockremote.php, then the installer completed successfully. Otherwise, you wil need to temporary comment out the disable_function option in the the native PHP's php.ini file (Usually at /usr/local/lib/php.ini).

Once installed, you can enable disable_function in the native php.ini file.

To complete the installation, comment out the disable_function in /var/www/php.ini. This php.ini is a of the native php.ini the installer had made. You can comment the disable_function line in this php.ini (/var/www/php.ini) and it won't affect your system's security as only the cronjob will be using this php.ini file.




  • No labels