OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of iguanito »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - iguanito

Pages: [1]
1
Development and Code Review / Re: [SOLVED] Building from Source Issues
« on: August 01, 2017, 06:16:16 pm »
Hi there :)

I just installed OPNsense after my pfsense SG2440 borked an update yesterday :s
I was ready to make the switch so I installed FreeBSD 11 first, and used the bootstrap script found on github.
The same PHP error mentioned above occured - i.e. includepath is incomplete.

Solution:
I identified empty php.ini files in /usr/local/etc/ as well as the templates for dev and prod.
I copied the dev one into the php.ini and manually added the include path copied from:
 /usr/local/opnsense/service/templates/OPNsense/WebGui/php.ini, namely:


Code: [Select]
include_path = ".:/usr/local/etc/inc:/usr/local/www:/usr/local/opnsense/mvc:/usr/local/share/pear:/usr/local/opnsense/contrib"
and started the webserver manually using the rc script /usr/local/etc/rc.restart_webgui

I know the thread is solved, but I'm not sure how this happened. It does not seem to share the same cause as before.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2