A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/medantechno/public_html/system/core/Exceptions.php:185)

Filename: libraries/Session.php

Line Number: 675

MedanTechno.com - Install PHP Openwrt uhttpd
admin@medantechno.com
0852 0 7117 555
medantechno.com
Loading...... Refresh
Loading Slide Show...
13 April 2017

Install PHP Openwrt uhttpd

Default openwrt sudah ada web server minimal yaitu uhttpd.

Kalau kita mau menginstal php, cukup install php aja tanpa web server lagi.

Paket yg dibutuhkan:


opkg update
opkg install php5
opkg install php5-cgi

 

 

Kemudian buka file config :

/etc/config/uhttpd

arahkan ke baris 40 kemudian buang tanda pagar dan menjadi sepeti dibawah ini:

list interpreter    ".php=/usr/bin/php-cgi"

 

 

 

Kemudian restart:

/etc/init.d/uhttpd restart

 

 

Sumber:

https://wiki.openwrt.org/doc/uci/uhttpd




Artikel Lainnya


Portofolio

  • Agenda
  • Date Title
    15 Februari 2017 Parking Gate Job
    13 September 2016 Finishing pay-inm.co.id
    14 September 2016 Finishing Company Profil Masjid Al-iklas Medan

Loading Counter...



Share...

  • Partner