Is PHP.ini the root of all my evil? :(

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Is PHP.ini the root of all my evil? :(

Post by pSouper »

Hi guys, after trying without much success to get my setup working and being left with less funcionality than a choclate teapot I must agian apeal to your collective intelects for help.

I realise and don't doubt that phpwcms works on winXP/IIS/php4.3.4 and so believe that all my problems stem from my php.ini being badly setup. I am pleading wih anyone who has a fully working version of phpwcms on a winXP/IIS/php4.3.4 to post there php.ini [without personal info (if any)] so that i may compare it with my own.

thanking you all in advance pSouper

SOLVED-ish : I changed my php.ini to inclue Buffer = output_buffering = On so that the order of 'headers sent' wasn't so important.
I also had to Man handle the pathnames in conf.inc.php and default.inc.php in line with article... http://www.phpwcms.de/forum/viewtopic.php?t=251

many thanks to all who replied in both posts, pSouper
Last edited by pSouper on Wed 26. Nov 2003, 13:57, edited 2 times in total.
cczfury
Posts: 11
Joined: Sun 23. Nov 2003, 10:42

Maybe this will help

Post by cczfury »

; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On
Turn display_errors Off, I hope that helped.
Florian
Posts: 119
Joined: Wed 19. Nov 2003, 16:50
Location: Hamburg
Contact:

Post by Florian »

additional you should set your logging preferences to this (the default value will spam your page full of 'notice' messages):

Code: Select all

error_reporting = E_ALL & ~E_NOTICE 


Cheers,
Florian
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

thanks guys,
I do turn the errors off but have left them on so that if anyone goes to the site they can read the error reports I encounter - hopefully they would help when debuging my awfull mess :wink:

have you noticed any onther areas I should lookat in my php.ini?
I think the [SESSION] area may be at fault but the session test on my site apears to work - so I'm unsure.
Florian
Posts: 119
Joined: Wed 19. Nov 2003, 16:50
Location: Hamburg
Contact:

Post by Florian »

Leave Session setting as they are; -normaly default settings are the best ones... You can post them here to ensure your self :)

Cheers,
Florian
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

I think I'm cured now, thanks guys

Post by pSouper »

I think I'm cured now, thanks guys
Post Reply