[MacPorts] #25890: php5 5.3.2_1 CGI install without Apache fails
#25890: php5 5.3.2_1 CGI install without Apache fails ---------------------------------------+------------------------------------ Reporter: ioweurwioe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: php5 ---------------------------------------+------------------------------------ I wanted to install PHP5 CGI, without Apache. It compiled successfully, but then tripped on lack of Apache: {{{ sudo port install php5 -apache2 +cgi … If this is your first install, you need to activate PHP in your web server. To enable PHP in Apache, run Error: Target org.macports.activate returned: can't read "moduledir": no such variable Log for php5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/main.log Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/25890> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25890: php5 5.3.2_1 CGI install without Apache fails ---------------------------------------+------------------------------------ Reporter: ioweurwioe@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: php5 ---------------------------------------+------------------------------------ Changes (by blb@…): * cc: jwa@… (added) * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <http://trac.macports.org/ticket/25890#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25890: php5, php5-devel fails when using -apache2 ---------------------------------------+------------------------------------ Reporter: ioweurwioe@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: php5, php5-devel ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: new => assigned * port: php5 => php5, php5-devel Comment: The php5 port has no variant called "+cgi". See "port variants php5". You want: {{{ sudo port install php5 +fastcgi }}} So our error is that we don't prevent you from installing when you've explicitly unselected the apache2 variant and haven't selected the +fastcgi or +no_web variants. Perhaps the +no_web variant should just go away, now that we are using registry 2.0 which can remember deselected variants. -- Ticket URL: <http://trac.macports.org/ticket/25890#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25890: php5, php5-devel fails when using -apache2 ----------------------------------------+----------------------------------- Reporter: ioweurwioe@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: php5, php5-devel | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: This is solved in the new php port which has subports instead of variants for each SAPI. -- Ticket URL: <https://trac.macports.org/ticket/25890#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts