Mwki3 Posted December 5, 2008 Share Posted December 5, 2008 (edited) hello after a long search that caused the problem TCPDF WHMCS script while trying to form a PDF file I found the solution Must activate this function curl_init,curl_exec,tmpfile,tempnam log on Putty for example execute this command pico /usr/local/lib/php.ini Then working ctrl + w to search for disable_functions = It will function deactivated and deleted this curl_init curl_exec tmpfile tempnam ctrl + x to save restart the Apache /etc/init.d/httpd restart or httpd restart Congratulations The most important function is to be closed For protection symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,posix_getgid,posix_getgrgid,dl,exec,pclose,proc_nice,proc_terminate,proc_get_status,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,ini_set,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,error_log,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,gethostbyname,safe_mode,ob_clean,getmygid,php_uname,apache_getenv,apache_setenv,bzread,bzwrite,posix_access,bzopen,phpini,highlight_file,sscanf,dos_conv,get_current_user,get_cwd,error_log,dir,cmd,e_name,vdir,get_dir,only_read,show_source,phpinf o Edited December 5, 2008 by Mwki3 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 5, 2008 Share Posted December 5, 2008 If you have any problems in the future with something not working then you'll know just where to look. You have too many functions disabled 0 Quote Link to comment Share on other sites More sharing options...
minadreapta Posted December 5, 2008 Share Posted December 5, 2008 yeah, way too many 0 Quote Link to comment Share on other sites More sharing options...
whmfan Posted December 27, 2008 Share Posted December 27, 2008 (edited) Excuse my ignorance but what is TCPDF?? (No results in search except this page) OK, wrong search box!! I got it Edited December 27, 2008 by whmfan Ignorance... 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 27, 2008 Share Posted December 27, 2008 This may help a little http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.