Posted by: Rusty Jun 4 2009, 04:08 PM
Question:
Can we use the IMAP and/or Mailparse extensions?
I've editted my php.ini to say:
QUOTE
session.save_path = /data/tmp
upload_tmp_dir = /data/tmp
asp_tags = On
register_globals = off
safe_mode = Off
upload_max_filesize = 5M
output_buffering = 1024
mime_magic.magicfile = /usr/share/misc/file/magic.mime
memory_limit = 16M
include_path = .:/usr/services/vux/lib/php
allow_url_include = 1
allow_url_fopen = 1
extension_dir = /usr/services/vux/php5/lib/php/extensions
extension = "ZendOptimizer.so"
extension = "imap.so"
extension = "mailparse.so"
I'm uploading it to the cgi folder, and looking at phpinfo() ... I don't see the extensions loading. I have the Advanced Web Hosting Package. Unfortunately I recently had to drop my VPS server due to economics
Thank you for your time.
Posted by: Corey Jun 4 2009, 04:13 PM
QUOTE (Rusty @ Jun 4 2009, 05:18 PM)

Question:
Can we use the IMAP and/or Mailparse extensions?
I've editted my php.ini to say:
I'm uploading it to the cgi folder, and looking at phpinfo() ... I don't see the extensions loading. I have the Advanced Web Hosting Package. Unfortunately I recently had to drop my VPS server due to economics
Thank you for your time.
When adding .so extension files to your php.ini, simply calling the filename will not work unless it's available on the server for all accounts. You must reference the .so files by the full server path where uploaded it.. i.e. /data/1/2/4/..../htdocs/extension.so .
Posted by: Rusty Jun 4 2009, 04:30 PM
QUOTE (Corey @ Jun 4 2009, 04:23 PM)

When adding .so extension files to your php.ini, simply calling the filename will not work unless it's available on the server for all accounts. You must reference the .so files by the full server path where uploaded it.. i.e. /data/1/2/4/..../htdocs/extension.so .
Okay so I can download the imap.so extension and load it into the CGI folder (For example) then call it that way?
That works really well then
Posted by: Rusty Jun 4 2009, 04:48 PM
QUOTE (Rusty @ Jun 4 2009, 04:40 PM)

Okay so I can download the imap.so extension and load it into the CGI folder (For example) then call it that way?
That works really well then

Aw that didn't seem to work either

QUOTE
session.save_path = /data/tmp
upload_tmp_dir = /data/tmp
asp_tags = On
register_globals = on
safe_mode = Off
upload_max_filesize = 5M
output_buffering = 1024
mime_magic.magicfile = /usr/share/misc/file/magic.mime
memory_limit = 16M
include_path = .:/usr/services/vux/lib/php
allow_url_include = 1
allow_url_fopen = 1
extension_dir = /usr/services/vux/php5/lib/php/extensions
extension = "ZendOptimizer.so"
extension = "/data/*INFO REMOVED FOR SECURITY*/user/*INFO REMOVED FOR SECURITY*/cgi-bin/imap.so"
extension = "/data/*INFO REMOVED FOR SECURITY*/user/*INFO REMOVED FOR SECURITY*/cgi-bin/mailparse.so"
I downloaded the mailparse.so and imap.so from a server sitting right next to me running Apache2, Ubuntu 8.10.
Posted by: Corey Jun 9 2009, 11:13 AM
QUOTE (Rusty @ Jun 4 2009, 05:58 PM)

Aw that didn't seem to work either

I downloaded the mailparse.so and imap.so from a server sitting right next to me running Apache2, Ubuntu 8.10.
The .so files need to be specific to the PHP version currently running. Make sure they are compatible with PHP 5.2.6. Also, some extensions need to be registered on the server (installed with admin privileges) these will not work on the shared UNIX servers.
Posted by: Rusty Jun 9 2009, 11:51 AM
QUOTE (Corey @ Jun 9 2009, 11:23 AM)

The .so files need to be specific to the PHP version currently running. Make sure they are compatible with PHP 5.2.6. Also, some extensions need to be registered on the server (installed with admin privileges) these will not work on the shared UNIX servers.
Thank you. I think the latter is the case, but I will double check the .so

Have a wonderful day.