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
2023-3-21 |

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湔詨賣貊蝔格寞 PHP - SQL Injection PHP - 憒雿霈 PHP Y(array) 頧 JavaScript 臭誑雿輻函拐辣(Object)澆 ( json_encode() 頧 PHP - 憒雿Y頝典僑摨衣隞質” PHP - 蝬脣貊瘜 (雿輻 http_build_query) PHP - 憒雿曉箏拙交撌桐憭撠"隞" PHP String Chopping Excerpt Linux / UNIX Setup and Run PHP Script As A Cron Job 雿輻沌HP导亙导慢SV隞 PHP - Resize and crop image from center
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.0115 seconds