????? ???????
??? ??? ??????
???????: ??? zip ????? ??????? ?? ????? ??? ???? ????? Perfex.
??????? ???????:
| ????? | ???? |
|---|---|
| ??? ????? ?????? ?? ??? PHP | ?? ?????? upload_max_filesize ? post_max_size ?? php.ini ??? 64 ???????? ??? ????? |
| ?????? ???? ?????? ????? ????? | ?? ?????? max_execution_time ?? php.ini ??? 300 |
| ????? ?? ????????? | ???? ?? ?? ???? modules/ ???? ??????? (chmod 755) |
????: ????? ??? FTP/SFTP:
- ?????? ??? zip ??? ?????
- ???? ?????? ???????? ???
your-perfex/modules/ - ?? ???????? ??? Setup ? Modules ?? ???? ???????
?????? ?? ???? ??? ?????
???????: ??? ???? ?????? ????? ?? ???? ?? Setup ? Modules.
??????:
- ???? ?? ??? ???? ??????:
modules/saas/(????modules/saas-module/??modules/saas/saas/) - ???? ?? ?????? ??? ???? ??????? (???? ??? ???????)
- ???? ????? ??????? ?????? ??????? ????? ??????
- ???? ?? ??????? ???????: ??? ?? ???? ????
modules/saas/??????? ?????? ??????? ?? ??? ???? ?????
??? ?????? ?? MySQL
???????: ????? ??? "???? ??? ?????? ?? ??????? ??????" ???? ???.
?????: "Access denied for user"
?????: ??? ?????? ?? ???? ???? MySQL ?????.
???????:
- ???? ??? ???? ?? ?????? ?????? MySQL ?????? ??
- ??? ??? ?????? cPanel? ???? ??????? ??? ?????? ????? ???? cPanel
- ????? ?????? ???????? ??????:
mysql -u your_username -p -h localhost
# Enter your password when prompted
# If you can log in, the credentials are correct
?????: "Can't connect to MySQL server"
?????: MySQL ??? ??? ??????? ?? ??????/?????? ????.
???????:
- ???? ??? ??? MySQL ????:
sudo systemctl status mysql - ???? ?? ??? ?????? (?????
localhost) - ???? ?? ??? ?????? (?????
3306) - ??? ??? MySQL ??? ???? ?????? ?????? ????? IP ???? ??????
?????: "CREATE command denied"
?????: ?????? MySQL ??? ???? ??? ?????? ????? ????????.
???????:
-- Log in to MySQL as root:
GRANT ALL PRIVILEGES ON *.* TO 'your_username'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
?? ?? cPanel: ????? ??? MySQL Databases ? User Privileges ? ??? "ALL PRIVILEGES"
???? ????? ????? ??? ???????
???????: ??? ????? ??????? ???? ???? ????? ?????.
??????:
- ???? ?? ????? ????? PHP: ????
/var/log/apache2/error.log(Apache) ??/var/log/nginx/error.log(Nginx) - ????? ??? ??????? ??????: ??? ??? ???
.htaccess??index.php:ini_set('display_errors', 1);
error_reporting(E_ALL); - ???? ?? ????? PHP: ???? ?? ????? PHP 7.4 ?? ????
- ???? ?? ?? ???????: ???
memory_limit = 256M??php.ini
????? ??????? ?? ????
???????: ???? ?????? ?? ???? ????? ???????.
??????:
- ???? ?? ????? ??? ????? ??? ????? ?? SaaS Management ? Plans
- ???? ?? ?? ????????? ?????? ?? SaaS Management ? SuperAdmin Settings ? Tenants Settings
- ???? ?? ??? ????? URL ????? ?????? ?? Landing Page Settings
- ???? ?????? ???? ???? ???? ?????
- ???? ????? ??????? ?????? ???????
?????? ?????????? ?? ?????
???????: ????? ??????? ?? ?????? ?? ???????? ?? ?????.
??????:
- ?? ?????? SMTP ?? Perfex CRM: ????? ??? Setup ? Email ? Email Settings
- ????? SMTP ?????? ???:
- Gmail SMTP (????? ??? 500 ???? ????????/???)
- SendGrid (??????? ???????: 100 ???? ????????/???)
- Mailgun (??????? ???????: 5,000 ???? ????????/???)
- ????? ????? ?????? ?????????? ?? Setup ? Email ? Send Test Email
- ???? ?? ???? ?????? ???????? ? ?? ???? ??????? ????
SMTP ?????! ???? ????? SMTP? ?? ????? ?? ????? ???? ???????? ?? ????? ? ??? ?? ??? ????? ?????? ???????? ?????????. ?? ?????? ??? ?????!
????? ?????? ???????? ?? ?????
???????: ???????? ???? ??? ????? ??????? ?? ?????.
??????:
- ???? ?? ?????? ?????? MySQL ?? ??????? SaaS (???? ??? ?? ??????)
- ???? ??? ??? ??? ?????? MySQL ?????? CREATE DATABASE
- ??? ??? ??? ??????? ??????? ???? ??? ???? ??? ?? ????? ????????
- ???? ??? ???? SaaS ?????? ??? ?????? ?????
- ???? ????? ????? PHP ?????? MySQL ???????
??? "Maximum database connections"
???????: ??? ??? ??? ???? ???? ?? ??????? ????? ????????.
??????:
- ?? ??????
max_connections?? MySQL ??my.cnf:[mysqld]
max_connections = 200 - ??? ????? MySQL:
sudo systemctl restart mysql - ???? ?? ????? ????? (????? RAM ????) ??? ??? ???? ?????? ?? ??????????
?? ?? ???????? ??? ??? ?? ???? ????? ?????? ???? ????? ?????? ? DNS ?? ???? ?? ?????.