Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 3054
WHM Scripts
To use any of these scripts, prefix it with /scripts/, for example, to package an account for backup you would type:

/scripts/pkgacct accountusernamehere (replacing that with the account name on your server that you wish to backup)

* build_maxemails_config — Sets limits on the amount of email that users can send from domains on your server. For more information about configuring limits with this script, see our documentation here.
* easyapache — Upgrades and reinstalls Apache.
* phpexten
Author: UltratechHost - Replies: 0 - Views: 4238
HowTo: Tweak php for maximum execution time for scripts
Php by default places resource limits on all php scripts using 3 directives:

* max_execution_time : Maximum execution time of each script, in seconds (default 30 sec)
* max_input_time : Maximum amount of time each script may spend parsing request data (60 )
* memory_limit : Maximum amount of memory a script may consume (default 8MB)

A php script might timed out because of resource limits. All you need to do is setup a new resource limits so that script will get executed.
Edi
Author: UltratechHost - Replies: 0 - Views: 4378
Php scripts returning errors when using: php_flag and php_value
Symptom

You have added php_flag and/or php_value directives in your .htaccess file and your Php scripts used to work just fine. Now, your scripts do not work, what's the problem? Looking into your log /usr/local/apache/error_log file, you see the following errors:

Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
OR
Invalid command 'php_value, perhaps mis-spelled or defined by a module not included in the server co