Grow your CSS skills. Land your dream job.

How do I tell if a server supports PHP?

  • # April 1, 2009 at 6:27 am

    How do I tell if a server supports php/mysql? There’s no cpanel, I’ve only got access to an ftp account, which I can only access through school network.
    And if it doesn’t support php/mysql, is it possible to install it manually onto the server?
    I was planning to use php/mysql to do a little content managing… So if I can’t install it onto the server, are there any alternatives to content managing that is easy to do and don’t require coding knowledge to input content?

    # April 1, 2009 at 7:10 am

    Create a file (in any text editor) and inside the file type:

    Code:
    < ?php
    phpinfo();
    ?>

    Save it as info.php
    Upload it to your server, using FTP, and then, in your web browser, navigate to that file eg. http://www.your-site.com/info.php
    If your server has php/mysql you will see a page listing all the properties that are supported.

    As regards installing php on your server or alternatives, sorry but that’s beyond my knowledge, I’m sure there are other people here better qualified to answer.

    # April 1, 2009 at 11:21 am
    "apostrophe" wrote:
    As regards installing php on your server or alternatives, sorry but that’s beyond my knowledge, I’m sure there are other people here better qualified to answer.

    In most cases (all unless you’re hosting it yourself I think), your hosting provider will have to do the install for you which usually means an extra cost.

    Having said that, I haven’t seen a hosting plan in a while that doesn’t include a minimum on PHP.

    # April 1, 2009 at 11:28 pm
    "TheDoc" wrote:
    "apostrophe" wrote:
    As regards installing php on your server or alternatives, sorry but that’s beyond my knowledge, I’m sure there are other people here better qualified to answer.

    In most cases (all unless you’re hosting it yourself I think), your hosting provider will have to do the install for you which usually means an extra cost.

    Having said that, I haven’t seen a hosting plan in a while that doesn’t include a minimum on PHP.

    Geocities?

    # April 2, 2009 at 2:45 am
    "Matt" wrote:
    Geocities?

    Lol, yes, Geocities haha

    # April 2, 2009 at 6:23 am

    Thanks. But I am a bit worried… It’s a school server. You know, those irritating things that you can view the site from anywhere, but when actually editing the site, you need to use the school server. Not to mention that it’s Chinese, and well, let’s just say I’m not too optimistic.

    So, are there any alternatives for content managing?

    # April 2, 2009 at 7:20 am

    Actually when I went to school there was no such thing as a server. :D lol

    What content are you trying to manage? Pretty much anything web related is going to depend on the server.

    Rob
    # April 2, 2009 at 7:35 am
    "apostrophe" wrote:
    Actually when I went to school there was no such thing as a server. :D lol

    What content are you trying to manage? Pretty much anything web related is going to depend on the server.

    hehe – we had a server I think 2 years before I left, with super duper fast ultra wow Pentium 90’s lol

    # April 2, 2009 at 12:22 pm

    If you’re worried about it, you can always check it with what Apostrophe mentioned:

    "apostrophe" wrote:
    Create a file (in any text editor) and inside the file type:

    Code:
    < ?php
    phpinfo();
    ?>

    Save it as info.php
    Upload it to your server, using FTP, and then, in your web browser, navigate to that file eg. http://www.your-site.com/info.php
    If your server has php/mysql you will see a page listing all the properties that are supported.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".