
![]() |
thedarkness
As per a discussion perk and I had today I have begum work on a mysql UDF (user defined function, more on this later). i'm using a relatively new system that I am using as a testing/attack platform ;-) I have done quite a bit on this
machine already.Anyway, got this when I tried to install my first function into mysql; quote mysql> CREATE FUNCTION phpserialize RETURNS STRING SONAME 'libmyphpserialize.so';ERROR 1126 (HY000): Can't open shared library 'libmy phpserialize.so' (errno: 22 /usr/lib/mysql/libmyphpserialize.so: cannot restore segment prot after reloc: Permission denied)Quick search on google revealed that se linuxwas the culprit and, sure enough, i had forgotten to set disables in /etc/sysconfig/selinux....... fishing selinux![]() Cheers, td perkiset
Cripes what a PIA. Looking forward to that project though...
thedarkness
LOL, don't get all impatient on me perk, I's working on it massa
![]() BTW, does anyone know if any entitities need to be escaped for phpserialized arrays (I imagine " at the very least needs to be escaped)? Is this documented anywhere? I couldn't find anything onphp.netCheers, td perkiset
quote author=thedarkness link=topic=281.msg2211#msg2211 date=1181958703 LOL, don't get all impatient on me perk, I's working on it massa ![]() No pressure at all td. : ![]() OK, is it done yet? ![]() jk dude thedarkness
quote author=perkiset link=topic=281.msg2214#msg2214 date=1181968414 OK, is it done yet? ![]() No, it isn't. Made major progress today (Saturday) though, actually got it to print some output to the screen without barfing garbage, segfaulting, or just doing "nothing" ![]() curves, let's just say that putting one of these together is not intuitive. As usual, one must absorb some pain, think I'm over the hump now though, should make mucho progresso tonight. Will keep u posted, patience is a virtue |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads