How does it increase security?
Files no longer need to be 666 and folders no longer need to be 777 to be writable. The new writable permissions are:
Files: 644
Unwritable Files: 444
Folders: 755
This greatly increases security by not allowing outside users to edit files with writable permissions. We will change all your current files and folders to the new permissions.
When will the server I am on be converted?
We will post notices in this forum when each server is converted.
Things to note.
PHP flags no longer work in the .htaccess file. If you need to enable things such as register globals you can follow the below guide(we will add most of these things for you):
In .htaccess under public_html, add the following:
suPHP_ConfigPath /home/user/public_html <Files php.ini> order allow,deny deny from all </Files>Note: You must change user to your account username.
Create a php.ini file under public_html add any of the below settings that you need:
register_globals = On upload_max_filesize = 30M post_max_size = 30M memory_limit = 30M upload_tmp_dir = 30M max_execution_time = 180Using a php.ini file may cause issues if your scripts use Zend Optomizer or IonCube encoding. You then just need to add the following to your php.ini file to resolve the issue:
Note: this may not be needed. Please test before using.
[Zend] zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so zend_optimizer.optimization_level=15 zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3 zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3 zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
MIMEtypes
If you added a Mimetype to the system in order to run html files as php scripts you will have to remove it and add an ApacheHandler instead. Log into Cpanel, then click on Apache Handlers and add the following:
Extension: .html
Handler: application/x-httpd-php
Errors you may encounter
If you get a 500 error when accessing your site you either have code that doesnt belong in your .htaccess file or you changed the permissions on a file to 666 or a folder to 777.
Check your Cpanel Error Log
The cpanel error log will give you details about any error you may experience.
Drupal and other Content Management Systems:
In older versions you may experience a few errors, such as "Call to undefined function: user_access()". Add the following code to php.ini to fix it:
session.save_handler = files session.cache_limiter = nocache










