Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Web Development (https://www.askmehelpdesk.com/forumdisplay.php?f=467)
-   -   Sorry, PHP is not enabled on this server. (https://www.askmehelpdesk.com/showthread.php?t=458137)

  • Mar 16, 2010, 09:56 AM
    Scotty13
    Sorry, PHP is not enabled on this server.
    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
  • Mar 16, 2010, 10:36 AM
    RickJ

    Sounds like something on the Host's end. You need to Confirm that PHP is enabled with your hosting package.
  • Mar 17, 2010, 06:02 AM
    Scotty13
    Eleven2.com in my hosting company and they said its enable.
  • Mar 17, 2010, 06:55 AM
    slapshot_oi
    Paste the code to php_check.php.
  • Mar 17, 2010, 07:46 AM
    Scotty13

    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?
  • Mar 17, 2010, 08:47 AM
    slapshot_oi
    I'm guessing you mean a connection in DreamWeaver.

    Here's a simpe test, create a file called info.php with this code:
    [CODE="PHP"]
    <?php phpinfo(); ?>
    [/CODE]
    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.
  • Mar 17, 2010, 09:09 AM
    Scotty13

    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
  • Mar 17, 2010, 11:24 AM
    slapshot_oi
    Quote:

    Originally Posted by Scotty13 View Post
    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.
  • Mar 18, 2010, 06:34 AM
    Scotty13
    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.

  • All times are GMT -7. The time now is 10:45 PM.