building php with DB extension without installing DB locally

building php with DB extension without installing DB locally

am 22.01.2008 12:04:44 von Jochem Maas

hi guys,

I want to build php with firebirdDB (ibase) extension (for the purposes
of this exercise it could just as well be mysql) without installing firebird
on the local machine (i'm moving the DB to a seperate server) ...

I can't figure out how to do this apart from installing firebird, building php
then removing firebird again - although I'm not sure this would even work.

Does anyone know the correct way to go about such a thing?

TIA

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: building php with DB extension without installing DB

am 22.01.2008 13:23:14 von Lens Development

Quoting Jochem Maas :

> hi guys,
>
> I want to build php with firebirdDB (ibase) extension (for the purposes
> of this exercise it could just as well be mysql) without installing firebird
> on the local machine (i'm moving the DB to a seperate server) ...
>
> I can't figure out how to do this apart from installing firebird,
> building php
> then removing firebird again - although I'm not sure this would even work.
>
> Does anyone know the correct way to go about such a thing?
>
> TIA

Think it's the same as compiling with the mysql extension. You need
the client libraries to build PHP. So just install the firebird client
and compile against that. That should work .. right?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: building php with DB extension without installing DB locally

am 22.01.2008 15:38:22 von Jochem Maas

dev@lenss.nl schreef:
> Quoting Jochem Maas :
>
>> hi guys,
>>
>> I want to build php with firebirdDB (ibase) extension (for the purposes
>> of this exercise it could just as well be mysql) without installing
>> firebird
>> on the local machine (i'm moving the DB to a seperate server) ...
>>
>> I can't figure out how to do this apart from installing firebird,
>> building php
>> then removing firebird again - although I'm not sure this would even
>> work.
>>
>> Does anyone know the correct way to go about such a thing?
>>
>> TIA
>
> Think it's the same as compiling with the mysql extension. You need the
> client libraries to build PHP. So just install the firebird client and
> compile against that. That should work .. right?

right! I wasn't thinking - it never occurred to me I could install the client libs
without the [db] server a quick look with 'apt-cache search' comfirms that I can.

thanks for the wake up call :-)

>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: building php with DB extension without installing DB

am 22.01.2008 15:45:10 von Lens Development

Quoting Jochem Maas :

> dev@lenss.nl schreef:
>> Quoting Jochem Maas :
>>
>>> hi guys,
>>>
>>> I want to build php with firebirdDB (ibase) extension (for the purposes
>>> of this exercise it could just as well be mysql) without =20
>>> installing firebird
>>> on the local machine (i'm moving the DB to a seperate server) ...
>>>
>>> I can't figure out how to do this apart from installing firebird, =20
>>> building php
>>> then removing firebird again - although I'm not sure this would even wor=
k.
>>>
>>> Does anyone know the correct way to go about such a thing?
>>>
>>> TIA
>>
>> Think it's the same as compiling with the mysql extension. You need =20
>> the client libraries to build PHP. So just install the firebird =20
>> client and compile against that. That should work .. right?
>
> right! I wasn't thinking - it never occurred to me I could install the
> client libs
> without the [db] server a quick look with 'apt-cache search' comfirms
> that I can.
>
> thanks for the wake up call :-)
>

np :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: building php with DB extension without installing DB locally

am 22.01.2008 20:43:55 von Richard Lynch

On Tue, January 22, 2008 5:04 am, Jochem Maas wrote:
> I want to build php with firebirdDB (ibase) extension (for the
> purposes
> of this exercise it could just as well be mysql) without installing
> firebird
> on the local machine (i'm moving the DB to a seperate server) ...
>
> I can't figure out how to do this apart from installing firebird,
> building php
> then removing firebird again - although I'm not sure this would even
> work.
>
> Does anyone know the correct way to go about such a thing?

In order to compile, you need AT LEAST the client headers, sometimes
referred to as the "-devel" package in RPMs.

It will probably be easiest to just install/uninstall, though...

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php