WordPress.org

Ready to get started?Download WordPress

Forums

config examples? (13 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Can anyone point me to configuration examples?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    Thanks, that will help. I'm sure installation is quite simple - it's deciphering the instructions that's the hard part. That's why I like configuration examples instead. I was using Movable Type, but WP appears to be completely php-based, which, I think, is better. Also, is WP free? MT has started charging for their code, which is enough of a reason to switch, if WP is in fact free.

  4. Anonymous
    Unregistered
    Posted 9 years ago #

    Well, I'm having some trouble and was wondering where to go for installation help. Is this the right place?
    Here's my server config:
    Linux RedHat 9, Kernel 2.4.20-8
    Apache 2.0.40-21
    MySql-3.23.54
    PHP4.2.2
    I downloaded wordpress-1[1].2-mingus.tar.gz, uncompressed it and copied all files to public_html/cgi-bin. I have a main page (index.php) in public_html that will have links to multiple blogs. I created a database (wp12) and a user (wpbloger) with full permissions. I ran chmod -R 755 * on cgi-bin and modified wp-config as follows:
    define('DB_NAME', 'wp12');
    define('DB_USER', 'wpbloger');
    define('DB_PASSWORD', 'wpbloger');
    define('DB_HOST', 'localhost');
    $table_prefix = 'wp01_';
    Now what? Do I point my browser to http://www.myserver.com/cgi-bin/wp-admin/install.php? Or, with shell access, do I run ./install.php in the wp-admin directory? Neither idea worked. Any help is appreciated.

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Here are the errors I receive:
    from the shell:
    bart [/home/post2/public_html/cgi-bin/wp-admin] # ./install.php
    ./install.php: line 1: ?php: No such file or directory
    ./install.php: line 2: =: command not found
    ./install.php: line 3: syntax error near unexpected token '../wp-config.php''
    ./install.php: line 3:
    if (!file_exists('../wp-config.php')) '
    with a browser pointing to:
    http://bart/cgi-bin/wp-admin/install.php
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Why the cgi-bin ?
    WP does not need the cgi-bin at all - put it anywhere but there.
    That will probably explain the 500 error.
    Assume you upload all the files to /blog
    To install, go to http://bart/blog/wp-admin/install.php with your browser and it should take it from there.
    Post back any errors.
    WordPress is free yes, very free. And staying that way :)

  7. Anonymous
    Unregistered
    Posted 9 years ago #

    Well, I like to keep all my scripts in cgi-bin. It appears this is a problem for WP, however. I'll try what you suggested and post back. Thanks for the help.

  8. NuclearMoose
    Member
    Posted 9 years ago #

    Have you seen the wp-config-sample.php file? You can make a copy of that file, rename it to wp-config.php, edit the details as per Podz suggested link, and you should be good to go.

  9. Anonymous
    Unregistered
    Posted 9 years ago #

    I think I got everything installed. I documented the installation procedure so other first-timers might have an easier time. With all due respect to the WP folks, the installation documentation needs help - it is lacking meaningful commentary and real-world examples. Here's my contribution:
    http://www.clearpointsystems.com/ewpi.php
    From what I've seen so far, WP is much better and faster than MT - and much easier to install.

  10. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Without wanting to start a fight here, how could wp even be close to as complex as MT's installation procedure ? :)

  11. Anonymous
    Unregistered
    Posted 9 years ago #

    Not sure what you mean. But I've been searching the net for reviews/comparisons of MT and WP. I found one at http://www.dvorak.org/blog/ but it was not very helpful. As a developer who is new to blogging, I think the all-php code base is a big advantage of WP over the more complex cgi/perl base in MT. From my limited use of each package, I've noticed WP is markedly faster. Still, I'm not sure what the feature comparison looks like. There's got to be SOME features in MT (5.3Mg/~500 files) that are not in WP (1.4Mg/~150 files).

  12. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Not many... and the list falls daily.
    http://www.asymptomatic.net/blogbreakdown.htm

  13. Anonymous
    Unregistered
    Posted 9 years ago #

    That's a good chart. Still, I have yet to hear the MT sales pitch. In any case, my guess is that various marketing dynamics are taking over at sixapart now that real dollars are involved. Where that will take them has yet to be seen.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.