Connecting Tech Pros Worldwide Help | Site Map

Macosx and phpMyAdmin installation

  #1  
Old July 17th, 2005, 11:50 AM
opal7313@yahoo.fr
Guest
 
Posts: n/a
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

  #2  
Old July 17th, 2005, 11:50 AM
Erik Wessel-Berg
Guest
 
Posts: n/a

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
  #3  
Old July 17th, 2005, 11:50 AM
opal7313@yahoo.fr
Guest
 
Posts: n/a

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

  #4  
Old July 17th, 2005, 11:50 AM
Jan Pieter Kunst
Guest
 
Posts: n/a

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:

http://www.entropy.ch/software/macosx/php/

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.
  #5  
Old July 17th, 2005, 11:50 AM
Erik Wessel-Berg
Guest
 
Posts: n/a

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
Closed Thread