PHP Configuration | SHARED HOSTING

Discussion in 'Linux' started by MrWolf, Jun 24, 2017.

  1. MrWolf

    MrWolf Trial Moderator

    Hello,

    This is quick tutorial for PHP Config change!
    Big number of hostings disable php config change because of their resource usage.

    1.)Start your FTP client and connect to your web server.
    2.)Create "php.ini" file in your website root directory.
    3.)Now paste code for php config in that file
    EXAMPLE:
    upload_max_filesize = 512M
    post_max_size = 2000M
    memory_limit = 1024M
    file_uploads = On
    max_execution_time = 300

    Note: You can insert your config, this is just example!

    4.)We need to make sure it works, create test.php file in that directory.
    CODE:
    <?php

    phpinfo();

    ?>


    Hope i helped you today!
     
    Last edited: Jun 24, 2017
    Kleberstoff likes this.

Share This Page