Why do I have to compile to use IMAP or other modules???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
costas
Forum Newbie
Posts: 4
Joined: Tue Dec 09, 2003 10:15 pm

Why do I have to compile to use IMAP or other modules???

Post by costas »

I am coming from the Windows world where basically you have a DLL and you just load it at runtime for example in VB.

Why is it with PHP I have to compile PHP with the IMAP or MYSQL (for example) to get it to work. Maybe I am misunuderstanding this whole concept.

For example I downloaded Zend studio and now I want to use IMAP functions. Zend has its own version (4.3) of PHP and Red Hat has an older version (4.2).

I don't even know where the source files are. Do I have to download and compile and ./configure ?

Why can't there be a simple "Load the Module" function so people don't have to do this compile stuff for every module they may or may not need at runtime?

Thanks

Costas
Post Reply