I have a Macbook which I recently upgraded from OSX 10.10 to 10.11
At one point, I had apache2 and php5 installed and working. I hadn't
tried using them in some time and apparently in the mean time fink had
made some package changes. I needed to make several changes to
/sw/etc/apache2/mods-enabled to even get apache to start. I now have
$ ls /sw/etc/apache2/mods-enabled/
access_compat.load deflate.conf negotiation.conf
alias.conf deflate.load negotiation.load
alias.load dir.conf rewrite.load
auth_basic.load dir.load setenvif.conf
authn_core.load env.load setenvif.load
authn_file.load filter.load socache_shmcb.load
authz_core.load include.load ssl.conf
authz_groupfile.load info.conf ssl.load
authz_host.load info.load status.conf
authz_user.load mime.conf status.load
autoindex.conf mime.load wsgi.conf
autoindex.load mpm_prefork.conf wsgi.load
cgi.load mpm_prefork.load
(note mpm_prefork) and apache will start and run, However I don't have
mod-php5.
$ fink list -i php5
Information about 10079 packages read in 1 seconds.
i php5-common 5.4.4-5 Common files for the PHP5 suite
i php5-mysql 5.4.4-5 MySQL module for php5
When I try to install I get
$ sudo fink install php5
Information about 10079 packages read in 0 seconds.
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) libapache2-mod-php5: PHP5 Apache 2 module
(2) libapache2-mod-php5filter: PHP5 Apache 2 filter module
(3) php5-cgi: PHP5 CGI binary
(4) php5-fpm: PHP5 FPM-CGI binary
Pick one: [1] 1
Can't resolve dependency "apache2-mpm-prefork" for package
"libapache2-mod-php5-5.4.4-5" (no matching packages/versions found)
Exiting with failure.
There is no separate apache2-mpm-prefork package
$ fink list apache2
Information about 10079 packages read in 1 seconds.
i apache2 2.4.23-5.4 Apache HTTP Server
p apache2-api-201 [virtual package]
i apache2-bin 2.4.23-5.4 Apache HTTP Server (binary files and
modu...
i apache2-data 2.4.23-5.4 Apache HTTP Server (common files)
i apache2-dev 2.4.23-5.4 Apache HTTP Server (development headers)
apache2-doc 2.4.23-5.4 Apache HTTP Server (on-site
documentation)
apache2-suexec [virtual package]
apache2-suexec- 2.4.23-5.4 Apache configurable suexec for mod_suexec
apache2-suexec- 2.4.23-5.4 Apache standard suexec for mod_suexec
i apache2-utils 2.4.23-5.4 Apache2 (utility programs for webservers)
p dh-apache2 [virtual package]
libapache2-mod- 5.4.4-5 PHP5 Apache 2 module
libapache2-mod- 5.4.4-5 PHP5 Apache 2 filter module
even though I have
$ ll /sw/lib/apache2/modules/mod_mpm_prefork.so
-rwxr-xr-x 1 root admin 36176 Nov 6 12:11
/sw/lib/apache2/modules/mod_mpm_prefork.so
Can anyone tell me how to get php5 installed and working with apache?
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners