Executing PHP scripts

ThomasD

New member
Joined
Jun 27, 2009
Messages
2
I have a DirectAdmin account and a domain name. I uploaded some PHP files, but if I try to execute them, my browser just downloads the files instead of showing a webpage. I changed the permissions to be able to view the files online, but I can't see them yet.

Another question: I can't access PhpMyAdmin, because I have to enter a username and password, but I don't know which one. I tried the one I use to access DirectAdmin, but that didn't work too.

Can anyone help me?

(I am not sure if I am posting in the right forum. If this is the wrong one, I'm sorry.)
 
Hi,

Your server need to have PHP installed so he can processed php file and send it in html code to browser.

cd /usr/local/directadmin/customapache; ./build php n

Danijel,
 
ThomasD:

You should contact your hosting company; they're the ones who can help you.

Jeff
 
PHP is installed. I've contacted my hosting company and I am now waiting for their answer.
 
Last edited:
Back
Top