Jump to content

Recommended Posts

First, I am NOT using DWMX to do any coding...I am using Code View only and entering it all in manually. However, I do use Preview in Browser to see if the page works. If there\'s one thing wrong (e.g. division by zero) the page will be blank. BTW, I\'m using Mac OS10.2 and using http://localhost/mysite/somefile.php

 

My friend is using Apache/PHP4.3, DW 4.0, on WinXP. When he loads a PHP page that has something wrong(e.g. division by zero), he gets an error message from Apache telling what is wrong and on what line of code.

 

I\'m debugging in the dark it seems...any ideas? Error messages would be so helpful... Is there a better way?

 

Thanks in advance!!

Link to comment
https://forums.phpfreaks.com/topic/954-dwmxphp43apache-no-server-error-messages/
Share on other sites

thanks....I went to my php.ini file and found this:

 

; - display_errors = Off [security]

; With this directive set to off, errors that occur during the execution of

; scripts will no longer be displayed as a part of the script output, and thus,

; will no longer be exposed to remote users. With some errors, the error message

; content may expose information about your script, web server, or database

; server that may be exploitable for hacking. Production sites should have this

; directive set to off.

 

I am guessing that I need to change Off to On, uncomment the line and re-start Apache....yes?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.