View Full Version : Why isn't it working?
autumn25
12-08-2003, 12:54 PM
I don't know what is wrong with me. I just can't seem to learn php/mysql. Maybe i should take a class.
Anyway, for some reason, when i create a file called test.php with the following code: <?php echo "PHP Works!"; ?>
it comes up with a blank page. Anyone have any ideas?
DirectAdmin Support
12-09-2003, 11:10 AM
Hello,
Make sure that you have PHP included with your account.
User Panel -> Account Info / Stats -> PHP = ON or OFF
If not, you'd need to contact your host to get php with your account.
John
UltimeWWW
12-09-2003, 02:36 PM
John, how about putting PHP enabled by default?
This caused us a lot of issues with Resellers. This option was created only by one user.
The PHP could be disabled by him, but most of us do use it.
How about that?
ProWebUK
12-09-2003, 03:19 PM
I'll second that motion. i'd expect more admins / resellers wanting to allow php on rather than off as default :)
Chris
FarCry
12-09-2003, 09:12 PM
yes, php is just about always set to on, and if not should be!
DirectAdmin Support
12-10-2003, 10:16 AM
Hello,
PHP is on by default for new packages. Also all existing Resellers/Users/Domains (when the PHP feature was added) should have received the PHP option. The only thing that wasn't modidifed was the packages, so if they keep using their unmodified packages, php will be off. New packages default to have PHP on as well.
John
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.