For ex. we have

/www/configuration.php

(Or /www/joomla etc/configuration.php)

Now we would like move config content to /configruation.php (out of WWW directory).

1- Create a NEW.cf in / You will have /NEW.cf

2- Copy your  configuration content in /www/configuration.php to /NEW.cf

3- Change configuration content in /www/configuration.php to

<?php
require( dirname( __FILE__ ) . ‘/../NEW.cf’ );
?>

For more security, you may chmode the configuration in /www/configuration.php to 644

Good luck!

Tags: ,

BigDump: Staggered MySQL Dump Importer

Staggered import of large and very large MySQL Dumps (like phpMyAdmin 2.x Dumps) even through the web servers with hard runtime limit and those in safe mode. The script executes only a small part of the huge dump and restarts itself. The next session starts where the last was stopped.

Cuong Dang © 2006-2012 | Say Hello | Site's contents is licensed under a CCA 3.0 | Powered by Wordpress | Theme by.