[phc-general] command mysql_pconnect

Mickel mickel at telecomjordaan.nl
Sat Feb 11 11:28:40 GMT 2012


Hi paul,

 

Do you mean a phc recompile  with option –enable-mysql

Or do i also recompile php with the mysql option?

 

PLease let me know.

 

Mickel

 

Van: Paul Biggar [mailto:paul.biggar at gmail.com] 
Verzonden: vrijdag 10 februari 2012 23:56
Aan: Mickel
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:

Hi all,

 

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

 

Mickel


_______________________________________________
phc-general mailing list
phc-general at phpcompiler.org
https://nova.villiros.com/cgi-bin/mailman/listinfo/phc-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nova.villiros.com/pipermail/phc-general/attachments/20120211/963f8484/attachment.html>


More information about the phc-general mailing list