php-ps-info
Tools
PHP
PhpPsInfo – PrestaShop system requirements checker
PhpPsInfo is a PHP script that allows you to test if your current environment fullfills PrestaShop’s requirements, and offers suggestions for improvements.
This script allows you to quickly test the environement where you want to install PrestaShop.
The default credentials for displaying the results are:
- Login: prestashop
- Password: prestashop
You can set server env vars to override them:
-
PS_INFO_LOGIN
-
PS_INFO_PASSWORD
Tests include the following:
- PHP & MySQL Version
- Apache modules
- PHP Extensions
- PHP Configuration
- MySQL Configuration
- Directories Configuration
Usage
- Download the latest release.
- Extract the zip file.
-
Upload the
phppsinfo.php
file to your server and put it inside your current shop’s directory or the one where you intend to install it. -
Open it up on your browser (
http://your-domain.com/path-to-your-prestashop/phppsinfo.php
). -
Type in the login and password if prompted (use
prestashop
for both). - Enjoy!
License
This tool is released under the MIT License.
Troubleshooting
Working with a CGI environment such as Apache + FPM, you have to add a custom Apache RewriteCond.
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]