HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   How can I get PHP to work after ISPConfig Install (http://www.howtoforge.com/forums/showthread.php?t=1180)

alvadore 8th November 2005 19:33

How can I get PHP to work after ISPConfig Install
 
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

flourishing 8th November 2005 20:09

because the ispconfig shutoff the php .

you can create a new website and enabled php from ispconfig.

alvadore 8th November 2005 20:14

Quote:

Originally Posted by flourishing
because the ispconfig shutoff the php .

you can create a new website and enabled php from ispconfig.


Quote:

Originally Posted by alvadore
PHP would not work, (despite enabling PHP for the site)

PHP was enabled for the site, I actually tried it several times, failed to work each time.

falko 8th November 2005 20:17

From http://www.ispconfig.org/manual_installation.htm: :D
Quote:

Important: ISPConfig is meant to be installed on new Linux installations with no web sites, so if you run a server with hundreds of web sites and need a control panel that can take care of those existing web sites, then ISPConfig is not for you!
To your question: Have a look here: http://www.howtoforge.com/forums/showthread.php?t=1098 :)

alvadore 8th November 2005 20:41

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.

falko 8th November 2005 23:02

Quote:

Originally Posted by alvadore
I thin the main thing I'm needing to know is how to get PHP to work in sites created by ISPConfig.

If you have enabled PHP for the web sites in ISPConfig then PHP should work for these sites... :confused:

Quote:

Originally Posted by alvadore
I'm not serving "hundreds of sites" just a handfull (less than twenty). It seems like ISPConfig should be able to handle that easily.

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.

Quote:

Originally Posted by alvadore
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 follow the tutorial step-by-step, then you won't have any problems. :)

alvadore 9th November 2005 00:23

Quote:

Originally Posted by falko
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. :)

azorman 9th November 2005 14:00

http://www.howtoforge.com/forums/showthread.php?t=1098

cmottus 14th October 2007 07:13

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?

till 14th October 2007 15:55

Please make sure that you install mod_php as described in the perfect setup guide for your linux distribution.


All times are GMT +2. The time now is 13:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.