[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP module for Apache - FIXED FIXED FIXED!!



On Sunday 27 October 2002 06:54 pm, Wayne Topa wrote:
> Chip Rose(ncrose@pinn.net) is reported to have said:
> > I'm in the same boat - the default configuration used when installing
> > debs, doesn't work.
>
> Strong statement.  You must be new to Debian.  Debs work, some of them
> just require a bit of user intelligence.
>
> > I've ensured the LoadModule and other appropriate lines are in
> > httpd.conf, and php still isn't working.  I've read all the how-to's, and
> > the advice given which makes it look simple, isn't simple.  It just
> > sounds good in theory, but doesn't work in reality.  I get the following
> > error:
> >
> > Fatal error: Failed opening required './libraries/grab_globals.lib.php'
> > (include_path='.:/usr/share/pear') in /var/www/index.php on line 8
>
> In checking the error msg above I find that grab_globals.lib.php is in
> /usr/share/phpmyadmin/libraries/grab_globals.lib.php.  That means, to
> me, you are trying to run phpmyadmin, which wasn't obivious in your
> comments.  I installed the phmyadmin deb and did not have your
> problem.
>
> Well who wrote that index.php file?  Oh, I think I see what you did.
> It looks as if you copied /usr/share/phpmyadmin/index.php to /var/www.
> If so, thats whats wrong.  see below.
>
> Do you have the line
> Include /etc/phpmyadmin/apache.conf
> in your /etc/apache/httpd.conf file?
>
> Check /etc/phpmyadmin/apache.conf for a line like
> Alias /phpmyadmin /usr/share/phpmyadmin
>
> If you have the above then (w3m|links|lynx)
> http://Your.server.name/phpmyadmin should load phymyadmin.
>
> > And I can't find any solutions in my search of debian, php, or mysql
> > mailing list archives, or anywhere on Google (I've looked at a *LOT*). 
> > The debs just don't work.  I'm thinking of installing the unstable
> > versions, in a futile try-anything attempt.
>
> I have no idea which .debs you are refering to, that 'just don't
> work'.  Maybe if you get a bit more specific, we can help you find
> what 'you' have to do to get things running the way you want.
>
> May I suggest that you look to yourself before jumping to the
> conclusion that the debs are at fault.  You won't make many friends
> here by blaming your problems on someone else.

================

Wayne,

Thanks so much for the help, and the rebuke for my poor attitude.  I've 
finally gotten Apache/MySQL/PHP combination working, thanks to you.  This has 
taken hours per night, for months and months - I messed with it through 
Mandrake 6.0, Mandrake 8.0, and now Debian 3.0, and it still wouldn't work 
(so I blamed Debian).  I apologize for sometimes taking a newbie viewpoint of 
expecting it to work like *magic*, but I really have hacked away at it, and 
read innumerable pages, and instructions on how to do it.  I do have user 
intelligence, although I'm sure it wasn't apparent from my rant - if only you 
knew the amount of time I spent labouring on this, and how little I 
accomplished.  It was a combination of extreme effort and overwhelming 
desire/need to get this one simple thing working correctly, coupled with an 
persistent and utter lack of results, that had me frustrated beyond words.  
Numerous posts on several lists yielded no clues, and my final (final?) post 
was one from a semi-crazed frame of mind.

I removed phpmyadmin, and things started working.  I'd hosed it up beyond 
recognition.  You're absolutely right when you surmised that I had indeed 
copied phpmyadmin install files directly into my /var/www/ directory, which 
was A BAD THING to do, which was causing my library errors.  You're also 
absolutely right in deducing that I had indeed installed phpmyadmin and had 
left that out of my rant - I didn't think it was a factor, and *neglected* to 
mention it (newbie alert!).

I have no idea how you came so easily to your conclusions, other than you are 
psychic, or have been looking over my shoulder while seated at my terminal.   
It is amazing.   I still maintain that I would never have gotten it working 
had it not been for your help, and sharp rebuke in response to my whiney 
post.  Nothing on the web even vaguely offered any insight as to the pickle 
I'd gotten myself into, and it would've been forever before I'd even begin to 
"get a clue."

I've now installed DaDaBIK, <http://www.dadabik.org>, which is just what the 
doctor ordered, to allow me to input and query MySQL via web interface.  The 
program is extremely easy, the default settings are even great, and it is 
what I've been looking for, for a LONG LONG LONG time.

Again, sorry to the List for my rant, and for this ridiculously long post - 
my only excuse is that my tortured mind finally snapped from the extreme, 
mind-bending frustration - if it pleases the list, I'll enter a plea of not 
guilty, by reason of temporary insanity.

Thanks Millions,

Chip

================



Reply to: