How to install Imap extension?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to install Imap extension?

Postby SmokyBarnable » 07. November 2006 13:55

I can't seem to figure out how I would go about installing the Imap extension. I have researched all day and still can't make any sense of it.
I read all this but don't even know how I get to the command line or what to even download.

http://www.php.net/imap

Thanks for any help.
SmokyBarnable
 
Posts: 6
Joined: 07. November 2006 13:43

Postby Wiedmann » 07. November 2006 14:05

Just read the "XAMPP for Windows FAQ"...
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby SmokyBarnable » 07. November 2006 14:56

extension=php_imap.dll is uncommented and extension_dir = "C:\Program Files\xampp\php\extensions\".

However I still get undefined function call when trying to use Imap.

Perhaps I should reinstall?
SmokyBarnable
 
Posts: 6
Joined: 07. November 2006 13:43

Postby Wiedmann » 07. November 2006 15:23

Please use the correct "php.ini".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby SmokyBarnable » 07. November 2006 18:12

extension=php_imap.dll is uncommented already with the default installation. Imap port is open and phpinfo shows IMAP c-Client Version 2004 enabled.

Yet a simple line like this returns a call to undefined function imap_open().

Code: Select all
$conn = @imap_open("\{$server/imap}INBOX", $user, $pass)
SmokyBarnable
 
Posts: 6
Joined: 07. November 2006 13:43

Postby Izzy » 13. November 2006 00:03

The php.ini file to use is here:
xampp\apache\bin\php.ini
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 60 guests