PDA

Click to See Complete Forum and Search --> : Apache + PHP4 Help please...


JafferAB
Jun 22nd, 2002, 11:56 AM
rightm i keep getting these errors (these kind of errors)...

Notice: Undefined variable: do in C:\Program Files\Apache Group\Apache2\htdocs\openbb\setup.php on line 4

I have installed PHP and alot of PHP seems to be working, but this kind of error seems to be making it go wrong and so buggerall works :(

I have apache2, BUT had to use this tutorial....

http://www.thickbook.com/extra/php_apachephp4_win.phtml

which is for 1.3. This must be the basis of the error, but i cant find documentation (ahem, understandable documentation) for 2.0 :(

Thanks for any help :)

scoutt
Jun 22nd, 2002, 12:03 PM
you will have to edit the php.ini file and uncomment or add this line

error_reporting = E_ALL & ~E_NOTICE

or in code you can add

<? error_reporting(7) ?>

JafferAB
Jun 22nd, 2002, 12:08 PM
cool :D:D

just slapped it in on the bottom of the php.ini and all seems to work fine now :)

Thanks :D

scoutt
Jun 22nd, 2002, 12:20 PM
well there is a whole section in the ini file about that. it should go there so everything is in order. but to each his own :)

your welcome