PHP values showing correct but not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • forstnd007
    Junior Member
    Forum Explorer
    • Mar 2021
    • 12

    #1

    PHP values showing correct but not working

    HI All

    This is an very odd one and would love some help

    I updated my .htaccess file to include
    ```
    php_value upload_max_filesize 250M
    php_value post_max_size 250M
    php_value memory_limit 512M
    php_value max_execution_time 180
    ```

    and with in phpinfo i can see the changes have been made local
    ```
    upload_max_filesize 250M 2M
    ```

    Now this is the Odd thing when I try and upload a file larger then 2MB i get an error
    "The uploaded file exceeds the upload_max_filesize directive in php.ini."
    But as i know it should be 250MB not 2MB

    All of my php versions are using lsapi as their php handler and i am using the cloudlinux php selector
    the site set to php 5.6.

    Advise is welcome on this one
  • skhristich
    Senior Member
    • Nov 2019
    • 595

    #2
    Hello,
    Thank you for reaching out! To help you with this question we need a little bit more information, could you provide us PHPinfo or screen. Thank you.

    Comment

    • forstnd007
      Junior Member
      Forum Explorer
      • Mar 2021
      • 12

      #3
      Hay I cant provided an Full phpinfo sadly as it has customer information, i been told i cant make public I have atached an part of it tho, where you see the max uplaod size set for local as 256MB but its not taking affect i can only uplaod the maxium of the master value (2M)

      Comment

      • skhristich
        Senior Member
        • Nov 2019
        • 595

        #4
        Hello,
        Could you please open a support ticket https://cloudlinux.zendesk.com/hc/en-us/requests/new so we can take a closer look at your system? You can post the ticket number here and well link this thread to it.
        Thank you.

        Comment

        Working...