-
December 11th, 2013, 13:32
#1
مشکل در pipe/pop.php سیستم whmcs
سلام
یک سرور دایرکت ادمین دارم که روش whmcs بالا آوردم
وقتی میخوام pipe/pop.php رو ران کنم در کران جاب این خطارو میده.
IMAP needs to be compiled into PHP for this to function
مثل این که در imap مشکلی وجود داره چون با Mozilla Thunderbird به ایمل ها که میخوام وصل بشم خطا میده.
کسی میتونه کمک کنه من رو؟
-
-
December 11th, 2013 13:32
# ADS
-
December 11th, 2013, 14:37
#2
عضو دائم
پاسخ : مشکل در pipe/pop.php سیستم whmcs
سلام
روی سرو extention imap باید بر روی php کامپایل و نصب باشه. و روش نصب و فعال کردنش بستگی به سیستم عامل سرور، کنترل پنل سرور داره.
-
-
December 11th, 2013, 14:41
#3
پاسخ : مشکل در pipe/pop.php سیستم whmcs

نوشته اصلی توسط
Metalik
سلام
روی سرو extention imap باید بر روی php کامپایل و نصب باشه. و روش نصب و فعال کردنش بستگی به سیستم عامل سرور، کنترل پنل سرور داره.
centos 5.8 64bit هستش و پنل directadmin.
میشه کمکم کنید بد جوری لنگشم
-
-
December 11th, 2013, 15:02
#4
عضو دائم
پاسخ : مشکل در pipe/pop.php سیستم whmcs
-
-
December 13th, 2013, 10:12
#5
پاسخ : مشکل در pipe/pop.php سیستم whmcs

نوشته اصلی توسط
Metalik
درست نشد.
میتونید برام انجام بدین؟
-
-
December 15th, 2013, 15:01
#6
پاسخ : مشکل در pipe/pop.php سیستم whmcs
سلام
شما باید 2 کار انجام بدید اولا اشتباه تایپی داشتید pipe صحیح است نه pop
این را در cron job قرار بدید
/usr/local/bin/php -q /home/hostk/domains/hostkade.com/public_html/pipe/pipe.php
و همچنین می توانید از curl یا wget استفاده کنید
فعلا امتحان کنید خبر بدید
برای نصب imap
مراحل زیر را دقیق بروید
Reported for custombuild:
1) install c-client.
Debian:
apt-get install libc-client-dev
rpm systems (CentOS, fedora):
yum install libc-client libc-client-devel
Reported for CentOS 64-bit, also run:
yum install krb5-appl-clients.x86_64
yum install krb5-appl-servers.x86_64
2) Use this guide:
http://help.directadmin.com/item.php?id=252
to add these 2 lines to the bottom (don't forget the \ on the previous line before them)
--with-imap=/usr/lib/dovecot/imap \
--with-imap-ssl
3) Then build php:
./build php n
and that's it.
Note: as per usual, making customizations to the default install will be beyond our support.
If there are any issues with this, we'll not be able to provide assistance to make the customization.
------
Reported fix for a keberos compile issue on 64-bit systems:
ln -s /usr/lib64 /usr/kerberos/lib
------
On CentOS 64-bit, if you see the error:
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
and cannot find libc-client.a anywhere on your box:
updatedb
locate libc-client.a
Download a uw-imap src.rpm from the internet. They can be found on rpmfind.net, eg:
http://rpmfind.net/linux/rpm2html/se...stem=&arch=src
Then type (using the relevant src.rpm package url for your system, when possible):
wget http://files.directadmin.com/service...10.el6.src.rpm
rpmbuild --rebuild uw-imap-2007e-10.el6.src.rpm
cd /usr/src/redhat/RPMS/x86_64/
rpm -ivh uw-imap-static-2007e-10.el6.x86_64.rpm uw-imap-devel-2007e-10.el6.x86_64.rpm libc-client-2007e-10.el6.x86_64.rpm
Note, you may need to remove the newer version of libc-client and libc-client-devel, if the above conflict.
Also, link the .a file:
ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a
----------
Reported issue with the spec file in uw-imap-2007e-10.el6.src.rpm, which may prevent the build of the rpm:
You must change in SPEC file
%if 0%{?fedora}
%define _with_devel 1
# ship static lib, matches default upstream config
# as convenience to users, since our hacked shlib can potentially break
# abi semi-often
%define _with_static 1
%endif
To
%define _with_devel 1
# ship static lib, matches default upstream config
# as convenience to users, since our hacked shlib can potentially break
# abi semi-often
%define _with_static 1
----------
Reported for libc-client.a issue:
"The installation off libc-client.i686 and libc-client.x86_64 is enough to resolve the libc-client.a issue.
Sometimes yum install libc-client-devel.i686 and libc-client-devel.x86_64 is needed to."
===============================================
===============================================
older oudated option for customapache:
cd /home
mkdir build
cd build
wget http://files.directadmin.com/services/imapback.tar.gz
tar -zxvf imapback.tar.gz
cd imap-2002e
./buildit
cd c-client
make slx EXTRACFLAGS=-I/usr/kerberos/include EXTRALDFLAGS=-I/usr/kerberos/lib
mkdir /usr/local/imap-2000e/
mkdir /usr/local/imap-2000e/lib
mkdir /usr/local/imap-2000e/include
cp *.h /usr/local/imap-2000e/include
cp *.c /usr/local/imap-2000e/lib
cp c-client.a /usr/local/imap-2000e/lib
mv /usr/local/imap-2000e/lib/c-client.a /usr/local/imap-2000e/lib/libc-client.a
cd /usr/local/directadmin/customapache
nano -w configure.php (Add --with-imap=/usr/local/imap-2000e \ to php config)
./build php n
Details for freebsd version:
http://forum.directadmin.com/showthr...threadid=11043
FreeBSD: edit c-client/LDFAGS and set:
-lcrypt
-L/usr/lib -lssl -lcrypto
CentOS 64-bit systems:
http://forum.directadmin.com/showthr...9453#post99453
Report that --with-kerberos needs to be removed from the configure.php|php5
ویرایش توسط alipour66m : December 15th, 2013 در ساعت 15:07
-
تعداد تشکر ها از alipour66m به دلیل پست مفید
-
December 17th, 2013, 06:42
#7
پاسخ : مشکل در pipe/pop.php سیستم whmcs

نوشته اصلی توسط
a.mousavi.a
centos 5.8 64bit هستش و پنل directadmin.
میشه کمکم کنید بد جوری لنگشم
yum install php-imap
-
-
December 17th, 2013, 14:07
#8
پاسخ : مشکل در pipe/pop.php سیستم whmcs

نوشته اصلی توسط
satrapit
yum install php-imap
این کار انجام شده اما مشکل حل نشد.
-
-
December 17th, 2013, 20:29
#9
پاسخ : مشکل در pipe/pop.php سیستم whmcs
چرا از روش pipe به جای pop استفاده نمیکنی؟
پیشنهاد whmcs برای کنترلپنلهای cPanel و DirectAdmin روش pipe هست. روش pop بیشتر وقتی استفاده میشه که whmcs روی دامنه دیگری باشد یا کنترلپنل غیر از این دو باشد.
با pipe سیستم نسبت به تیکت در لحظه پاسخ میده ولی در pop بستگی به زمان cron داره که معمولا 5 دقیقهای تنظیم میشه.
-
-
December 18th, 2013, 17:02
#10
پاسخ : مشکل در pipe/pop.php سیستم whmcs

نوشته اصلی توسط
satrapit
چرا از روش pipe به جای pop استفاده نمیکنی؟
پیشنهاد whmcs برای کنترلپنلهای cPanel و DirectAdmin روش pipe هست. روش pop بیشتر وقتی استفاده میشه که whmcs روی دامنه دیگری باشد یا کنترلپنل غیر از این دو باشد.
با pipe سیستم نسبت به تیکت در لحظه پاسخ میده ولی در pop بستگی به زمان cron داره که معمولا 5 دقیقهای تنظیم میشه.
میشه بیشتر توضیح بدین؟
با این روش کار نکردم
-