1

Topic: nginx and php not works fine

==== REQUIRED BASIC INFO OF MY IREDMAIL SERVER ====
- iRedMail version (0.9.9):
- Installed by  Downloadable installer
- CentOS 7.0:
- MySQL/PGSQL
- Nginx
====

Hi, i have a problem with nginx and php.
After installation , my webserver in http shows Test Page of nginx and https is not wotking. I don't know whats problem.
When i want run a simple php script its getting for download file.
I don't know whats wrong with server . I tried many times after rebuild OS server.
What can i do?

2

Re: nginx and php not works fine

johncole wrote:

After installation , my webserver in http shows Test Page of nginx and https is not wotking. I don't know whats problem.

- Did you choose to install any web application(s) during iRedMail installation?
- What do you mean "https is not working"?

johncole wrote:

When i want run a simple php script its getting for download file.

Did you notice any error message on the console during iRedMail installation?

Maybe you can try to deploy iRedMail server with our iRedMail Easy platform?
https://www.iredmail.org/easy.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: nginx and php not works fine

I didn't test iRedMail Easy , but i tested on CentOS 7.6 and everything works fine . But i don't know why in 7.0 isn't work fine.
I didn't got any error on installation process. just on package can't locate:"unar" .
I chosen nginx web server and MySQL in my installation.

4

Re: nginx and php not works fine

johncole wrote:

When i want run a simple php script its getting for download file.

Did you choose to install any web application during iRedMail installation?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5 (edited by johncole 2019-05-22 15:06:39)

Re: nginx and php not works fine

ZhangHuangbin wrote:
johncole wrote:

When i want run a simple php script its getting for download file.

Did you choose to install any web application during iRedMail installation?

I did all in default selection. Nothing changed.

6

Re: nginx and php not works fine

I'm not asking what configuration/settings you changed.
Did you choose to install any WEB application during iRedMail installation?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee