- All
- Computer Error
- CSS
- Envato Market
- Linux
- SEO
- Themeforest
- Wordpress
How to echo database name, user, password & host ?
In wordpress, wp-config.php contains the major information which connects a site to database. Generally it looks like, define(‘DB_NAME’, ‘my-database’); define(‘DB_USER’, ‘my-username’); define(‘DB_PASSWORD’, ‘my-password’); define(‘DB_HOST’, ‘localhost’); Value of DB_HOST varies from…
Increase WordPress Memory Limit, Max. Input Vars
Put the following code in any one of the following given files. WP-CONFIG VALUES define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); ini_set(‘max_execution_time’, 300); set_time_limit(300); ini_set(‘post_max_size’, ‘256M’); ini_set(‘upload_max_filesize’, ‘256M’); .HTACCESS VALUES php_value max_input_vars 9999…