PDA

View Full Version : PHP doesn't work!


JimmiJames
29th January 2007, 21:03
I followed the SuSE 10.2 perfect setup for a new server.

I enable php for each website in ISPconfig but the php pages won't work.

The only error I found is when I try to restart php manually. I also have to mention that I changed the server to an external IP. The IP in the error message is the old one.


darwin:~ # /etc/init.d/apache2 restart
[Mon Jan 29 13:48:41 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:41 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:41 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:41 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:41 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:41 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:41 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Mon Jan 29 13:48:42 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:42 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:42 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:42 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:42 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:42 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Jan 29 13:48:42 2007] [warn] VirtualHost 192.10.10.167:80 overlaps with VirtualHost 192.10.10.167:80, the first has precedence, perhaps you need a NameVirtualHost directive
done

falko
30th January 2007, 13:30
Take a look here: http://www.howtoforge.com/forums/showthread.php?t=9778&highlight=opensuse+10.2+php