by capchap » Mon Aug 11, 2014 8:40 am
warheadsSE,
I dont understand your point.
per your link on the ARCH WAY:
Arch Linux defines simplicity as without unnecessary additions, modifications, or complications, and provides a lightweight UNIX-like base structure that allows an individual user to shape the system according to their own needs. In short: an elegant, minimalist approach.
wouldnt that mean if a dir or file is needed it would be present?
however according to archlinux PHP
PHP
Note: libphp5.so included with php-apache does not work with mod_mpm_event (FS#39218). You'll have to use mod_mpm_prefork instead. Otherwise you will get the following error:
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed
httpd.service: control process exited, code=exited status=1
To use mod_mpm_prefork, open /etc/httpd/conf/httpd.conf and replace
LoadModule mpm_event_module modules/mod_mpm_event.so
with
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
To enable PHP, add these lines to /etc/httpd/conf/httpd.conf:
Place this in the LoadModule list anywhere after LoadModule dir_module modules/mod_dir.so:
LoadModule php5_module modules/libphp5.so
Place this at the end of the Include list:
Include conf/extra/php5_module.conf
however, when I do this, http fails with error that it cannot find the module...why, because it doesnt exist, and there doesnt appear to be any information as to where it should be so I could move it. the system also looks for php.ini in /etc, but the file actually lived in /etc/php. so would it be simpler to have the config files point to the right dir, pr install the files in the right dir rather than expecting someone to find them and move them?
So, I dont believe that I have 'mis-tryped' any of the command line instructions for the installation (although my typing is terible) and I dont think that pacman failed.
So that leaves be with not really understanding at all how to approach this problem.
As far as your vampire reference; I fail to see how directing someone to a page that is irrelevant to be generous help.
My view of generosity is to help without expectation.
You are absolutely correct in assessing that there are those who will suck, and suck and suck (They are the ones in my opinion who refuse to read and learn)
But I would like to point out that I did read what was suggested and it fell short. Was it my pointing out that your help was not helpful, or that you realized you misdirected someone that got you so upset?
maybe if you would take the time to highlight where I have failed to follow directions in the archlinux installation guide instead of highlighting my quotes, I would be
1. able to learn from the vast knowledgebase
2. be thoroghly embarrased by my own admission of guilt rather than lambasted into false guilt.
How about you ask me a few questions about what I did to get where I am or what else might be going on and maybe you would see I have an actual problem that isn't readily obvious and would require someone such as yourself to identify what went wrong.
I will admit to a few things.
1. I did not read EVERY google result about how to install LAMP on a pogoplug. iinstead I did several differnt searches and reviewed the top 2-3 articles on the first page that seems to offer what I was looking for (namely LAMP on my pogoplug)
2. I was quite surpised that there wasnt something a little more recent (I think the instructions were dated 2010, or possibly 2012
3. I was very tired and was not paying attention to a couple things that did slow me down. namely I did not realize that the pogobox closed my ssh session and was looking for the files on my MAC instead of the pogoplug.
4. I did not read posts to my questions quickly enough...moonman suggested that my thumbdrive was old and I should try another. I wish I had seen that post 5-6 hours earlier.
but even when I did get around to reading it I did not see what 'old' had to do with anything. It wasnt until later that i did learn that someone else had posted a uboot/lamp install and they indicated that 2GB was minimum necessary. When I switched to 8gb, the problem resolved. I think my 1 gb thumbdrive is actually newer than my 8gb thumbdrive.
I will also admit that I did read the links suggested (several times) and did not see how they addressed my issues. I guess because they didn't.
My previous issue is that when I try to run a phpinfo file, I get a blank screen. I have created a lot of sites in the past, and never encountered a blank screen before. I have encountered php that shows up as text instead of running, which means php.ini and/or .htaccess have some issues. My current issue is easily solvable...get a copy of the .so file andplaceit in the appropriate dir. But that will likely only take nme back to the 'cant read the pid file.' I did see several refernces to blank php screens which suggested there was a problem in /usr/lib/tmpfiles.d/apache.conf.that would require a syntax change:
You have to change this
d /run/httpd 0755 root root -
to
d /run/httpd 0755 http http -
which had no impact
and the archwiki site that said:
Error: PID file /run/httpd/httpd.pid not readable (yet?) after start.
Comment out the unique_id_module: #LoadModule unique_id_module modules/mod_unique_id.so
which also was of no value (it was already commented out)
So, how is directing someone to read information that isnt helpful, and then complain about 'tend toward helping them''
Why in the world would a person go google stuff, try to do it on their own with no guidance a prudent decision when there are apparently experts who could at least say, follow this set of directions, they are the best, and clearest.
I have never, not once, asked anyone to solve my problem for me, to give me code, or to correct my syntax.
I do however insist, that if your going to direct me to a resource, that it be relevant.
so far, they haven't been and your attitude toward others proves my point.
IMO you have made the assumption that I wont do anything for myself.
Then passed judgment on me based upon that false assumption.
did it ever dawn on you that the information provided was in fact not helpful?
PLEASE sow me that it was, PLEASE embarrass me with the facts!
I would gladly in all humility apologize to you and to everyone who has read this post.
My requirement is that it be on one of the documents that was referenced earlier, and it solves the basic problems which are.
files referenced don't seem to exist and LAMP is installed and runs properly and that reading the material would make it clear (without guessing/trial and error) that a certain action would solve the problem.
do you think you could do that? if not, then again you have made my point for me.
please be so kind as to post one way or the other.
OH, if you did read this far, moonman indicated in a previous post that I should put in code tags'???
I'm guessing he means to stop html from being interpreted..not 100% sure, but I am sure he didn't like something in one of my posts
what do they look like, where can I read about their use.