system requirements check

Post Reply
philmills
User
Posts: 535

system requirements check

Post by philmills »

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.

mobhar
User
Posts: 11660

Post by mobhar »

+1


rembo
User
Posts: 227

Post by rembo »

This will be great
+1


rajeev_rattra
User
Posts: 60

Post by rajeev_rattra »

+1


stefano
User
Posts: 24

Post by stefano »

+1


Webmaster
User
Posts: 9425

Post by Webmaster »

Since v2023 the index page of the generated app checks required PHP extensions.


philmills
User
Posts: 535

Post by philmills »

awesome!


rembo
User
Posts: 227

Post by rembo »

That is a huge Upgrade thanx ...


Post Reply