Documentation Info
Website: www.perfexcrm.com
In most hosting accounts these extensions are enabled by default. But you should consult with your hosting provider.
You need to have previously setup database from the cPanel.
Here is a good tutorial how to setup MySQL database in cPanel if you are not familiar with this.
Make sure you have checked All privileges when adding the user to database.
Upload the files to your hosting folder and navigate to the location where you will install Perfex CRM http://www.domain.com/crm/install
You will need to pass the requirements to install Perfex CRM.
Click Go to files/folders permissions to validate the permissions for files and folders. In case some of them are filled with red color make sure that they are with permission 755.
After you validate the files/folders permission click on Setup Database to validate database credentials.
If any erros found while connecting you will be notified otherwise you should see the credentials screen
Configure credentials and options
If you need help installing dont hesitate to open support ticket
Even if you are trying to install Perfex on WAMP you must meet all the requirements.
WAMP by default comes with mod_rewrite disabled.
To Enable .htaccess in WAMP Server use the following steps
STEP 1: click on Wampserver and select
apache->httpd.conf
STEP 2: Find and replace the following
text
Find #LoadModule rewrite_module
modules/mod_rewrite.so
Replace
LoadModule
rewrite_module modules/mod_rewrite.so
STEP 3: Restart Wamp Server
Perfex CRM is not using any online resources except the business news which is located on the top header menu on the right side, but you can install it on XAMPP server without any problems. Everything will work good except if no internet connection you wont be able to send emails.
Few changes we need to do in XAMPP default installation.
1. Change the .htaccess
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]to
RewriteRule ^(.*)$ /yourfolder/index.php?/$1 [L,QSA]
Try to install.
You will need to setup the cron job controller for Perfex
Cron job will be used for sending survey emails, auto update invoice statuse eq. if the invoice is overdue etc.
How to setup Cron Job?
Login to your cPanel and navigate to Cron jobs
Add the following settings :
wget -q -O- wget -q -O- http://yourdomain.com/crm/cron/index
Change the url according to your base url where Perfex CRM is located. You can check your cron url in Setup->Settings->Cron Job
Example if its on root domain you need to type only http://yourdomain.com/cron/index
If its on subfolder /crm you will need to type http://yourdomain.com/crm/cron/index
Cron is required to be setup for Perfex CRM
My server does not support wget command?
If your server does not support wget command you try one of the following commands:
php /home/username/public_html/installation_folder/index.php cron/index >> /dev/null
php /home/username/public_html/installation_folder/index.php cron/index
If that doesn’t work, it probably means you don’t have the package php5-cli installed. On debian / ubuntu you can install this package as follows:
sudo apt-get install php5-cli
If you are not able to install packages, you can specify your path to php try the following command:
/usr/local/bin/php -f /home/username/public_html/installation_folder/index.php cron indexReplace username and installation_folder to fit for your path. If none of commands are not working you can use some free cron job service like https://www.easycron.com. Mostly the free cron job services have limit to execute each 10 minutes but it will work good too with Perfex CRM.
Setup your desired date format, will be using all over the application. This option is located in Setup->Settings-> Localization
Navigate to Setup -> Settings -> Email and setup your SMTP email, this will be your base email. You need to setup previously email account from your cPanel account.
Check all the email templates, setup signature also in Setup -> Settings -> Email this signature will be using on all email representing your company
If you are getting 404 not found after you install Perfex CRM this means that you need to adjust the main .htaccess for Perfex CRM.
First make sure that the .htaccess file exists in the main folder where you installed Perfex CRM. If you are using any OS make sure you have enabled hidden files on your MAC.
Make sure that you have mod_rewrite enabled in your server.
NOTE: Only apply the following suggestions if you are getting 404 error not found, the default Perfex CRM .htaccess file should work good on most servers.
This .htaccess may apply if you installed Perfex CRM next to WordPress installation and you are auto redirected to WordPress default 404 Page.
RewriteEngine on RewriteBase /foldername/ RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L,QSA] AddDefaultCharset utf-8
RewriteEngine on RewriteBase / RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L,QSA] AddDefaultCharset utf-8
RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ subfolder/index.php?/$1 [L,QSA] AddDefaultCharset utf-8
RewriteEngine on RewriteBase / RewriteCond $1 !^(index\.php|resources|robots\.txt|static) [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/?$1 [L,QSA]
Other solutions:
Perfex CRM admin area is separated from the customers area. Often happen Perfex CRM buyers to get confused and trying to login as admin in the customers area.
Admins needs to login at yourdomain.com/crm/admin
Customers login at yourdomain.com/crm/clients
Hope this will help you.