[resolved] Omega2+ // Php mods : add filter ?
@Luciano-S. This is wicked, but very funny! :slight_smile:
Luciano S. last edited by
Some ppl not process information ... The kick starter newsletter says clearly:
Onion newsletter explains:
Help us help you!
We're very stoked on the enthusiasm we've seen about the Omega2 and we want to do a better job of engaging with our backers. However, responding to comments and messages on Kickstarter is very inefficient for everyone since there's no real way to track comments or responses. Please see the below for how to best reach us:
If you have an order, payment, or shipping issue, please file a ticket on our helpdesk at https://onion.freshdesk.com. This is the most direct way of getting in touch with us regarding your issue. To protect your privacy, we will not discuss any of these issues in Kickstarter comments!
For technical issues, please see our documentation at docs.onion.io, we're updating it on a rolling basis. We also have a thriving Community Forum where users and developers ask and answer questions at http://community.onion.io/. This is the best place to get technical questions answered, and we’re doing our best to join in on the conversation!
Stay tuned for more!
@Joris-Mulliez we currently compile all of the PHP packages that are available in LEDE
Please ask the LEDE team to add support for this package and we will gladly add it to the Omega's repos.
@Lazar-Demin Thanks for your reply !
I just ask in this issue : https://github.com/openwrt/packages/issues/3831 (I think I'm at the right place... will see)
I'll keep you informed !
@Lazar-Demin After the response of a user on github, I realize that "filter" is not an "external" mod of php, but the mod is disabled at compilation for openwrt , i can see this on "phpinfo".
So is there a chance for Onion to remove this option "--disable-filter" when the port is done for omega ?
And if it is to heavy for all omega user, perhaps give two version of php ?
for example :
I understand it is a poor solution because there is somme other "disabled" php functionnality...
So if you have to do a special php version for each...
I don't know what is the best solution.
On more idea, can you provide a documentation about compile packages manually for omega ? If I want my own custom php ... how to achieve that ?
Thanks a lot,
@administrators There is a new response at my github issue :
It's just about to add CONFIG_PHP7_FILTER=y to the build configuration. The resulting packages php7-cgi, php7-cli, php7-fpm and php7-mod-intl become larger after enabling. But in summary, this is (only) about 30kB for my ARM based platform...
Can you give a try ? And compare the size of new package?
Thanks a lot,
@administrators Could you please answer me, if the configuration describe on the github issue could be done by you when you compiled the package for omega ?
add CONFIG_PHP7_FILTER=y to the build configuration
thanks a lot,
@Joris-Mulliez Ok, I'll try it out and let you know!
@Joris-Mulliez update: done, php7 filter is enabled!
remove your old php installation using
opkg, reboot your omega, and run
make sure to post the awesome projects you make!
@Lazar-Demin thanks a lot! I'll give a try and confirm you!
And it's a win !
thanks for your work, filter is working perfectly !
I mark this topic as resolved.
Is there any chance that the filter support is removed again, I keepgetting the error throws: Exception message: Call to undefined function filter_var()