[phc-general] command mysql_pconnect
mickel at telecomjordaan.nl
Sat Feb 11 11:28:40 GMT 2012
Do you mean a phc recompile with option –enable-mysql
Or do i also recompile php with the mysql option?
PLease let me know.
Van: Paul Biggar [mailto:paul.biggar at gmail.com]
Verzonden: vrijdag 10 februari 2012 23:56
CC: phc-general at phpcompiler.org
Onderwerp: Re: [phc-general] command mysql_pconnect
It sounds like phc is linking to a library that doesn't have MySQL installed. Did you specify --enable-mysql when building it?
Sent from my phone - please excuse brevity
On Feb 10, 2012 12:49 p.m., "Mickel" <mickel at telecomjordaan.nl> wrote:
First of all, keep up the good work with phc.
I have compiled a PHP code to a executable for a arm processor(embedded)
First installed php and pch on my ubuntu box.
Then i compiled PHP for arm.
After i created the C code from the php code i can crosscompile the code to run on the Arm embedded box.
In the PHP code the is a mysql connection using mysql_pconnect to connect to DB
When i run the executable on the armbox i getting a error.
Fatal error: __MAIN__(): Call to undefined function mysql_pconnect() in <unknown> on line 0
Please help me with this issue.
Thanks in advance
phc-general mailing list
phc-general at phpcompiler.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the phc-general