[PHP] bcompiler: compile in a diferent directory
I use bcompiler in my php code(bcompiler_write_header+bcompiler_write_file+bcompiler_write_footer). If the original phps are not located in the deployment directory, when I ejecute the compiled code(In deployment directory) I get an error because require_once use the path to the not compiled phps. I'd like to know if there is any way to compile the phps and use the compiled versión from a different directory. Thanks Ramiro
[PHP] bcompiler: compile in a diferent directory
I use bcompiler in my php code(bcompiler_write_header+bcompiler_write_file+bcompiler_write_footer). If the original phps are not located in the deployment directory I get an error: require_once use the path to the not compiled phps. I'd like to know if there is any way to compile the phps and use the compiled versión from a different directory. Thanks Ramiro
Re: [PHP] Bcompiler errors
On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only thing I have found is this... http://pecl.php.net/bugs/bug.php?id=10742 I am unsure as to where I need to go from here? I am concerned about putting this into production if it happens this often. Any ideas? P.S. Running PHP 5.2.3 on Mac OS X intel xserve Apache 2.2.4 -- Mike Yrabedra B^) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If it's an encoded file, it might be corrupted. Make sure it was uploaded in binary mode, and that there are no trailing whitespaces or newlines. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Bcompiler errors
On Nov 15, 2007 11:05 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only thing I have found is this... http://pecl.php.net/bugs/bug.php?id=10742 I am unsure as to where I need to go from here? I am concerned about putting this into production if it happens this often. Any ideas? P.S. Running PHP 5.2.3 on Mac OS X intel xserve Apache 2.2.4 -- Mike Yrabedra B^) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If it's an encoded file, it might be corrupted. Make sure it was uploaded in binary mode, and that there are no trailing whitespaces or newlines. Nope, not encrypted. Also, reloading the same page almost always fixes the problem and the page loads. -- Mike Yrabedra B^) Voodoo. Are you using XDebug, by chance? -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Bcompiler errors
on 11/15/07 11:07 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 11:05 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only thing I have found is this... http://pecl.php.net/bugs/bug.php?id=10742 I am unsure as to where I need to go from here? I am concerned about putting this into production if it happens this often. Any ideas? P.S. Running PHP 5.2.3 on Mac OS X intel xserve Apache 2.2.4 -- Mike Yrabedra B^) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If it's an encoded file, it might be corrupted. Make sure it was uploaded in binary mode, and that there are no trailing whitespaces or newlines. Nope, not encrypted. Also, reloading the same page almost always fixes the problem and the page loads. -- Mike Yrabedra B^) Voodoo. Are you using XDebug, by chance? No, I am not using Xdebug -- Mike Yrabedra B^) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Bcompiler errors
on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only thing I have found is this... http://pecl.php.net/bugs/bug.php?id=10742 I am unsure as to where I need to go from here? I am concerned about putting this into production if it happens this often. Any ideas? P.S. Running PHP 5.2.3 on Mac OS X intel xserve Apache 2.2.4 -- Mike Yrabedra B^) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If it's an encoded file, it might be corrupted. Make sure it was uploaded in binary mode, and that there are no trailing whitespaces or newlines. Nope, not encrypted. Also, reloading the same page almost always fixes the problem and the page loads. -- Mike Yrabedra B^) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Bcompiler errors
Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only thing I have found is this... http://pecl.php.net/bugs/bug.php?id=10742 I am unsure as to where I need to go from here? I am concerned about putting this into production if it happens this often. Any ideas? P.S. Running PHP 5.2.3 on Mac OS X intel xserve Apache 2.2.4 -- Mike Yrabedra B^) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] bcompiler
Helo! I' m just in trouble with bcompiler. I want to compile a new bcompiler.so and this is the result: Any suggestions? /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2336: error: `zend_uchar' undeclared (first use in this function) /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2336: error: parse error before ')' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2337: error: parse error before TSRMLS_CC /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2338: error: parse error before TSRMLS_CC /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2339: error: `zend_uint' undeclared (first use in this function) /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2339: error: parse error before ')' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2340: error: parse error before ')' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2341: error: parse error before ')' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2357: error: `zval' undeclared (first use in this function) /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2357: error: parse error before myretval /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2357: error: `sendval' undeclared (first use in this function) /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2357: error: `function_table' undeclared (first use in this function) /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2357: error: `myretval' undeclared (first use in this function) /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2357: error: parse error before TSRMLS_CC /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c: At top level: /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2358: error: parse error before for /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2363: error: parse error before '*' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2363: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2363: error: parse error before size_t /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2364: error: parse error before '*' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2364: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2364: error: parse error before size_t /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2365: error: parse error before '*' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2365: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2365: error: parse error before size_t /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2366: error: parse error before '*' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2366: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2366: error: parse error before size_t /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2367: error: `exists' used prior to declaration /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2367: error: `zoa' undeclared here (not in a function) /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2367: warning: data definition has no type or storage class /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2368: error: parse error before '{' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2368: error: parse error before char /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2368: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2368: error: parse error before size_t /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2371: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2371: error: parse error before char /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2373: error: parse error before '-' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2373: warning: data definition has no type or storage class /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2374: error: parse error before '-' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2375: error: parse error before '*' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2375: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2375: error: parse error before size_t /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2376: error: parse error before '*' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2376: error: parse error before '(' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2376: error: parse error before size_t /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2377: error: parse error before '-' token /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2377: error: conflicting types for `apc_serialize_string' /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:1472: error: previous declaration of `apc_serialize_string' /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2377:
Re: [PHP] bcompiler
* Thus wrote Werthmann, Stefan: Helo! I' m just in trouble with bcompiler. I want to compile a new bcompiler.so and this is the result: Any suggestions? /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2336: error: `zend_uchar' undeclared (first use in this function) you might want to contact lammp, or xammp as they call themselves now. This is a very awkward path being used. btw.. the 500 lines weren't necessary, in the future simply provide the beginning and ending. btw2.. please dont cross post. Curt -- The above comments may offend you. flame at will. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php