Juszeil Conception

Juszeil Conception

  • 主 頁
  • 部 落 格
  • 相 簿
  • 關 於
  • 更 新 資 訊
  • 網站地圖

«2015 - 1»
日一二三四五六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODAY

Hide Banner | LOGIN
2022-7-1 |

BLOG 部落格

Total found 1 articles on 2015-1-18.

蝔 撘 隤 閮 2015-1-18 22:34:47

PHP - Install CURL on linux platform


To check it please follow this step:

  1. Create a file in your web server (in Ubuntu it would be in /var/www folder), name it info.php
  2. Open that file and type this command: < ?php phpinfo(); ? >
  3. Save that file
  4. Open your favorite browser and open that file (ex: http://localhost/info.php)
  5. Now you will see the Information about your PHP installation
  6. Search for Curl, and if you cannot find it, it mean your php doesnt have curl installed.

To install php-curl please follow this steps:

  1. Open your terminal and type this command:
     
    sudo apt-get install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt
  2. After it finish open php.ini file (mine is at /etc/php5/apache2/php.ini ) and add this command: extension=curl.so
  3. Save the file and restart apache with this command:
     
    /etc/init.d/apache2 restart
  4. Check the PHP information page again, you will find PHP-CURL installed
  5. Thats it

Relate Post : PHP - 蝬脣貊瘜 (雿輻 http_build_query) PHP湔詨賣貊蝔格寞 PHP - Resize and crop image from center PHP - 芷文銝脤剖偏嚗銝憭嚗孵摮 (拍 trim ) PHP - run on background Linux / UNIX Setup and Run PHP Script As A Cron Job PHP - 憒雿霈 PHP Y(array) 頧 JavaScript 臭誑雿輻函拐辣(Object)澆 ( json_encode() 頧 PHP - SQL Injection PHP - 瑼X Email IP 澆臬血瘜 PHP - 憒雿Y頝典僑摨衣隞質”
Comments :
No Comments

Post your comment:


Post your comment by Guest :
Verify Code :


Back To Top

Find Me

Powered By 2013-2015 ©. Juszeil Conception version 2.0
Queries Executed : 0.011 seconds