Hello....Does anyone know why php files wouldn't display on a plesk linux server? Reason being, every time I try to view a php file on my dedicated plesk server it prompts for a file download. If I choose the web browser it loops in a circle.

Would anyone know how I could enable php in plesk? I thought it came standard with linux but there is something now working quite right. Any help would be appreciated.

RJ

    PHP must be installed/compiled and the web-server must be configured to route files with the applicable extension(s) to the PHP parser.

      Thanks for your reply NogDog,

      so how would I go about installing php on a linux server with plesk cpanel? I could get the installer for php I'm assuming and then configure the php.ini file? I thought it already had installed am I incorrect?

        That's something your hosting company should've done.

          they didnt do it. could you possibly lead me in the right direction? I'm using the exclusive IP to view the site because I want to make sure it works before switching the domain.

            Hi. Thanks for your help. I'm making progress and this is where
            ./configure –with-apache=../httpd –with-config-file-path=/www/conf –enable-track-vars I am having trouble with the config file path I get an error about only one configuration at a time.

              what is the config-file-path value that I should enter? would that be the path to my php.ini file? reason being when I enter that it returs an error about only one configuration at a time.

                Are you certain that php isn't already installed?

                Some servers will offer a blank file for download when it encounters an endless loop or a request that takes so long to process that it exceeds the given time limit.

                  actionscripter;10880024 wrote:

                  ./configure –with-apache=../httpd –with-config-file-path=/www/conf –enable-track-vars

                  Aren't you missing some hypens there? Configure switches begin with two of them, e.g. "--with-apache[=DIR]".

                    9 days later

                    I am having the same problems as mentioned in the first post. PHP 5 is already installed and running fine on the box. The deal is that when I switch a site over to use an exclusive IP that it doesn't route it to the site folder rather just keeps the default site folder settings as the DocumentRoot. I've tried apache start/stop, dns changes, and disable/enable the account on the plesk admin. Switching the site back to the shared IP list makes it reappear and work as it should - but in order to get SSL working it need to have it on an exclusive ip...

                      Write a Reply...