try to install mysql5 + php5 + apache2

Takashi Yoshida tyoshida at mac.com
Sun Feb 24 17:37:32 PST 2008


You need to modify your /opt/local/apache2/conf/httpd.conf to include  
your PHP5 configuration file. I'm not at my own machine now but if you  
read the httpd.conf file it should be easy to figure it out.

I think PHP5 configuration file is at extras-conf directory under /opt/ 
local/apache2/conf.

Sent from my iPhone

On 25-Feb-08, at 09:19, Jean-Luc BERTé <jean-luc.berte at laposte.net>  
wrote:

>
> Le 24 févr. 08 à 13:30, Takashi Yoshida a écrit :
>
>>> * copy  /opt/local/etc/php.ini-dist to  /opt/local/etc/php.ini
>
>
> Yes, i have made all :
>
> $ cd /opt/local/apache2/bin
> $ sudo ./apachetcl start
> $ sudo -u mysql mysql_install_db5
>
> $ cd /opt/local/apache2/modules
> $ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
>
> [activating module `php5' in /opt/local/apache2/conf/httpd.conf]
>
> $ * copy  /opt/local/etc/php.ini-dist to  /opt/local/etc/php.ini
>
> -bash: httpd.exp: command not found
>
> i tried  to copy and rename php.ini-dist to php.ini in the /opt/ 
> local/etc folder too but php5 doesn't work
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080225/ef6ea15f/attachment.html 


More information about the macports-users mailing list