nsForum logo

Welcome Guest ( Log In )

> Imap.so Php.ini, Adding another extension to php.ini
Rusty
post Jun 4 2009, 04:08 PM
Post #1





Group: Verified NS Member
Posts: 4
Joined: 19-August 08
Member No.: 2,021



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 (IMG:http://forums.networksolutions.com/style_emoticons/default/sad.gif)

Thank you for your time.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 5)
Corey
post Jun 4 2009, 04:13 PM
Post #2


Network Solutions Technical Support


Group: Administrators
Posts: 61
Joined: 23-June 08
Member No.: 1,316



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 (IMG:http://forums.networksolutions.com/style_emoticons/default/sad.gif)

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 .
Go to the top of the page
 
+Quote Post
Rusty
post Jun 4 2009, 04:30 PM
Post #3





Group: Verified NS Member
Posts: 4
Joined: 19-August 08
Member No.: 2,021



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 (IMG:http://forums.networksolutions.com/style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
Rusty
post Jun 4 2009, 04:48 PM
Post #4





Group: Verified NS Member
Posts: 4
Joined: 19-August 08
Member No.: 2,021



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 (IMG:http://forums.networksolutions.com/style_emoticons/default/smile.gif)



Aw that didn't seem to work either (IMG:http://forums.networksolutions.com/style_emoticons/default/sad.gif)

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.
Go to the top of the page
 
+Quote Post
Corey
post Jun 9 2009, 11:13 AM
Post #5


Network Solutions Technical Support


Group: Administrators
Posts: 61
Joined: 23-June 08
Member No.: 1,316



QUOTE (Rusty @ Jun 4 2009, 05:58 PM) *
Aw that didn't seem to work either (IMG:http://forums.networksolutions.com/style_emoticons/default/sad.gif)



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.
Go to the top of the page
 
+Quote Post
Rusty
post Jun 9 2009, 11:51 AM
Post #6





Group: Verified NS Member
Posts: 4
Joined: 19-August 08
Member No.: 2,021



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 (IMG:http://forums.networksolutions.com/style_emoticons/default/smile.gif)

Have a wonderful day.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2009 Time is now: 21st November 2009 - 07:42 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates