Please can we have a tests.php page as part of the standard generated files that checks if all server requirements are met for your project.
I find it's pretty difficult troubleshooting when moving a site from development to production server, and finding the production site doesn't work. Production servers are often on a different host to development server.
I have this issue currently, and can't even get PHPmaker to display errors nor to create logs, even though both are turned on.
A test page that runs a check on each requirement for phpmaker would be awesome. Things to check should include:
- database connection
- mode_rewrite enabled
- extension=curl
- extension=openssl
- extension=gd2
- extension=mbstring
- extension=fileinfo
- extension=intl
- extension=php_mysqli.dll / extension=php_pdo_mysql.dll
- upload folder writeable (if you have other folders defined e.g logs check those too)
- server smtp sending method matches config
- display email from address
- debug is on/off
also add check for this required but undocumented :
- 775 writeability of Directory /var/www/html/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.