[resolved] Omega2+ // Php mods : add filter ?
-
Hi,
I'm trying to use php on my new Omega2+
I find a lot of extensions, but I need filter php extension... (http://php.net/manual/fr/book.filter.php)
@administrators Can you add this extensions to the packages ?Thanks a lot,
-
@administrators ping?
-
PING @administrators (administrators) 56(84) bytes of data.
From administrators icmp_seq=1 Destination Host Unreachable
From administrators icmp_seq=2 Destination Host Unreachable
From administrators icmp_seq=3 Destination Host Unreachable
From administrators icmp_seq=4 Destination Host Unreachable
-
@Luciano-S. This is wicked, but very funny! :slight_smile:
-
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".
'--disable-filter'
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 :- php7-cgi_7.1.0-1_mipsel_24kc.ipk
- php7-filter-cgi_7.1.0-1_mipsel_24kc.ipk
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 ?
ie :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 usingopkg
, reboot your omega, and runopkg update
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()