how to make sure php installed?

jeffow

New member
Joined
Nov 29, 2007
Messages
1
My Directadmin is just installed. but when I try to test php version, I put a phpinfo file in the domain folder. it does not work. "Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request"

how to make sure, they have installed php for me.
 
If you have shell access to the server via SSH, run the following from the commandline as the root user:

Code:
php -v

If you have PHP installed it will return something like:

Code:
PHP 4.4.7 (cli) (built: Oct 30 2007 17:36:54)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

Let us know the result of the above command and then we might be able to help you further. Thanks.
 
Back
Top