`start-apache` with mod_php fails
glinton opened this issue · 2 comments
glinton commented
boxfile:
run.config:
engine: php
engine.config:
runtime: php-7.0
webserver: apache
apache_php_interpreter: mod_php
error:
/app $ start-apache
cp: cannot stat '/php/dev_php.ini': No such file or directory
ln: failed to create symbolic link '/php.d': Permission denied
httpd: Syntax error on line 33 of /data/etc/httpd/httpd.conf: Cannot load /data/lib/httpd/mod_php5.so into server: /data/lib/httpd/mod_php5.so: cannot open shared object file: No such file or directory
also, shouldn't it be mod_php7.so in the error?
glinton commented
php users may know if php7 and mod_php isn't a thing, but if not, this config file needs updated
danhunsaker commented
There's a mod-php7 available in Ubuntu, so I'd say it's still a thing; updating the config is a good plan. But. FPM is definitely the preferred setup anymore.