Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prestashop/php-ps-info

Simple script that allows you to test if your current environment fulfills PrestaShop's system requirements, and offers suggestions for improvements.
https://github.com/prestashop/php-ps-info

hacktoberfest system-information tool

Last synced: 6 days ago
JSON representation

Simple script that allows you to test if your current environment fulfills PrestaShop's system requirements, and offers suggestions for improvements.

Awesome Lists containing this project

README

        

# PhpPsInfo - PrestaShop system requirements checker

![Screenshot](https://devdocs.prestashop-project.org/8/basics/installation/img/phppsinfo.png)

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

1. Download the [latest release](https://github.com/PrestaShop/php-ps-info/releases).
2. Extract the zip file.
3. 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.
4. Open it up on your browser (`http://your-domain.com/path-to-your-prestashop/phppsinfo.php`).
5. Type in the login and password if prompted (use `prestashop` for both).
6. 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}]
```