Installing OpenSuse with Nginx and PHP/MySQL

Discussion in 'Installation/Configuration' started by sebasjuh, Jun 28, 2011.

  1. sebasjuh

    sebasjuh New Member

    Hello,

    I'm totally new to OpenSuse and just experimenting with the OS.
    I followed this tutorial;
    http://www.howtoforge.net/installing-nginx-with-php5-and-php-fpm-and-mysql-support-on-opensuse-11.4

    on how to install nginx with php5 and mysql on OpenSuse and everything went fine. And all the pages are loading on the same server.

    Except when I try to open the index.php with: http://ip/index.php on another computer in the same network it doesn't load the index.php file. It says "This page cannot be loaded". But I can ping the OpenSuse computer from the other pc.

    Is there still a setting you need to change in a config file on OpenSuse or Nginx so that the webserver is accessible from all the other computer in the network?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you have this problem only for index.php, or for other files as well?

    What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    iptables -L
    ?
     
  3. Jawshh

    Jawshh New Member

    External access to port 80 is being blocked.

    Code:
    iptables -F
    to flush all rules so you can configure from scratch.
     
  4. sebasjuh

    sebasjuh New Member

    Sorry for the late reply but the problem was the firewall traffic other than the localhost was blocked. I changed it and now it's working like a charm.
     

Share This Page