Installation requirements

Hi!

I read the requirements on the Kirby “Get started” page but still have a question. https://getkirby.com/docs/guide/quickstart#requirements

Is the ctype module mandatory to get Kirby up and running? His current hosting company only offers the following modules:

Bildschirmfoto 2020-12-11 um 19.23.10

Is it possible to run Kirby with these or do I have to suggest switching to another hosting company?

It’s a very simple Kirby page with only the Builder plugin. No database connection or similar is involved.

Thanks!

ctype methods are used in a few places in Kirby, like the STR and A classes, in PHPMailer and the Laminas\Escaper class. So you would have to look closely where these are used internally.

Have you checked if PHP is really compiled without ctype? Check phpinfo() or on the command line with php -m.

1 Like

Unfortunately I can’t check it because the client’s current plan does not include PHP at all. :man_facepalming:

So I thought before I tell him to upgrade to a plan which includes PHP, I should check if the requirements to run Kirby are even met. Guess I’ll just ask the company if it’s compiled without ctype.

Or maybe I’m misunderstanding and ctype is not an actual module and therefore not listed?

Well, ctype appears when you do a php -m, but I wonder if they differenciate between standard modules that are usually included in PHP anyway and additional modules. I get a really long list of modules using that command. But you’d better check with the hosting provider. What sort of provider is that that doesn’t provide PHP by default? Sounds suspicious.

Yeah, I guess I’ll just check with them, very weird though.

Thanks for the insight though!

Just leaving this here for some background information:

https://www.php.net/manual/en/extensions.membership.php#extensions.membership.external

If you look at this issue you’ll find that ctype might be part of the package or not or even depending on PHP version:

1 Like