Additional PHP settings can be changed in WebAdmin. System allows to change following settings.
- Processing PHP scripts – serves for processing PHP scripts for whole directory
- register_globals – makes available EGPCS variables (Environment, GET, POST, Cookie, Server) as global variables
- max_input_vars – determines how many variables can be accepted
- magic_quotes_gpc – enables/disables “magical quotes” for GPC operations (Get/Post/Cookie), which escapes all
, „, \, NUL
with backslash - asp_tags – enables/disables acceptance of ASP tags as <% %> to wider classic characters of PHP (), includes short list of variables. This function is removed in PHP 7.0 and newer
- short_open_tag – acceptance of short form of PHP tags ()
- last_modified – sending of data of last changes PHP as Last modified: script header
- default_charset – all version of PHP will send encoded cahracters preset in Content-Type header unless modified in header()
- typ DB pre mysql_connect (“localhost”) – determines to which database type the “localhost” points to. Use socket for accessing the database of different type than localhost is set for.
Procedure
- Login to WebAdmin
- Select your domain in the list of Services
- Go to Web, select three dots next to your domain and select PHP settings

