mliu
Forum Replies Created
-
Forum: Installing WordPress
In reply to: trouble getting startedOk, 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?
Forum: Installing WordPress
In reply to: trouble getting startedOkay, 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 OnPlease 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.soLoadModule php5_module modules/libphp5.so
#
Forum: Installing WordPress
In reply to: trouble getting startedOk, 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?
Forum: Installing WordPress
In reply to: trouble getting startedHi Again,
I’ve added all the lines that you suggested, except the LoadModule php5 one as I’m not sure what the ‘libphp5’ is… is that a file? I have a “php5” folder within the MAMP/conf/apache/php5
I don’t think I have a mod_php file… is that also supposed to be in MAMP somewhere?
Thanks,
Forum: Installing WordPress
In reply to: trouble getting startedHi Adljdi:
Ok, here are the results to the php test… this file launches in my browser, but what I see is the exact code that you asked me to type and test.`<?php
phpinfo();
?>`I found the httpd.conf file in MAMP… where should I insert the directoryindex line that you suggested above?
With regard to opening all files and having code display, this happens on all files. So, looks like I’ll need to add the line “Addtype…” as detailed above. Where should this line go?
Is there some way that I could forward you my MAMP httpd.conf file for you to take a look at?
Were these lines that I should have added in the MAMP setup process?
Thank YOU for all your help and patience. It is very much appreciated.
Forum: Installing WordPress
In reply to: trouble getting startedHi ZGani:
My MAMP panel has two green lights for Apache and MySQL… I’ve used the step by step process at: https://codex.www.ads-software.com/Installing_WordPress_Locally_on_Your_Mac_With_MAMP
Forum: Installing WordPress
In reply to: trouble getting startedHi There:
I’m thinking that there is a config problem cause when I type in my “local url” in my browser, I get a page with a file hierarchy. When I click on a file, I get a static page that has code on it (some with input fields, though I think those are supposed to be a part of the html page).
I am trying to learn how to use wordpress locally, so I’ve followed the directions to have MAMP run on my mac (seemed like it all installed properly).
I began with following the directions here: https://codex.www.ads-software.com/Installing_WordPress_Locally_on_Your_Mac_With_MAMP
Then I went to: https://codex.www.ads-software.com/WordPress_Lessons and started at the beginning (WordPress for beginners), but I can’t seem to make any forward progress ??
Forum: Installing WordPress
In reply to: trouble getting startedI’m having a hard time trying to figure out why I only see static code pages. I’m not a developer, so code is not my strong suit.
Where in the documentation do I find out where to access the front end admn tools that would lead to themes and other options?
Forum: Installing WordPress
In reply to: trouble getting startedMaking progress… THANK YOU!
Now, I can see an index of my wordpress files. But I still do not know where to access my admin categories (managing options, users, user profiles, look/feel of site, etc.).
Forum: Installing WordPress
In reply to: trouble getting startedI’m sorry, I should have mentioned that I am trying to run this locally on my mac using MAMP. It appears that I may be stuck on step #4 (I’m following these instructions: https://codex.www.ads-software.com/Installing_WordPress_Locally_on_Your_Mac_With_MAMP).
Where do you access the local site or what file is that? The config-sample.php that comes in the word press zip file?