Page 1 of 1

system requirements check

Posted: Sat Sep 25, 2021 10:07 pm
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.

Re: system requirements check

Posted: Sat Sep 25, 2021 10:40 pm
by mobhar

+1


Re: system requirements check

Posted: Sun Sep 26, 2021 11:59 am
by rembo

This will be great
+1


Re: system requirements check

Posted: Mon Oct 18, 2021 5:44 pm
by rajeev_rattra

+1


Re: system requirements check

Posted: Tue Mar 29, 2022 12:36 am
by stefano

+1


Re: system requirements check

Posted: Tue Sep 13, 2022 10:13 am
by Webmaster

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


Re: system requirements check

Posted: Fri Sep 16, 2022 4:53 pm
by philmills

awesome!


Re: system requirements check

Posted: Fri Oct 28, 2022 10:25 am
by rembo

That is a huge Upgrade thanx ...