• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Option PHP support greyed out

P

Peter Schoenmaker

Guest
Hi,

I'm currently experiencing a problem with Plesk 8.01 on a (old) Fedora Core 4 machine. As the topic explains, I can't check or uncheck the option PHP support under Domains -> click a domain -> Setup because it is greyed out.

I have found out that I can manually turn PHP on and off by editing the psa database table hosting and setting php on true, but since it's a customer's machine I'd like to have this option availible in the web interface. Somehow Plesk doesn't seem to recognize that there's PHP availible on the machine (or that's just my reasoning) .

Does anyone know how to fix this problem? Any help is appreciated.
 
Oh, hmm.. some extra information might be nice. Quite some time ago this server crashed and was recovered through a restore. Before the restore this problem wasn't there. Also, php just works fine when I manually enable it in the psa database. The problem is just that it can't be actived and deactivated throught the webinterface.

[root@myserver]# which php
/usr/bin/php
[root@myserver]# php -v
PHP 5.0.4 (cli) (built: Nov 17 2006 10:30:57)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd.
 
Of course, as soon as you post the problem to the forum you find the solution. ;-) The problem was, for those who want to know, that the rpm database wasn't backuped and thus not restored during the restore. rpm -qa |grep php didn't give any output resulting in Plesk not knowing PHP was available on the server.
 
Back
Top