ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : نحوه نصب تابع curl در لینوکس



MOHSEN-1
October 5th, 2013, 13:48
با سلام من یک سرور مجازی دارم که یک درگاه بر روی اون فعال کردم که هر کاری کردم کار نکرد در صورتی که من چند روز قبل که از یک سرور دیگه استفاده می کردم در گاه مشکلی نداشت کار میکرد
خلاصه نامه تعغیر ای پی و تلفنی هم زنگ زدم به پرداخت که گفتن سمت ما مشکلی نداره سمت شماست
تمامی پروتها رو چک کردم مشکلی نبود تا رسیدم به تابع curl در php که دیدم بله مشکل از اینه که بر روی سرور مجازی من درگاه کار نمی کنه

سرچ زدم دستوران زیادی رو تست زدم ولی نتیجه ای نداشت

yum install php-curl

نتیجه


Loaded plugins: fastestmirror, protectbase, security
Loading mirror speeds from cached hostfile
* addons: mirrors.coreix.net
* base: mirrors.coreix.net
* extras: mirror.bytemark.co.uk
* updates: mirror.krystal.co.uk
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53-common.i386 0:5.3.3-13.el5_9.1 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-13.el5_9.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.


سیستم عامل هم centos هست
دوستان اگر کسی می تونه کمک کنه متشکر

Milad-H
October 5th, 2013, 14:08
ابتدا کد زیر را وارد کنید

yum update
سپس

yum install php-curl

یا

yum install php5-curl

MOHSEN-1
October 5th, 2013, 14:29
مهندس خطای زیر رو داد







[root@localhost ~]# yum install php-curl
Loaded plugins: fastestmirror, protectbase, security
Loading mirror speeds from cached hostfile
* addons: mirrors.coreix.net
* base: mirrors.coreix.net
* extras: mirror.bytemark.co.uk
* updates: mirror.bytemark.co.uk
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53-common.i386 0:5.3.3-13.el5_9.1 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-13.el5_9.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost ~]# yum install php5-curl
Loaded plugins: fastestmirror, protectbase, security
Loading mirror speeds from cached hostfile
* addons: mirrors.coreix.net
* base: mirrors.coreix.net
* extras: mirror.bytemark.co.uk
* updates: mirror.bytemark.co.uk
0 packages excluded due to repository protections
Setting up Install Process
No package php5-curl available.
Nothing to do

MOHSEN-1
October 5th, 2013, 20:32
کسی نیست راهنمایی کنه

MOHSEN-1
October 5th, 2013, 22:06
یکی راهنمایی کنه :((:((