In Joomla whilst uploading a component I received the error “Could not create directory“.
JFolder::create: Could not create directory
Unable to create destination
Changing the setting of Safe Mode in the php.ini file to off resolved this issue.:
; ; Safe Mode ; safe_mode = Off
You may need to create an empty php.ini.
The file php.ini is located in the root of the website. It should be edited with a simple text editor, to avoid the addition of other text formatting. Once it has been uploaded ensure that its permissions are set to 644.


