PHP on Apache2 no longer works after ISPconfig
After installing ISPconfig, my Apache2 stopped processing PHP, not even phpinfo(); I was under the impression that I would have 2 web servers (an Apache 1.3 and an Apache 2) running independently from each other; my Apache2 was working fine with PHP all the way up to starting ISPconfig the first time; at that time, the Apache2 server kept on running but if no longer understood PHP. What am I missing?
NIC1: eth0 192.168.2.101 - eth0:0 192.168.2.102
NIC2: eth1 192.168.2.201
When the ISPconfig setup asked me for the host/domain I gave it www.blabla.com (the same I was running on Apache2) and when it asked me for an IP, I gave it 192.168.2.201
Thanks in advance for any ideias!
Have a look at this thread, starting with post #5: http://www.howtoforge.com/forums/showthread.php?t=144
Thanks, but maybe I did not make myself clear for the post you sent me to does not help at all! Maybe if I knew the answer to the following question I would be able to undertand how this all thing works: Why does php stop working on my site after installing ispconfig? If I did http://www.mysite.com/info.php it would display the php info; after installing ispconfig, it still sees the page info.php but the only thing that comes up is <? phpinfo(); ?> and not the result of executing the function, which means that it stopped processing php. Thanks very much!
Have you read the post falko posted above? It esplains exactly which settings are changed.
If you change the things described there, your webpages will work again and ISPConfig will not be able anymore to configure PHP on your server. The ISPConfig installer has to remove the PHP settings in your httpd.conf to be able to enable PHP on a per vhost basis.
Here is the simple solution:
1. Make a copy of /etc/httpd/conf/mines.types before installing ispconfig.
2. Make a copy of /etc/httpd/modules.d/70_mod_php.conf before installing ispconfig.
3. Install ispconfig.
4. Restore the files backed up on steps 1 and 2.
Thanks for your help!
I have a similar question.
I am just moving mz data from one server to another and actually everything works so far. only one problem occured so far:
when movin /var/www/webmail which contains my webmail folder (squirrelmail) it does not work anymore.
exactly this happens:
I got to http://mail.casacarolina.de and choose squirrelmail which should bring me to the login page of squirrelmail, but instead the php code is displayed. if I manually navigate to squirrelmail: http://mail.casacarolina.de/squirrelmail/src/login.php it works, so this does not look like a generic php problem.
also if I put a info.php file containing
any idea where to start looking for the problem?
I found the error: there was a space after ?> although I have no clue how that could happen, as I followed the instructions from this forum how to move folders and maintaining the owners and properties of folders...
|All times are GMT +2. The time now is 03:42.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.