Connecting Tech Pros Worldwide Forums | Help | Site Map

SQLite installation php4 OSX

Richard Hulbert
Guest
 
Posts: n/a
#1: Jul 21 '05
Hi there all

I am trying to get SQLite working with php4 I have installed using the
command line 'pear install SQLite' - so far so good. this is supposed to
(as I understand it) DL the package install it and mod php.ini.

However when I run phpinfo() it does not seem to be installed.


Any help greatly appreciated

Richard

Scott Auge
Guest
 
Posts: n/a
#2: Jul 21 '05

re: SQLite installation php4 OSX


In article <2005071916544816807%richard@richardhulbertcom>,
Richard Hulbert <richard@richardhulbert.com> wrote:
[color=blue]
> Hi there all
>
> I am trying to get SQLite working with php4 I have installed using the
> command line 'pear install SQLite' - so far so good. this is supposed to
> (as I understand it) DL the package install it and mod php.ini.
>
> However when I run phpinfo() it does not seem to be installed.
>
>
> Any help greatly appreciated
>
> Richard[/color]

I think it is PHP 5 that has the SQLite built in.

You will need to build php 5 from source and install it on your apple.
Apple is still distributing PHP 4.

developer.apple.com has some articles on building from source. Just do
a search on PHP on that page and bunch of articles will come up.

Watch out for software updates regarding PHP from apple, it will
overwrite your install. It is worth writing down the steps!
Richard Hulbert
Guest
 
Posts: n/a
#3: Jul 21 '05

re: SQLite installation php4 OSX


On 2005-07-19 18:57:40 +0100, Scott Auge <scott_auge@yahoo.com> said:
[color=blue]
> In article <2005071916544816807%richard@richardhulbertcom>,
> Richard Hulbert <richard@richardhulbert.com> wrote:
>[color=green]
>> Hi there all
>>
>> I am trying to get SQLite working with php4 I have installed using the
>> command line 'pear install SQLite' - so far so good. this is supposed
>> to (as I understand it) DL the package install it and mod php.ini.
>>
>> However when I run phpinfo() it does not seem to be installed.
>>
>>
>> Any help greatly appreciated
>>
>> Richard[/color]
>
> I think it is PHP 5 that has the SQLite built in.
>
> You will need to build php 5 from source and install it on your apple.
> Apple is still distributing PHP 4.
>
> developer.apple.com has some articles on building from source. Just do
> a search on PHP on that page and bunch of articles will come up.
>
> Watch out for software updates regarding PHP from apple, it will
> overwrite your install. It is worth writing down the steps![/color]

hey Scott thanks but you can load the extension dynamically using php.ini

http://www.phpbuilder.com/columns/fa...24.php3?page=1

I worked out what was not working it was the path to the extension.
PECL Rocks!!!

thanks for your time



richard


Scott Auge
Guest
 
Posts: n/a
#4: Jul 21 '05

re: SQLite installation php4 OSX


In article <2005071919552716807%richard@richardhulbertcom>,
Richard Hulbert <richard@richardhulbert.com> wrote:
[color=blue]
> On 2005-07-19 18:57:40 +0100, Scott Auge <scott_auge@yahoo.com> said:
>[color=green]
> > In article <2005071916544816807%richard@richardhulbertcom>,
> > Richard Hulbert <richard@richardhulbert.com> wrote:
> >[color=darkred]
> >> Hi there all
> >>
> >> I am trying to get SQLite working with php4 I have installed using the
> >> command line 'pear install SQLite' - so far so good. this is supposed
> >> to (as I understand it) DL the package install it and mod php.ini.
> >>
> >> However when I run phpinfo() it does not seem to be installed.
> >>
> >>
> >> Any help greatly appreciated
> >>
> >> Richard[/color]
> >
> > I think it is PHP 5 that has the SQLite built in.
> >
> > You will need to build php 5 from source and install it on your apple.
> > Apple is still distributing PHP 4.
> >
> > developer.apple.com has some articles on building from source. Just do
> > a search on PHP on that page and bunch of articles will come up.
> >
> > Watch out for software updates regarding PHP from apple, it will
> > overwrite your install. It is worth writing down the steps![/color]
>
> hey Scott thanks but you can load the extension dynamically using php.ini
>
> http://www.phpbuilder.com/columns/fa...24.php3?page=1
>
> I worked out what was not working it was the path to the extension.
> PECL Rocks!!!
>
> thanks for your time
>
>
>
> richard[/color]

Ah... didn't know you could do that with php.ini - you have taught me
something... I will be reading that link!
Closed Thread