Macosx and phpMyAdmin installation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • opal7313@yahoo.fr

    Macosx and phpMyAdmin installation

    Hello,

    I have some difficulties to use phpMyAdmin on my ppc; I am working on
    panther 10.3.7 and php is already installed. I put phpMyAdmin directory
    in /Library/WebServer/Documents/ ; I adapted the config.inc.php of this
    application to have the good authorizations, the absolute uri... I
    check the httpd.conf to see if option to execute php were ok :
    apparently they were but.... when I tryied to open on a browser the url
    http://HOME/phpMyAdmin/index.php : I just manage to open the code
    source without the ability to interprete it....
    I made a mistake but where? Is there some crucial points to verify in
    httpd.conf ...
    any hepl is welcome!!

    Line

  • Erik Wessel-Berg

    #2
    Re: Macosx and phpMyAdmin installation

    <opal7313@yahoo .fr> wrote:
    [color=blue]
    > Hello,
    >
    > I have some difficulties to use phpMyAdmin on my ppc; I am working on
    > panther 10.3.7 and php is already installed. I put phpMyAdmin directory
    > in /Library/WebServer/Documents/ ; I adapted the config.inc.php of this
    > application to have the good authorizations, the absolute uri... I
    > check the httpd.conf to see if option to execute php were ok :
    > apparently they were but.... when I tryied to open on a browser the url
    > http://HOME/phpMyAdmin/index.php : I just manage to open the code
    > source without the ability to interprete it....
    > I made a mistake but where? Is there some crucial points to verify in
    > httpd.conf ...
    > any hepl is welcome!!
    >[/color]
    PHP is disabled by default in OS X. You need to enable it in
    /etc/httpd/httpd.conf

    Using your favorite text-editor on httpd.conf, find the lines:
    #LoadModule php4_module libexec/httpd/libphp4.so
    and
    #AddModule mod_php4.c

    uncomment these, save, and restart web-server

    --
    erik

    Comment

    • opal7313@yahoo.fr

      #3
      Re: Macosx and phpMyAdmin installation

      Thanks!
      But I have a little problem : I do not have libphp4.so ! I try to find
      libphp4.so.gz but all the sites are not maintained aymore!....
      What can I do?

      Lynn

      Comment

      • Jan Pieter Kunst

        #4
        Re: Macosx and phpMyAdmin installation

        opal7313@yahoo. fr wrote:[color=blue]
        > Thanks!
        > But I have a little problem : I do not have libphp4.so ! I try to find
        > libphp4.so.gz but all the sites are not maintained aymore!....[/color]

        In my Mac OS X (10.3.6) the Apple provided libphp4.so is here:

        /usr/libexec/httpd/libphp4.so

        But I use the PHP distribution from Marc Liyanage:



        which is much more complete and up to date. Has a standard graphical
        installer.

        JP

        --
        Sorry, <devnull@cauce. org> is a spam trap.
        Real e-mail address unavailable. 5000+ spams per month.

        Comment

        • Erik Wessel-Berg

          #5
          Re: Macosx and phpMyAdmin installation

          Jan Pieter Kunst <devnull@cauce. org> wrote:
          [...][color=blue]
          > But I use the PHP distribution from Marc Liyanage:
          >
          > http://www.entropy.ch/software/macosx/php/
          >
          > which is much more complete and up to date. Has a standard graphical
          > installer.
          >[/color]
          Yes, Marc's package is excellent. That's the one I'm using on all my
          Mac's.

          --
          erik

          Comment

          Working...