• I’m a ‘complete’ newbie to wordpress. I’ve just installed 2.8.4 and am now trying to go thru the lessons. First step is to go to the admin panel, but the page seems to have been deleted or moved. I have no idea on how to get started.

    please help.

Viewing 7 replies - 16 through 22 (of 22 total)
  • If you don’t have mod_php don’t worry about it.

    libphp5.so is a file. Its the bit that lets Apache run PHP.

    What’s in MAMP/conf/apache/php5?

    Thread Starter mliu

    (@mliu)

    Ok, I found the libphp.so file and added the path to the loadmodule section in the MAMP httpd.conf file.

    I tried starting MAMP and I now receive a “red” light indicator which means somethings wrong (prior to making all the lines of code insertions, apache had a green light).

    The MAMP/conf/apache/php5 has two files… 1) pear.conf 2) php.ini

    Another question regarding the addtype line… this is what is in my file: AddType application/x-httpd-php .php .phtml

    Per your note above, I shouldn’t need the “phtml” part, right?

    I believe you are getting red light indicator for Apache. It seems you have made some mistake while editing httpd.conf. A single line error can stop apache to start.

    I’d agree with Kailash1. You must’ve introduced an error in your http.conf. Look it over very carefully. Maybe post the few lines you edited.

    You shouldn’t need the “.phtml” part for running WP, but it shouldn’t hurt either. All it means is that Apache will run a .phtml file as a PHP file if it finds one.

    Thread Starter mliu

    (@mliu)

    Okay, here are the lines that I touched (I’ve copied the entire section so that you can see if I’ve edited the correct line in the conf file):

    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    #
    # The index.html.var file (a type-map) is used to deliver content-
    # negotiated documents. The MultiViews Option can be used for the
    # same purpose, but it is much slower.
    #
    DirectoryIndex index.php index.html

    #

    ———————————————————-

    #
    AddType application/x-httpd-php .php .phtml
    #
    # ExtendedStatus controls whether Apache will generate “full” status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the “server-status” handler is called. The default is Off.
    #
    #ExtendedStatus On

    Please note that for addtype above, this section was already in the MAMP conf file.

    ———————————————————-

    And, I see that there are two lines for loadmodule… the loadmodule php5 line in the middle of all the other loadmod lines is the one I added, but I now see there is another php5 line at the very bottom. Maybe I need to remove the line that I added and append the last one with the correct path?

    #
    # Dynamic Shared Object (DSO) Support
    #
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule’ lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l’) do not need
    # to be loaded here.
    #
    # Example:
    # LoadModule foo_module modules/mod_foo.so

    <IfDefine SSL>
    LoadModule ssl_module modules/mod_ssl.so
    </IfDefine>

    LoadModule access_module modules/mod_access.so
    LoadModule auth_module modules/mod_auth.so
    LoadModule auth_anon_module modules/mod_auth_anon.so
    LoadModule auth_dbm_module modules/mod_auth_dbm.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule echo_module modules/mod_echo.so
    LoadModule charset_lite_module modules/mod_charset_lite.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule example_module modules/mod_example.so
    LoadModule case_filter_module modules/mod_case_filter.so
    LoadModule case_filter_in_module modules/mod_case_filter_in.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule php5_module applications/MAMP/Library/modules/libphp5.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule bucketeer_module modules/mod_bucketeer.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imap_module modules/mod_imap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so

    LoadModule php5_module modules/libphp5.so

    #

    Ok. I hope that the stuff above that looks like notes but isn’t commented is not in the original file. Everything has to be valid directives or commented comments.

    Second, you don’t want to load the module twice, but exactly where is the libphp5.so? You said you found it but the path you give is different from the one inserted by MAMP? Do you have two PHPs on your system? Here is what I’d do. The order that you load a module can matter, if I remember right, so copy your LoadModule up so that is directly under the one inserted by MAMP. Now comment one and restart Apache. If it works, good. Otherwise, uncomment the one and comment the other. And restart Apache.

    Thread Starter mliu

    (@mliu)

    Ok, I tried the above experiment and I now get apache to recognize php (even received the confirmation MAMP screen).

    I tried loading my local WP path into my browser and I am still getting an index of files and when I click on one of the links, it opens a page with code, so we’re back to the start of my issue.

    When I open wp-admin, I should get a “user friendly” front end interface that allows me to edit different categories and set styles, etc., right?

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘trouble getting started’ is closed to new replies.