Overview #
The Advanced Configuration section helps you customize server behavior, PHP settings, security, and data management for Product Designer App. This document is intended for users who:
- Have basic PHP knowledge
- Can access FTP / File Manager
- Understand server configuration
⚠️ Incorrect changes may affect your website. Always back up your files before editing.
Edit Configuration File #
To edit advanced settings, open the configuration file:
Path: modules/productdesignerapp/config/config.php
You can access this file via:
- FTP (FileZilla, Cyberduck…)
- cPanel File Manager
File Permission (Writable) #
By default, Product Designer App uses: CHMOD 755. If the plugin cannot write files, you can allow higher permissions by adding to config.php:
define('PDA_CHMOD', 0775);
// or
define('PDA_CHMOD', 0777);

⚠️ Use 0777 only if necessary, as it reduces security.
Debug Mode #
Debug mode helps detect errors during development or troubleshooting (All javascript in PDA is unminify). By default, debug mode is disabled. To enable debug mode, add:
define('PDA_DEV_MODE', true);

📌 Remember to disable debug mode on production sites.
Security Settings #
Change Resource Folder Prefix. By default, encrypted resource folders use the prefix:
prefix_
You can change it by adding:
define('PDA_PREFIX', 'your_prefix_');

⚠️ Important:
Change the prefix before uploading any files. Changing it later will cause existing file paths to break.
Expired Design Data #
Expired Design automatically removes unused design data. Default Behavior
- Design data expires after 10 days
- Uploaded files, tokens, and design data are removed
To change expiration time:
define('PDA_TOKEN_DATE', 15); // number of days

⚠️ After expiration: Users must reload the design editor to start again
Server Configuration #
This guide covers cPanel-based servers. For VPS or custom servers, contact your hosting provider.
Change PHP Version #
Steps:
- Login to cPanel
- Go to Software → MultiPHP Manager
- Select your domain (1)
- Choose PHP version (2)
- Click Apply (3)


Configure PHP Settings #
Steps:
- Login to cPanel
- Open Software → MultiPHP INI Editor
- Select your domain (1)
- Edit values (2)
- Click Apply


You can also configure via:
php.ini.user.ini.htaccess(via FTP)
Set Folder Writable Permission #
Steps:
- Open cPanel → File Manager
- Select folder
- Right-click → Change Permissions
- Set permission
- Click Change Permissions

Summary #
The Advanced Configuration allows you to:
- Improve performance
- Increase security
- Manage storage & cleanup
- Customize server behavior
This section is recommended for advanced users or developers.