I installed ISPConfig finally (after about ten attempts), and it seemed to work great. However, when I relocated an existing site to the web directory I found that PHP would not work, (despite enabling PHP for the site) neither would any of my existing sites (most of which are PHP, all of which are Namedvirtualhosts). So I uninstalled ISPConfig and made the necessary corrections to httpd.conf, php.conf and mime.types. My question is this: How can I install ISPConfig with "functioning" PHP. ISPConfig is a killer app, and I would love to be able to run it since it would save so much time and effort in managing my sites. Perhaps there are some scripts to edit afterward or a file to edit prior to installation? Please help, I'm jonsing for ISPConfig. Thanks in advance, Alvadore
From http://www.ispconfig.org/manual_installation.htm: To your question: Have a look here: http://www.howtoforge.com/forums/showthread.php?t=1098
I thin the main thing I'm needing to know is how to get PHP to work in sites created by ISPConfig. Reinstalling the OS is a definite possibility, so let's not rule that out. I can move the existing sites to another server in the interim, then after reinstalling the OS and ISPConfig and creating sites, move them to their new homes. I'm not serving "hundreds of sites" just a handfull (less than twenty). It seems like ISPConfig should be able to handle that easily. With that in mind, if I install ISPConfig on a freshly installed system and create sites with PHP enabled, will ISPConfig support PHP on those sites? If I do that, I'll use Fedora Core 4 and wll follow the Perfect Server setup.
If you have enabled PHP for the web sites in ISPConfig then PHP should work for these sites... It doesn't matter if it's hundreds of sites or less than twenty. The point is that you cannot import these sites into ISPConfig, unless you create new web sites in ISPConfig and copy the files from the old web sites to their new location. If you follow the tutorial step-by-step, then you won't have any problems.
Well then, looks it's time to reinstall from scratch, make all the sites then move the existing files into place in the sites. I'll post when comepleted. Thanks so much for your help.
PHP doesn't work Hi All, I had a similar as the one previously posted. I have a clean install of ISPconfig. The mail server works great but php doesn't. I have enabled php but when I browse to a page it asks me if I want to download the file instead of running it. This has happened to me a number of times on previous installs. Any suggestions?
Please make sure that you install mod_php as described in the perfect setup guide for your linux distribution.
Still having php issues I am using opensuse10.2. I reinstalled mod_php and it had no effect. It still asks for me to download the php file. Cheers, Cam
And you are sure that you put the .php file in a website directory that has been created by ISPconfig and not somewhere else in /var/www ?
Yes, the path created by ISPconfig is /srv/www/web1/web/index.php . Prior to putting the php file in the directory, I could browse the default ispconfig webpage for my site. You can try accessing the page at www.xyberforge.net BTW, thanks for the help! It is most appreciated. Cam
If upgrading is an option for you, I'd go for OpenSUSE 10.3. So many people (incl. me) had problems with 10.2, whereas 10.3 seems to work nicely (at least so far).
I have Fedora 6 and can't make the php to work, already verify the permissions at the sites, PHP installed according to The perfect LAMPS at Fedora 6, can you help me?
Falko, thanks for your response,yes, I have ISPConfig installed, and the sites have enabled PHP permissions, but still not work
What's in Vhosts_ispconfig.conf? In which directory is it located? Can you go to that directory and post the output of Code: ls -la ?
Vhosts_ispconfig.conf is in /etc/httpd/conf/vhosts the output of ls -la [root@serverayme vhosts]# ls -la total 36 drwxr-xr-x 2 root root 4096 oct 26 06:17 . drwxr-xr-x 3 root root 4096 oct 18 08:21 .. -rwxr-xr-x 1 root root 9390 mar 27 12:17 Vhosts_ispconfig.conf -rwxr-xr-x 1 root root 9573 mar 27 12:17 Vhosts_ispconfig.conf~