We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34000
    • 77 Posts
    Is there any sort of test script (guessing there is), that you can upload to your server to see if it meets server requirements?
    Basically the same thing that is in the installation package but a stand alone script.

    To get started easily just upload that one test script run and see where you are on server requirements.
    If your host has the right stuff, without having to deal with the whole upload package, if the host does indeed not support the product.

    The other way is I’m hoping I can track down all the required PHP goodies in my info PHP script test.
    Am I making sense, I forget the name of the PHP function that tells you what your server supports, but I have that uploaded, I’ll have to wade through all that to be sure, I’m green light go.
    Thanks.

    --------------------------
    I just blew through the requirements comparing with my PHP info and have a couple quick questions, red lights...
    Thanks for any suggestions hints on any of the questions below in red then, might just attempt setup anyways, nothing looks like a biggie?

    PHP Compatibility

    5.1.1 and above (excluding 5.1.6 and 5.2.0)
    Required extensions:
    zlib
    JSON (or PECL library)
    mod_rewrite (for friendly URLs/.htaccess)
    GD lib (required for captcha and file browser)
    PDO, specifically pdo_mysql (for xPDO)
    ImageMagick (for thumbnails)
    Maybe don’t have ImageMagick have to worry about this one later, but didn’t see it in the php info page?

    SimpleXML
    safe_mode off
    register_globals off
    magic_quotes_gpc off
    My mageic_quotes_gpc is set to on, this is troubling mine, would I have to ask the host to turn this of for my installation directory then?

    PHP memory_limit 24MB or more, depending on your server


    Wasn’t sure what the code snippet below in the documentation was?

    PHP Configuration Options
    view plaincopy to clipboardprint?
    ./configure --with-apxs2=/usr/local/bin/apxs --with-mysql --prefix=/usr/local --with-pdo-mysql --with-zlib


    One other quick question to dump in here, is there a chance MODx Revo will become a web gallery install for webmatrix, like evo is now, that’ld be sweet?
      MODx Revo 2.1 and done!
      • 3749
      • 24,544 Posts


      http://php.net/manual/en/security.magicquotes.disabling.php

      That last line is just showing you the php configuration options being used on your server.

      It looks like you should be OK, assuming your memory_limit is high enough.

      memory_limit and PDO are the two critical stumbling blocks for most people who have trouble.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 34000
        • 77 Posts
        Awesome, my memory limit was 128 mb which sounded ample I guess.
        According to the requirement anyways.

        Thanks for the reply.

        Is there not a stand-alone php test script to test servers specifically for revo?
        Just thought there might be, no worries here then.
          MODx Revo 2.1 and done!
          • 3749
          • 24,544 Posts
          I don’t think there is one, although it’s a good idea.

          Setup does some tests, but it would be nice to be able to check before downloading and installing all the files.

          You could file that as a feature request here: modxcms.com/bugs.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 34000
            • 77 Posts
            Can anybody point me to the file in the latest version MODx revo modx-2.0.7-pl
            that holds the test functions, if it is one file, I’ld like to take a look at that then, just as a side project.
            I’ld like to compare it with a Magento testing script I found here:
            http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento/

            Just to learn some PHP.

            Thanks again.
              MODx Revo 2.1 and done!
              • 22019
              • 390 Posts
              I have a billion things to do, so naturally I dropped them all to do this post-haste.

              It looks like checks are made:
              /setup/index.php
              and then various references are made to functions in this class:

              /setup/includes/checks/modinstalltesttraditional.class.php which in turn extends this class:

              /setup/includes/modinstalltest.class.php

              assuming you have a trad setup. It looks like there are three other classes included in the distro for Git, Advanced and an SDK distro
              /setup/includes/checks/
                Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
                • 34000
                • 77 Posts
                Thanks Ivan smiley

                Very much appreciated, have a great week.

                MODx installation is more sophisticated and elegant than I realized, was hoping for one file to take a peek at.

                thanks a million.
                  MODx Revo 2.1 and done!