إنتقل إلى المحتوى الرئيسي

????? ???????

??? ??? ??????

???????: ??? zip ????? ??????? ?? ????? ??? ???? ????? Perfex.

??????? ???????:

?????????
??? ????? ?????? ?? ??? PHP?? ?????? upload_max_filesize ? post_max_size ?? php.ini ??? 64 ???????? ??? ?????
?????? ???? ?????? ????? ??????? ?????? max_execution_time ?? php.ini ??? 300
????? ?? ????????????? ?? ?? ???? modules/ ???? ??????? (chmod 755)

????: ????? ??? FTP/SFTP:

  1. ?????? ??? zip ??? ?????
  2. ???? ?????? ???????? ??? your-perfex/modules/
  3. ?? ???????? ??? Setup ? Modules ?? ???? ???????

?????? ?? ???? ??? ?????

???????: ??? ???? ?????? ????? ?? ???? ?? Setup ? Modules.

??????:

  1. ???? ?? ??? ???? ??????: modules/saas/ (???? modules/saas-module/ ?? modules/saas/saas/)
  2. ???? ?? ?????? ??? ???? ??????? (???? ??? ???????)
  3. ???? ????? ??????? ?????? ??????? ????? ??????
  4. ???? ?? ??????? ???????: ??? ?? ???? ???? modules/saas/ ??????? ?????? ??????? ?? ??? ???? ?????

??? ?????? ?? MySQL

???????: ????? ??? "???? ??? ?????? ?? ??????? ??????" ???? ???.

?????: "Access denied for user"

?????: ??? ?????? ?? ???? ???? MySQL ?????.

???????:

  1. ???? ??? ???? ?? ?????? ?????? MySQL ?????? ??
  2. ??? ??? ?????? cPanel? ???? ??????? ??? ?????? ????? ???? cPanel
  3. ????? ?????? ???????? ??????:
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 ??? ??? ??????? ?? ??????/?????? ????.

???????:

  1. ???? ??? ??? MySQL ????: sudo systemctl status mysql
  2. ???? ?? ??? ?????? (????? localhost)
  3. ???? ?? ??? ?????? (????? 3306)
  4. ??? ??? 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"


???? ????? ????? ??? ???????

???????: ??? ????? ??????? ???? ???? ????? ?????.

??????:

  1. ???? ?? ????? ????? PHP: ???? /var/log/apache2/error.log (Apache) ?? /var/log/nginx/error.log (Nginx)
  2. ????? ??? ??????? ??????: ??? ??? ??? .htaccess ?? index.php:
    ini_set('display_errors', 1);
    error_reporting(E_ALL);
  3. ???? ?? ????? PHP: ???? ?? ????? PHP 7.4 ?? ????
  4. ???? ?? ?? ???????: ??? memory_limit = 256M ?? php.ini

????? ??????? ?? ????

???????: ???? ?????? ?? ???? ????? ???????.

??????:

  1. ???? ?? ????? ??? ????? ??? ????? ?? SaaS Management ? Plans
  2. ???? ?? ?? ????????? ?????? ?? SaaS Management ? SuperAdmin Settings ? Tenants Settings
  3. ???? ?? ??? ????? URL ????? ?????? ?? Landing Page Settings
  4. ???? ?????? ???? ???? ???? ?????
  5. ???? ????? ??????? ?????? ???????

?????? ?????????? ?? ?????

???????: ????? ??????? ?? ?????? ?? ???????? ?? ?????.

??????:

  1. ?? ?????? SMTP ?? Perfex CRM: ????? ??? Setup ? Email ? Email Settings
  2. ????? SMTP ?????? ???:
    • Gmail SMTP (????? ??? 500 ???? ????????/???)
    • SendGrid (??????? ???????: 100 ???? ????????/???)
    • Mailgun (??????? ???????: 5,000 ???? ????????/???)
  3. ????? ????? ?????? ?????????? ?? Setup ? Email ? Send Test Email
  4. ???? ?? ???? ?????? ???????? ? ?? ???? ??????? ????
معلومات

SMTP ?????! ???? ????? SMTP? ?? ????? ?? ????? ???? ???????? ?? ????? ? ??? ?? ??? ????? ?????? ???????? ?????????. ?? ?????? ??? ?????!


????? ?????? ???????? ?? ?????

???????: ???????? ???? ??? ????? ??????? ?? ?????.

??????:

  1. ???? ?? ?????? ?????? MySQL ?? ??????? SaaS (???? ??? ?? ??????)
  2. ???? ??? ??? ??? ?????? MySQL ?????? CREATE DATABASE
  3. ??? ??? ??? ??????? ??????? ???? ??? ???? ??? ?? ????? ????????
  4. ???? ??? ???? SaaS ?????? ??? ?????? ?????
  5. ???? ????? ????? PHP ?????? MySQL ???????

??? "Maximum database connections"

???????: ??? ??? ??? ???? ???? ?? ??????? ????? ????????.

??????:

  1. ?? ?????? max_connections ?? MySQL ?? my.cnf:
    [mysqld]
    max_connections = 200
  2. ??? ????? MySQL: sudo systemctl restart mysql
  3. ???? ?? ????? ????? (????? RAM ????) ??? ??? ???? ?????? ?? ??????????
تلميح

?? ?? ???????? ??? ??? ?? ???? ????? ?????? ???? ????? ?????? ? DNS ?? ???? ?? ?????.