[resolved] Omega2+ // Php mods : add filter ?
@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()