Configuring PHP variables Εκτύπωση

  • 87

Because we run suPHP on our Linux hosting, you can configure your own PHP variables, for example max_upload_size by using your own php.ini in the directory that you want it to affect.

You can also enable and disable functions from php.ini, including register globals (some scripts still require this!) So you can put the following in the php.ini:-

register_globals = On

Then upload/place the php.ini in the directory that you want to run PHP with the new variables (usually this will just be your public_html directory). If you'd like to use your own php.ini, it is recommended to set your hosting type to "Linux" or "Hybrid with Linux Bias".

Ήταν χρήσιμη αυτήν την απάντηση;

« Πίσω