View Full Version : Sorry, PHP is not enabled on this server.
Scotty13
Mar 16, 2010, 09:56 AM
I’m working with Dreamweaver CS4 to build a social network site. Everything is connected in DWCS4. My server is FileZilla, everything is connected. I’m trying to test a php_check.php page and when I test it, I get…..
Sorry, PHP is not enabled on this server.
Check your host provider's documentation or contact your Host provider to ask them how to enable PHP.
Why? I can’t figure out what I’m missing.
Please Help,
Scotty
RickJ
Mar 16, 2010, 10:36 AM
Sounds like something on the Host's end. You need to Confirm that PHP is enabled with your hosting package.
Scotty13
Mar 17, 2010, 06:02 AM
Eleven2.com in my hosting company and they said its enable.
slapshot_oi
Mar 17, 2010, 06:55 AM
Paste the code to php_check.php.
Scotty13
Mar 17, 2010, 07:46 AM
I know how to copy and paste. But I don’t know how to copy and paste my connection to another file. 'Am I even saying that right?
slapshot_oi
Mar 17, 2010, 08:47 AM
I'm guessing you mean a connection in DreamWeaver.
Here's a simpe test, create a file called info.php with this code:
<?php phpinfo(); ?>
And upload it to your webserver with an FTP client, like FileZilla.
Then access the page in your browser, if you see the code, then PHP isn't enabled, if you see a well-formated table with a ton of info about PHP and the server, PHP is enabled.
It may seem redundant, but the problem could be with DreamWeaver's connection, so this at least rules it out as a possible issue.
Scotty13
Mar 17, 2010, 09:09 AM
I entered <?php phpinfo(); ?>
And got a PHP Version 5.2.12 chart.
I tried php_check.php again and keep getting….
Not Found
The requested URL /php_check.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.4 Perl/v5.8.8 Server at myglobalpnr.com Port 80
slapshot_oi
Mar 17, 2010, 11:24 AM
I entered <?php phpinfo(); ?>
And got a PHP Version 5.2.12 chart.
Then PHP is enabled, the problem is your php_check.php script or your connection in Dreamweaver.
Scotty13
Mar 18, 2010, 06:34 AM
This is what I'm working with...
<html>
<title>PHP Check File</title>
<body>
<?php
Print "<h1>Congratulations, your server can process PHP!</h1>";
Print "<h3>Here you can view the PHP configuration on your server</h3>";
Phpinfo( );
Exit();
?>
<h1>Sorry, PHP is not enabled on this server.</h1><br /><br />
<h3>Check your host provider documentation or contact
Your host provider to ask them how to enable PHP.</h3>
</body>
</html>
Everything connects with my Dreamweaver entries.