Results 1 to 4 of 4

Thread: VPS support

  1. #1

    VPS support

    Hi guyz
    can anyone guide me for following
    creation,Suspending,Terminating cpanel accounts using SHELL
    MySQL Database restore using shell command
    Iam new to VPS, any educational resources plz?

    I heard the following php functions must be disabled
    Quote:
    "apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, exec, fp, fput, ftp_connect, ftp_exec, ftp_get, ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, mysql_pconnect, openlog, passthru, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode"

    i doubt about shell_exec as it gives error during uninstalling an app installed using fantastico

  2. #2
    Join Date
    Mar 2003
    Location
    New York City
    Posts
    7,391
    Hi

    Please explain exactly what you're trying/wanting to do.

    Cpanel is simple, /scripts/suspendacct , /scripts/killacct will take care of suspension termination, but I think you can hop on http://forums.cpanel.net for more info if you're looking directly for info on cpanel commands.

    Good luck
    CirtexHosting Providing Affordable and Quality Web Hosting & Reseller Hosting since 2003
    LINUX based cPANEL/WHM Shared and Reseller Web Hosting with Fantastico
    HostV VPS Premium Virtual Private Servers & Dedicated Servers powered by cPanel/WHM
    We transfer your sites over quickly! I eat penguins for breakfast ...

  3. #3
    i want to disable following pghp functions as i heard they are harmful
    "apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, exec, fp, fput, ftp_connect, ftp_exec, ftp_get, ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, mysql_pconnect, openlog, passthru, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode"

    i doubt about shell_exec as it gives error during uninstalling an app installed using fantastico

  4. #4
    Use this list of hamful php functions:

    disable_functions = dl, shell_exec, exec, system, passthru, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, symlink, ini_restore, popen, disk_free_space

  5. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Similar Threads

  1. Replies: 0
    Last Post: 12-07-2009, 10:14 AM
  2. Replies: 0
    Last Post: 11-16-2009, 02:55 AM
  3. Replies: 2
    Last Post: 11-10-2009, 11:53 AM
  4. Replies: 0
    Last Post: 10-28-2009, 09:14 AM
  5. Replies: 6
    Last Post: 08-20-2009, 09:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •