1 | $ sudo port install php55-apache2handler |
---|
2 | Password: |
---|
3 | ---> Computing dependencies for php55-apache2handler |
---|
4 | ---> Dependencies to be installed: apache2 gsed libxml2 mhash php55 php_select |
---|
5 | ---> Fetching archive for apache2 |
---|
6 | ---> Attempting to fetch apache2-2.2.25_0+preforkmpm.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/apache2 |
---|
7 | ---> Attempting to fetch apache2-2.2.25_0+preforkmpm.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/apache2 |
---|
8 | ---> Attempting to fetch apache2-2.2.25_0+preforkmpm.darwin_13.x86_64.tbz2 from http://packages.macports.org/apache2 |
---|
9 | ---> Fetching distfiles for apache2 |
---|
10 | ---> Attempting to fetch httpd-2.2.25.tar.bz2 from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/apache2 |
---|
11 | ---> Verifying checksums for apache2 |
---|
12 | ---> Extracting apache2 |
---|
13 | ---> Applying patches to apache2 |
---|
14 | ---> Configuring apache2 |
---|
15 | ---> Building apache2 |
---|
16 | ---> Staging apache2 into destroot |
---|
17 | ---> Creating launchd control script |
---|
18 | ########################################################### |
---|
19 | # A startup item has been generated that will aid in |
---|
20 | # starting apache2 with launchd. It is disabled |
---|
21 | # by default. Execute the following command to start it, |
---|
22 | # and to cause it to launch at startup: |
---|
23 | # |
---|
24 | # sudo port load apache2 |
---|
25 | ########################################################### |
---|
26 | Warning: apache2 installs files outside the common directory structure. |
---|
27 | ---> Installing apache2 @2.2.25_0+preforkmpm |
---|
28 | ---> Activating apache2 @2.2.25_0+preforkmpm |
---|
29 | ---> Cleaning apache2 |
---|
30 | ---> Fetching archive for gsed |
---|
31 | ---> Attempting to fetch gsed-4.2.2_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gsed |
---|
32 | ---> Attempting to fetch gsed-4.2.2_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gsed |
---|
33 | ---> Attempting to fetch gsed-4.2.2_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/gsed |
---|
34 | ---> Fetching distfiles for gsed |
---|
35 | ---> Attempting to fetch sed-4.2.2.tar.gz from ftp://ftp.lip6.fr/pub/gnu/sed |
---|
36 | ---> Verifying checksums for gsed |
---|
37 | ---> Extracting gsed |
---|
38 | ---> Configuring gsed |
---|
39 | ---> Building gsed |
---|
40 | ---> Staging gsed into destroot |
---|
41 | ---> Installing gsed @4.2.2_0 |
---|
42 | ---> Activating gsed @4.2.2_0 |
---|
43 | ---> Cleaning gsed |
---|
44 | ---> Fetching archive for libxml2 |
---|
45 | ---> Attempting to fetch libxml2-2.9.1_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/libxml2 |
---|
46 | ---> Attempting to fetch libxml2-2.9.1_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libxml2 |
---|
47 | ---> Attempting to fetch libxml2-2.9.1_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/libxml2 |
---|
48 | ---> Fetching distfiles for libxml2 |
---|
49 | ---> Attempting to fetch libxml2-2.9.1.tar.gz from http://xmlsoft.org/sources/ |
---|
50 | ---> Verifying checksums for libxml2 |
---|
51 | ---> Extracting libxml2 |
---|
52 | ---> Configuring libxml2 |
---|
53 | ---> Building libxml2 |
---|
54 | ---> Staging libxml2 into destroot |
---|
55 | ---> Installing libxml2 @2.9.1_0 |
---|
56 | ---> Activating libxml2 @2.9.1_0 |
---|
57 | ---> Cleaning libxml2 |
---|
58 | ---> Fetching archive for mhash |
---|
59 | ---> Attempting to fetch mhash-0.9.9.9_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/mhash |
---|
60 | ---> Attempting to fetch mhash-0.9.9.9_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/mhash |
---|
61 | ---> Attempting to fetch mhash-0.9.9.9_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/mhash |
---|
62 | ---> Fetching distfiles for mhash |
---|
63 | ---> Attempting to fetch mhash-0.9.9.9.tar.bz2 from http://freefr.dl.sourceforge.net/project/mhash/mhash/0.9.9.9 |
---|
64 | ---> Verifying checksums for mhash |
---|
65 | ---> Extracting mhash |
---|
66 | ---> Configuring mhash |
---|
67 | ---> Building mhash |
---|
68 | ---> Staging mhash into destroot |
---|
69 | ---> Installing mhash @0.9.9.9_0 |
---|
70 | ---> Activating mhash @0.9.9.9_0 |
---|
71 | ---> Cleaning mhash |
---|
72 | ---> Fetching archive for php_select |
---|
73 | ---> Attempting to fetch php_select-1.0_0.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/php_select |
---|
74 | ---> Attempting to fetch php_select-1.0_0.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php_select |
---|
75 | ---> Attempting to fetch php_select-1.0_0.darwin_13.noarch.tbz2 from http://packages.macports.org/php_select |
---|
76 | ---> Fetching distfiles for php_select |
---|
77 | ---> Verifying checksums for php_select |
---|
78 | ---> Extracting php_select |
---|
79 | ---> Configuring php_select |
---|
80 | ---> Building php_select |
---|
81 | ---> Staging php_select into destroot |
---|
82 | ---> Installing php_select @1.0_0 |
---|
83 | ---> Activating php_select @1.0_0 |
---|
84 | ---> Cleaning php_select |
---|
85 | ---> Fetching archive for php55 |
---|
86 | ---> Attempting to fetch php55-5.5.5_0+libedit.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/php55 |
---|
87 | ---> Attempting to fetch php55-5.5.5_0+libedit.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php55 |
---|
88 | ---> Attempting to fetch php55-5.5.5_0+libedit.darwin_13.x86_64.tbz2 from http://packages.macports.org/php55 |
---|
89 | ---> Fetching distfiles for php55 |
---|
90 | ---> Attempting to fetch php-5.5.5.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/php5 |
---|
91 | ---> Verifying checksums for php55 |
---|
92 | ---> Extracting php55 |
---|
93 | ---> Applying patches to php55 |
---|
94 | ---> Configuring php55 |
---|
95 | ---> Building php55 |
---|
96 | ---> Staging php55 into destroot |
---|
97 | ---> Installing php55 @5.5.5_0+libedit |
---|
98 | ---> Activating php55 @5.5.5_0+libedit |
---|
99 | |
---|
100 | To customize php55, copy /opt/local/etc/php55/php.ini-development (if this is a development server) or |
---|
101 | /opt/local/etc/php55/php.ini-production (if this is a production server) to /opt/local/etc/php55/php.ini and then |
---|
102 | make changes. |
---|
103 | |
---|
104 | ---> Cleaning php55 |
---|
105 | ---> Fetching archive for php55-apache2handler |
---|
106 | ---> Attempting to fetch php55-apache2handler-5.5.5_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/php55-apache2handler |
---|
107 | ---> Attempting to fetch php55-apache2handler-5.5.5_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php55-apache2handler |
---|
108 | ---> Attempting to fetch php55-apache2handler-5.5.5_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/php55-apache2handler |
---|
109 | ---> Fetching distfiles for php55-apache2handler |
---|
110 | ---> Verifying checksums for php55-apache2handler |
---|
111 | ---> Extracting php55-apache2handler |
---|
112 | ---> Applying patches to php55-apache2handler |
---|
113 | ---> Configuring php55-apache2handler |
---|
114 | ---> Building php55-apache2handler |
---|
115 | ---> Staging php55-apache2handler into destroot |
---|
116 | Warning: php55-apache2handler installs files outside the common directory structure. |
---|
117 | ---> Installing php55-apache2handler @5.5.5_0 |
---|
118 | ---> Activating php55-apache2handler @5.5.5_0 |
---|
119 | |
---|
120 | If this is your first install, you need to enable php55-apache2handler in your web server. |
---|
121 | |
---|
122 | To enable php55-apache2handler, run: |
---|
123 | |
---|
124 | cd /opt/local/apache2/modules |
---|
125 | sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php55.so |
---|
126 | |
---|
127 | ---> Cleaning php55-apache2handler |
---|
128 | ---> Updating database of binaries: 100.0% |
---|
129 | ---> Scanning binaries for linking errors: 100.0% |
---|
130 | ---> No broken files found. |
---|
131 | $ cd /opt/local/apache2/modules |
---|
132 | $ sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php55.so |
---|
133 | [activating module `php5' in /opt/local/apache2/conf/httpd.conf] |
---|
134 | $ sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart |
---|
135 | $ ps -afx | grep apache2 |
---|
136 | 0 2016 1 0 11:23AM ?? 0:00.18 /opt/local/apache2/bin/httpd -k start |
---|
137 | 0 85991 1 0 12:03PM ?? 0:00.01 /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart ; --pid=none |
---|
138 | 70 86054 2016 0 12:06PM ?? 0:00.00 /opt/local/apache2/bin/httpd -k start |
---|
139 | 70 86055 2016 0 12:06PM ?? 0:00.00 /opt/local/apache2/bin/httpd -k start |
---|
140 | 70 86056 2016 0 12:06PM ?? 0:00.00 /opt/local/apache2/bin/httpd -k start |
---|
141 | 70 86057 2016 0 12:06PM ?? 0:00.00 /opt/local/apache2/bin/httpd -k start |
---|
142 | 70 86058 2016 0 12:06PM ?? 0:00.00 /opt/local/apache2/bin/httpd -k start |
---|
143 | 70 86083 2016 0 12:06PM ?? 0:00.00 /opt/local/apache2/bin/httpd -k start |
---|
144 | $ nmap localhost |
---|
145 | |
---|
146 | Starting Nmap 6.40 ( http://nmap.org ) at 2013-11-03 12:03 CET |
---|
147 | Nmap scan report for localhost (127.0.0.1) |
---|
148 | Host is up (0.0016s latency). |
---|
149 | Not shown: 499 closed ports, 499 filtered ports |
---|
150 | PORT STATE SERVICE |
---|
151 | 80/tcp open http |
---|
152 | 631/tcp open ipp |
---|
153 | |
---|
154 | |
---|