php.ini problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    php.ini problems

    greetings all, ok, a mate got a server for a cheap package (cheap meaning you gotta set it up yourself) n this has been done thanks to guides from google, etc...

    Now comes the fun partwhich is actually getting sites to run, n they're not running... I'm presuming it has something to do with the php.ini file,but try as i might,(not really knowing what i'm doing) through the PHP Configuration Editor in the WHM panel, so far I got error 500,n disabled error messages,but the php doesn't seem to be running at all... Anyone got any ideas?
    C3 Themes: http://c3themes.wen.ru/index.html
    Find Files: http://mystarter.tk/?goto=X-search

    #2
    UPDATE:
    ok, getting:
    Strict Standards: Non-static method phpthumb_functions::FunctionIsDisabled() should not be called statically in ... error

    PHP is running, but all output is screwed cause of errors, n headers errors cause of outputting errors, etc...




    C3 Themes: http://c3themes.wen.ru/index.html
    Find Files: http://mystarter.tk/?goto=X-search

    Comment


      #3

      public static function FunctionIsDisabled(){ }

      Comment


        #4
        ok, i sorted that bit out,but the php still not loading, or well more complicated code... ie: i can get it to echo variables, etc but complete sites white screen, etc... Ghost Community v4 seems to work perfectly though
        C3 Themes: http://c3themes.wen.ru/index.html
        Find Files: http://mystarter.tk/?goto=X-search

        Comment


          #5
          Create a new page eg: error.php and run it to view your errors:
          Code:
          <?php
          $page = isset($_GET['page']) ? $_GET['page'] : 'index.php';
          error_reporting (E_ALL);
          ini_set ('display_errors', true);
          include($page);
          ?>
          Make sure you make this file not work after you have finished with it - as its a security threat

          Comment


            #6
            If you running "suphp" it should be a permission issue. you can fix by
            find /home/*/public_html -type d -exec chmod 755 {} \;
            find /home/*/public_html -name '*.php' -o -name '*.php[345]' -o -name '*.phtml'| xargs chmod -v 644
            Also you can try other php handlers as a fast and simple solution.

            Comment


              #7
              You have not describe what problem ur facing actually !

              Comment

              Working...
              X