apache - What is involved in PHP's startup sequence? -
regarding display_startup_errors
php manual says when display_errors
on, errors occur during php's startup sequence not displayed. meant php's startup sequence? involve, , kind of errors can occur there? common examples help.
the common types of errors you'll see suppressed display_startup_errors
going related php failing load modules or modules emitting error messages various reasons.
for example:
php warning: php startup: unable load dynamic library '/path/to/module.so' - /path/to/module.so: cannot open shared object file: no such file or directory in unknown on line 0
this means php configured load module.so
it's not found cannot loaded.
a module might emit warning due bad ini configuration values:
php warning: php startup: session.name cannot numeric or empty '' in unknown on line 0
this 1 of several warnings session extension emits, in case because configuration value session.name
numeric or empty.
most of php's startup sequence going revolve around configuring itself, loading in dynamic modules, calling each module's ginit , php_minit_function
can initialize, running php's startup sequence.
how , when these things happen vary depending on server api php running under. apache, might apache module, fpm, cgi/fastcgi.
some references talk are:
Comments
Post a Comment