Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installs php7.4 but looking for php7.2 #1753

Closed
DeltaKiloz opened this issue Apr 29, 2020 · 4 comments
Closed

Installs php7.4 but looking for php7.2 #1753

DeltaKiloz opened this issue Apr 29, 2020 · 4 comments

Comments

@DeltaKiloz
Copy link

I get the following error when the script installs the web.sh module:

Installing Nginx (web server)...
Traceback (most recent call last):
File "tools/editconf.py", line 71, in
input_lines = list(open(filename))
FileNotFoundError: [Errno 2] No such file or directory: '/etc/php/7.2/fpm/php.ini'

The script installs the latest version of php which is 7.4, however the web.sh script has hard references to php7.2 which doesn't exist during the installation.

@JoshData
Copy link
Member

Are you setting up Mail-in-a-Box on a normal Ubuntu 18.04 system?

@DeltaKiloz
Copy link
Author

Yes, a digitalocean Ubuntu 18.04 server.

@DeltaKiloz
Copy link
Author

I did a fresh spin up of another Digitalocean Ubuntu 18.04 server and this seems to have cleared our this error. However, I had this error when it was installing Nextcloud:

Installing Nextcloud (contacts/calendar)...
FAILED: apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install php php-fpm php-cli php-sqlite3 php-gd php-imap php-curl php-pear curl php-dev php-gd php-xml php-mbstring php-zip php-apcu php-json php- intl php-imagick

I just re-ran the start.sh script and it finished the install without anymore issues and I did not see either the original php error nor this one.

@tweenietomatoes
Copy link

it means that you tried to install mailinabox in a server with existing php installation with php packages from somewhere else.

@JoshData JoshData closed this as completed Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants