Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: apache problem

  1. #1
    New Coder
    Join Date
    Mar 2004
    Thanked 0 Times in 0 Posts

    apache problem

    hi everyone.

    i use to work on IIS, but now i have switched to apache, i have installed
    php and also configured it for apache, php is working fine with apache, but i am facing a very peculiar situation which is as follows:

    if there is an error in the php script, the script goes blank, but if there is no syntax error i am able to execute and see the output, but in case of a syntax error the script goes blank.

    i also tried to include the following line before the script but again in the output is blank - error_reporting(E_ALL);

    i think there needs to be certain settings to be done in apache, which i am not able to figure out. Kindly help.


  • #2
    Super Moderator
    Join Date
    May 2002
    Perth Australia
    Thanked 101 Times in 99 Posts
    Hi check your php.ini settings (usually c:/windows(winnt)/php.ini) for these directives .. below should make sure you see the errors (along with error_reporting(E_ALL); etc

    display_errors = On
    ignore_repeated_errors = off

    remember to restart apache for the changes to take effect
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts