How do you configure PHP5?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Buddha
    Senior Member
    • Mar 2004
    • 825

    #1

    How do you configure PHP5?

    I've finally got two host with PHP5! So, I figured it's time to start testing. First thing I wanted to do was disable display_errors and magic_quotes_gpc. Well I tried both htaccess and php.ini neither worked at either host. Is it possible to configure PHP5 this way? Or do I have to do it at the script level and use work-arounds?
    "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    UPDATE 2/10/09 - PHP 4 is no longer available. You can, however, still use this same AddHandler directive in your .htaccess files to process alternative file extensions as PHP scripts. PHP5 is now included on every server. PHP4 is still running with mod_suphp and will run by default. PHP5 also runs with mod_suphp on all .php5


    Using php.ini files just like PHP4 will work on our servers.

    Comment

    • Buddha
      Senior Member
      • Mar 2004
      • 825

      #3
      I'll submit a trouble ticket.
      "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

      Comment

      • Buddha
        Senior Member
        • Mar 2004
        • 825

        #4
        Andrew solved the problem. The php.ini file goes in the public_html folder. PHP5 will use that one php.ini file for all sub-folders.

        Wish they were all like Dathorn. My other host gave up and it still doesn't work.
        "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

        Comment

        Working...