Re: [PHP] Add new loadable module in php
Check apache logs, or run php from command line. Skon Lapamnuaypol wrote: We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm package from rpmfind.com. The problem occurred on v-webmail from phpguru.org. I already copied imap.so into /usr/lib/php4 and add an extension of imap.so on /etc/php.ini, then restart httpd. But, the application still can't see the imap module. I wonder that in the extension of php.ini, all of extension (.dll - windows platform) was commmented only mysql.so and imap.so were added. But, phpinfo command show a lot of loadable module. Just curious that where does phpinfo get the information from. - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Skon Lapamnuaypol" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 4:43 PM Subject: Re: [PHP] Add new loadable module in php What platform are you running, where did you get php, do you have imap.so in the extension directory, did you restart webserver after changing its configuration? Skon Lapamnuaypol wrote: Hi, I'm newbie in PHP and tried to install webmail appliction on PHP engine. That webmail require a module IMAP,but my engine haven't have it yet. I tried to put a "extenstion = imap.so" in php.ini. But, the application still can't detect this module. Can I add php module without recompile PHP source. Thanks in advance, Skon L. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Add new loadable module in php
I've run into a similar situation before because my default PHP install was not using the php.ini in /etc/ . In your phpinfo() does it list /etc/php.ini for the ini file or is something else listed? -Original Message- From: Neil [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 7:19 AM To: [EMAIL PROTECTED]; Skon Lapamnuaypol Cc: Marek Kilimajer Subject: Re: [PHP] Add new loadable module in php Skon Lapamnuaypol wrote: > We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm > package from rpmfind.com. The problem occurred on v-webmail from > phpguru.org. I already copied imap.so into /usr/lib/php4 and add an > extension of imap.so on /etc/php.ini, then restart httpd. But, the > application still can't see the imap module. > I wonder that in the extension of php.ini, all of extension (.dll - windows > platform) was commmented only mysql.so and imap.so were added. But, phpinfo > command show a lot of loadable module. Just curious that where does phpinfo > get the information from. > > - Original Message - > From: "Marek Kilimajer" <[EMAIL PROTECTED]> > To: "Skon Lapamnuaypol" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, June 18, 2003 4:43 PM > Subject: Re: [PHP] Add new loadable module in php > > > >>What platform are you running, where did you get php, do you have >>imap.so in the extension directory, did you restart webserver after >>changing its configuration? >> >>Skon Lapamnuaypol wrote: >> >>>Hi, >>>I'm newbie in PHP and tried to install webmail appliction on PHP engine. >>>That webmail require a module IMAP,but my engine haven't have it yet. I >>>tried to put a "extenstion = imap.so" in php.ini. But, the application > > still > >>>can't detect this module. Can I add php module without recompile PHP > > source. > >>>Thanks in advance, >>>Skon L. >>> >>> >>> >>> >>> >> > Hello Where modules are concerned , you will need to stop and then start apache , as a reload/restart does not check for modules changes . I am not 100% sure of my explanation, but i know in pratice this is the case. Cheers Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Add new loadable module in php
Skon Lapamnuaypol wrote: We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm package from rpmfind.com. The problem occurred on v-webmail from phpguru.org. I already copied imap.so into /usr/lib/php4 and add an extension of imap.so on /etc/php.ini, then restart httpd. But, the application still can't see the imap module. I wonder that in the extension of php.ini, all of extension (.dll - windows platform) was commmented only mysql.so and imap.so were added. But, phpinfo command show a lot of loadable module. Just curious that where does phpinfo get the information from. - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Skon Lapamnuaypol" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 4:43 PM Subject: Re: [PHP] Add new loadable module in php What platform are you running, where did you get php, do you have imap.so in the extension directory, did you restart webserver after changing its configuration? Skon Lapamnuaypol wrote: Hi, I'm newbie in PHP and tried to install webmail appliction on PHP engine. That webmail require a module IMAP,but my engine haven't have it yet. I tried to put a "extenstion = imap.so" in php.ini. But, the application still can't detect this module. Can I add php module without recompile PHP source. Thanks in advance, Skon L. Hello Where modules are concerned , you will need to stop and then start apache , as a reload/restart does not check for modules changes . I am not 100% sure of my explanation, but i know in pratice this is the case. Cheers Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Add new loadable module in php
We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm package from rpmfind.com. The problem occurred on v-webmail from phpguru.org. I already copied imap.so into /usr/lib/php4 and add an extension of imap.so on /etc/php.ini, then restart httpd. But, the application still can't see the imap module. I wonder that in the extension of php.ini, all of extension (.dll - windows platform) was commmented only mysql.so and imap.so were added. But, phpinfo command show a lot of loadable module. Just curious that where does phpinfo get the information from. - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Skon Lapamnuaypol" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 4:43 PM Subject: Re: [PHP] Add new loadable module in php > What platform are you running, where did you get php, do you have > imap.so in the extension directory, did you restart webserver after > changing its configuration? > > Skon Lapamnuaypol wrote: > > Hi, > > I'm newbie in PHP and tried to install webmail appliction on PHP engine. > > That webmail require a module IMAP,but my engine haven't have it yet. I > > tried to put a "extenstion = imap.so" in php.ini. But, the application still > > can't detect this module. Can I add php module without recompile PHP source. > > > > Thanks in advance, > > Skon L. > > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Add new loadable module in php
What platform are you running, where did you get php, do you have imap.so in the extension directory, did you restart webserver after changing its configuration? Skon Lapamnuaypol wrote: Hi, I'm newbie in PHP and tried to install webmail appliction on PHP engine. That webmail require a module IMAP,but my engine haven't have it yet. I tried to put a "extenstion = imap.so" in php.ini. But, the application still can't detect this module. Can I add php module without recompile PHP source. Thanks in advance, Skon L. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php