Click to See Complete Forum and Search --> : php.ini file question...


mitya
10-11-2003, 03:05 PM
Hi all

Today I got IMAP functions to work simply removing the semi-colon before the extension tag in the ini file (so it becomes extension=php_imap.dll and not ;extension=php_imap.dll). Can anyone tell me why the semi-colon makes such a difference? All of the extensions of the semi-colon before them, so does that mean they're all disabled at present?

Previously, PHP didn't recognise any IMAP functions but now it does. Am I to presume that all the other extensions are currently turned off and won't be active until their respective semi-colon is removed too?

Puzzling

pyro
10-11-2003, 04:42 PM
Yes, a semicolon in the php.ini file is like a comment in PHP. The line won't be read.

mitya
10-11-2003, 05:36 PM
THanks Pyro- got it sussed :)

pyro
10-11-2003, 06:19 PM
Sure thing... :)