try to install mysql5 + php5 + apache2

Ryan Schmidt ryandesign at macports.org
Sun Feb 24 21:02:19 PST 2008


On Feb 24, 2008, at 20:05, Jean-Luc BERTé wrote:

> I try to do what you say :
>
> in extras-conf i found "mod_php.conf" witch contains :
>
> <IfModule mod_php5.c>
>
> AddType  application/x-httpd-php         .php
> AddType  application/x-httpd-php-source  .phps
>
> </IfModule>
>
> and i paste it at the end of httpd.conf
>
> $ * copy  /opt/local/etc/php.ini-dist to  /opt/local/etc/php.ini
>
> -bash: extra: command not found

You're not supposed to type the asterisk at the command line. Just type:

sudo copy /opt/local/etc/php.ini-dist to /opt/local/etc/php.ini


> i stopped and re-start apache2
>
>
> ***WONDERFULL !!!  ITS WORKS !!! ****
>
> *** GREAT THANKS ***

Great!



More information about the macports-users mailing list