How to create custom php.ini

Home Forums BulletProof Security Pro How to create custom php.ini

Viewing 11 posts - 61 through 71 (of 71 total)
  • Author
    Posts
  • #3381
    Young Master
    Participant

    The above code didnt work

    #3382
    AITpro Admin
    Keymaster

    Ok well there are a bunch of other ones you can try (no don’t ask me to list them because I am not going to do that) or you can contact your host again and ask them (or tell them to do their jobs and provide customer service to their customer – YOU) to look at their Server and give you a straight answer and not blow you off again.

    They need to look at the Server’s httpd.conf file and tell you these 2 things.  If AllowOverride is NOT set to none and what your php handler is for your website.  It will shown under AddHandler in the Server’s httpd.conf file.

    Examples of the directives in the Server’s httpd.conf file.  You do not have access to this file ONLY your Host can look at this file.

    Options FollowSymLinks
    AllowOverride all
    Order deny,allow
    Allow from all
    Satisfy all
    
    AddType text/html .php .phps
    AddHandler application/x-httpd-php .php
    AddHandler application/x-httpd-php-source .phps
    #3383
    AITpro Admin
    Keymaster

    If they still cannot give you an answer then the real answer is to get a real web host and dump these clowns.

    #3385
    Young Master
    Participant

    Ha ha haaaa!!! Thanks a lot. let me try to contact and see what I will get. Thanks again for your classy customer support.

    #3392
    Young Master
    Participant

    My host has replied and gave me the following codes:

    # Use PHP 5.3
    AddHandler application/x-httpd-php53 .php
    
    OR
    
    # Use PHP 5.3
    Action application/x-hg-php53 /cgi-sys/php53
    AddHandler application/x-hg-php53 .php
    
    OR
    
    # Use PHP 5.3
    AddType application/x-httpd-php53 .php

    They told me to try one of these codes. So what do you advice?

    #3395
    AITpro Admin
    Keymaster

    The worst thing that can happen is that your website will crash so try them one by one and be prepared to delete your root .htaccess if your website crashes.

    #3415
    Young Master
    Participant

    I guess I will have to move my site to another hosting…all of the codes above failed to work.

    #3416
    AITpro Admin
    Keymaster

    Well if you are happy with your host and the only issue is the php.ini file then you can just not worry about setting up/adding a custom php.ini file for your website.  After full site AutoRestore/Quarantine, Plugin Firewall and the Uploads Anti-Exploit Guard were added to BPS Pro the custom php.ini file became a bonus/additional security method.  ARQ, the Plugin Firewall and UAEG all protect your website in a way that the custom php.ini file does and much more.  😉

    #3418
    Young Master
    Participant

    Wow! If that so then I have got nothing to worry about.

    #34174

    Hii
    First step custom php.ini provide by innozant  Plz Visit here:- https://goo.gl/9DURXG

    #38089
    john
    Participant

    Many of the hosting company are providing the best SQL server system, Actually I am using Host Venture Pakistan that is very awesome hosting company ever.

Viewing 11 posts - 61 through 71 (of 71 total)
  • You must be logged in to reply to this topic.