« Previous Next »

Thread: PHP Fatal error: Class 'OutputBuffer' not found....what?

Last post 06-23-2009 11:19 PM by Leo Tang - MSFT. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 06-18-2009, 4:09 PM

    • jerotas
    • Not Ranked
    • Joined on 06-18-2009, 7:18 PM
    • Posts 3

    PHP Fatal error: Class 'OutputBuffer' not found....what?

    I need to get a pre-written PHP web project to work on IIS. I was able to get the test page running and working, where the only text on the page is:

    <?php phpinfo(); ?>

     However, when I run a real PHP page, it breaks on this line:

    $ob = new OutputBuffer;

    And this line:

    $session = new Session;

     The error for the first one is: PHP Fatal error: Class 'OutputBuffer' not found in C:\inetpub\wwwroot\ohp\act_set_request.php on line 8

     Then the same error, but "Session" instead of "OutputBuffer" for the 2nd. So basically, any line that tries to create normal PHP objects (I don't think they're extensions?) breaks. I don't think this is supposed to work this way...please help me get this working. I'm running FastCGI on IIS7 on Vista. Let me know if you need any other info.

    Thank you,

    Brian

    brianh@onehealthport.com

  • 06-23-2009, 11:19 PM In reply to

    Re: PHP Fatal error: Class 'OutputBuffer' not found....what?

    Hi,

    The error message indicates it is an PHP error. You may need to check the settings in php.ini file. Also you can post this question at PHP forum to get more helps.

    Additionally, I noticed your another closed thread:
    http://forums.iis.net/p/1158553/1907563.aspx
    Are they actually the same question ? If so, glad you have resolved the issue.

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (2 items)
Microsoft Communities