Skip to content
Permalink
Browse files

Port: php5

Version:	5.1.1
Bug:		https://trac.macports.org/ticket/4010

Update port www/php5
Correct some post-install messages to have correct paths

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15422 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
blb committed Dec 11, 2005
1 parent a08b200 commit 0e522d29754565841dc1238fbd438413c3620c6e
Showing with 5 additions and 5 deletions.
  1. +5 −5 www/php5/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.15 2005/11/29 19:59:27 mww Exp $
# $Id: Portfile,v 1.16 2005/12/11 09:40:44 blb Exp $

PortSystem 1.0

@@ -193,19 +193,19 @@ post-destroot {
}

post-install {
ui_msg "\nIf this your first install, you might want"
ui_msg "\nIf this is your first install, you might want"

if { [variant_isset apache] } {
ui_msg " * enable php in apache :\n"

ui_msg "cd ${prefix}/libexec/apache"
ui_msg "apxs -a -e -n \"php5\" libphp5.so\n"
ui_msg "${prefix}/apache/bin/apxs -a -e -n \"php5\" libphp5.so\n"
ui_msg "* copy ${prefix}/etc/php.ini-dist to ${prefix}/etc/php.ini"
}

if { [variant_isset apache2] } {
ui_msg "cd ${prefix}/apache2/libs"
ui_msg "apxs -a -e -n \"php5\" libphp5.so\n"
ui_msg "cd ${prefix}/apache2/modules"
ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"php5\" libphp5.so\n"
ui_msg "* copy ${prefix}/etc/php.ini-dist to ${prefix}/etc/php.ini"
}

0 comments on commit 0e522d2

Please sign in to comment.
You can’t perform that action at this time.