Installation"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

Line 4: Line 4:
 
# Create a folder in the server to hold all uploaded files. By default, CKFinder is configured to use the "/ckfinder/userfiles/" folder in your web site.
 
# Create a folder in the server to hold all uploaded files. By default, CKFinder is configured to use the "/ckfinder/userfiles/" folder in your web site.
 
# Make the above user files folder writable by the internet user. On Linux, chmod it to 0777. On Windows, give write permissions to the IUSR_<ServerName> user.
 
# Make the above user files folder writable by the internet user. On Linux, chmod it to 0777. On Windows, give write permissions to the IUSR_<ServerName> user.
# Edit the '''config.php''' file. Be sure you have correctly set all settings in that file, and that you have enabled CKFinder on it. See [[CKFinder/Developers Guide/PHP/Configuration|Configuration]]<br>
+
# Edit the '''config.php''' file. Be sure you have correctly set all settings in that file, and that you have enabled CKFinder on it. See [[CKFinder_1.x/Developers Guide/PHP/Configuration|Configuration]]<br>
 
# Make sure that PHP is configured properly: GD extension should be enabled and safe mode should be disabled.
 
# Make sure that PHP is configured properly: GD extension should be enabled and safe mode should be disabled.
  
Line 13: Line 13:
 
* On Apache, you may disable the PHP engine in the user files folder by copying the "/userfiles/.htaccess" file inside your destination folder.
 
* On Apache, you may disable the PHP engine in the user files folder by copying the "/userfiles/.htaccess" file inside your destination folder.
 
* The config.php file contains many important security settings. Be sure you have reviewed and understood all of them.
 
* The config.php file contains many important security settings. Be sure you have reviewed and understood all of them.
* For more security tips see [[CKFinder/Developers Guide/PHP/Configuration/Security|Security]] section.
+
* For more security tips see [[CKFinder_1.x/Developers Guide/PHP/Configuration/Security|Security]] section.

Revision as of 08:56, 28 May 2010

Installation Instructions

  1. Copy the distribution files to your web server inside the "/ckfinder/" folder or any other folder in your web site.
  2. Create a folder in the server to hold all uploaded files. By default, CKFinder is configured to use the "/ckfinder/userfiles/" folder in your web site.
  3. Make the above user files folder writable by the internet user. On Linux, chmod it to 0777. On Windows, give write permissions to the IUSR_<ServerName> user.
  4. Edit the config.php file. Be sure you have correctly set all settings in that file, and that you have enabled CKFinder on it. See Configuration
  5. Make sure that PHP is configured properly: GD extension should be enabled and safe mode should be disabled.

You should be ready to go. Just browse _samples/php/standalone.php to test and see CKFinder.

Security Tips

  • On Apache, you may disable the PHP engine in the user files folder by copying the "/userfiles/.htaccess" file inside your destination folder.
  • The config.php file contains many important security settings. Be sure you have reviewed and understood all of them.
  • For more security tips see Security section.