/    Sign up×
Community /Pin to ProfileBookmark

php.ini file question…

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

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@pyroOct 11.2003 — Yes, a semicolon in the php.ini file is like a comment in PHP. The line won't be read.
Copy linkTweet thisAlerts:
@mityaauthorOct 11.2003 — THanks Pyro- got it sussed ?
Copy linkTweet thisAlerts:
@pyroOct 11.2003 — Sure thing... ?
×

Success!

Help @mitya spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...