SQLite installation php4 OSX

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Hulbert

    SQLite installation php4 OSX

    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

    #2
    Re: SQLite installation php4 OSX

    In article <20050719165448 16807%richard@r ichardhulbertco m>,
    Richard Hulbert <richard@richar dhulbert.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!

    Comment

    • Richard Hulbert

      #3
      Re: SQLite installation php4 OSX

      On 2005-07-19 18:57:40 +0100, Scott Auge <scott_auge@yah oo.com> said:
      [color=blue]
      > In article <20050719165448 16807%richard@r ichardhulbertco m>,
      > Richard Hulbert <richard@richar dhulbert.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



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

      thanks for your time



      richard


      Comment

      • Scott Auge

        #4
        Re: SQLite installation php4 OSX

        In article <20050719195527 16807%richard@r ichardhulbertco m>,
        Richard Hulbert <richard@richar dhulbert.com> wrote:
        [color=blue]
        > On 2005-07-19 18:57:40 +0100, Scott Auge <scott_auge@yah oo.com> said:
        >[color=green]
        > > In article <20050719165448 16807%richard@r ichardhulbertco m>,
        > > Richard Hulbert <richard@richar dhulbert.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!

        Comment

        Working...