This page describes the installation and configuration steps of phpAnalytics software.
If you're not familiar with the instructions on this page, we offer installation Services, for an additional fee.
Before installing the software, please make sure your server meets the requirements below.
| Software | Modules |
|---|---|
| PHP 8.2.x | BCMath, Ctype, cURL, DOM, Exif, Fileinfo, Filter, GD, Hash, Intl, JSON, Mbstring, OpenSSL, PCRE, PDO, Session, Sodium, Tokenizer, XML |
| Apache 2+ | mod_rewrite |
| MySQL 5.7.7+ MariaDB 10.3.17+ |
Before starting to upload the files, please make sure your file explorer has the option to view hidden files turned on. On some operating systems, the dotfiles are hidden by default.
Upload what's inside the Software folder on the web root folder of your domain. This folder is generally called public_html, html, or example.com, but depending on your server's configuration, it might be named differently.
Set the access permissions (CHMOD) to 775 to the following files and folders:
Configure your web server's document / web root to point to the /public directory of the software. For example, if you've uploaded the software in example.com folder, your web directory should be changed to example.com/public folder.
https://example.com/install and follow the installation wizard to complete the installation.https://example.com/admin and activate your License Key.The software requires a cron job task to be set up on your server in order to automate some of its functions.
Command field and set up a cron job for it that runs every minute.Driver field value to SMTP.User Type field value to External and click on Create button.Application type field value to Web application.Authorized redirect URIs field paste your redirect URL, which can be found in Admin Settings Authentication Google.Client ID and the Client secret in Admin Settings Authentication Google.Supported account types field value to Personal Microsoft accounts only.Platform field to Web, and on the Redirect URI field paste your redirect URL, which can be found in Admin Settings Authentication Microsoft.Application (client) ID in Admin Settings Authentication Microsoft.Value in Admin Settings Authentication Microsoft.Team ID in Admin Settings Authentication Apple.Capabilities field.Return URLs field paste your redirect URL, which can be found on Admin Settings Authentication Apple.Identifier in Admin Settings Authentication Apple.Primary App ID, and create your key.Key ID in Admin Settings Authentication Apple.Private key content in Admin Settings Authentication Apple.reCAPTCHA type field value to Challenge (v2), and then to Invisible reCAPTCHA badge, and fill in the rest of the fields.Site key and the Secret key in Admin Settings Captcha.Driver field value to reCAPTCHA in Admin Settings Captcha.Widget Mode field value to Invisible, and fill in the rest of the fields.Site key and the Secret key in Admin Settings Captcha.Driver field value to Turnstile in Admin Settings Captcha.To enable any of the payment processors, an Extended license is required. The payment processors can be enabled from Admin Settings Payment processors.
Client ID and Secret in Admin Settings Payment processors PayPal.Webhook URL field paste your webhook URL, this can be found on Admin Settings Payment processors PayPal.Webhook ID in Admin Settings Payment processors PayPal.Publishable key and Secret key in Admin Settings Payment processors Stripe.Endpoint URL field paste your webhook URL, which can be found on Admin Settings Payment processors Stripe.Signing secret in Admin Settings Payment processor Stripe.API key in Admin Settings Payment processors Paddle.Token in Admin Settings Payment processors Paddle.URL field paste your webhook URL, which can be found on Admin Settings Payment processors Paddle.Secret key in Admin Settings Payment processor Paddle.Default payment link field add your website URL.Key ID and Key secret in Admin Settings Payment processors Razorpay.Webhook URL field paste your webhook URL, which can be found on Admin Settings Payment processors Razorpay.Secret passcode in Admin Settings Payment processor Razorpay.Public key and Secret key in Admin Settings Payment processors Paystack.Webhook URL field paste your webhook URL, which can be found on Admin Settings Payment processors Paystack.Endpoint URL field paste your webhook URL, this can be found on Admin Settings Payment processors Coinbase.Webhook shared secret in Admin Settings Payment processors Coinbase.Publishable key and Secret key in Admin Settings Payment processors Crypto.com.Payload URL field paste your webhook URL, which can be found on Admin Settings Payment processors Crypto.com.Signature secret in Admin Settings Payment processor Crypto.com.When migrating from Local storage to an S3 filesystem storage, you must upload what's inside the /public/uploads folder from your server to your S3 filesystem storage.
Bucket name field, set the Object Ownership field to ACLs enabled, and uncheck the Block Public Access field (you'll be prompted to agree with the changes), and then click on the Create bucket button.Bucket in Admin Settings Storage.Region and Endpoint URL in Admin Settings Storage.Access Key and Secret Key in Admin Settings Storage.Bucket Name field, and then click on the Create a Spaces Bucket button.<bucket> value and the <region> value from the https://<bucket>.<region>.digitaloceanspaces.com URL of your Origin Endpoint field, and copy the Bucket value and Region in Admin Settings Storage.<bucket> value from the https://<bucket>.<region>.digitaloceanspaces.com URL of your Origin Endpoint field, and copy the Origin Endpoint without the <bucket> value in Admin Settings Storage.name field, and then click on the Create Access Key button.Access Key and Secret Key in Admin Settings Storage.Unique Bucket Name field, and set the Files in Bucket field to Public, and then click on the Create a bucket button.Unique Bucket Name and Endpoint URL in Admin Settings Storage.<region> value from the s3.<region>.backblazeb2.com URL of your Endpoint URL field, and copy the Region value in Admin Settings Storage.Allow access to Bucket field to your bucket, and the Type of Access field to Read and Write, and then click on the Create new key button.keyID which represents the Application key and the applicationKey which represents the Secret key in Admin Settings Storage.Before updating the software, you must make a complete backup of your website.
If you've made any modifications to the software's files, your changes will be lost.
Version 32 brings Timezone support for Stats pages, which required a complete rework of the way we're storing the Stats, as a result, upgrading to this version will remove all previous Stats. This is a big step forward, as in the future it will also allow us to correlate different datasets, to provide more in-depth Stats, which wasn't possible with the old database structure.
.env config file located on your server.Software folder..env config file on your server.https://example.com/update and follow the update wizard.1en.json language file found in /lang folder, and change it according to your needs./resources/views folder. For example to edit the home page, you would edit the /resources/views/home/index.blade.php file.