My php4 plugin doesn't seem to be working

Brian Densmore DensmoreB at ctbsonline.com
Mon Mar 15 15:12:20 CST 2004


Well thanks everyone for the suggestions.
I will never know what the cause was or the fix.
I spent the weekend rebuilding my debian laptop,
*all weekend* and it's still not done. Something
I did, screwed up the xdm. Something strange about
the bonzai install. There is a spawn command in
inittab. That was driving me nuts trying to figure
out why is kept respawning X even with no xdm running.
So now I am rebuilding the system better than it was 
before. Specifically, what I did was : moved X to start
at runlevel 3 instead of 2, changed the spawn command to
exclude runlevel 2, added a boot option for noX, and
changed the default runlevel to 3. 

On a more interesting note, I tarred my home directory
before doing all this and scp'ed up to my server. I then
untarred it into a different directory and copied the .mozilla
directory (version 1.6) over the new install (version 1.0).
Mozilla didn't complain about that at all. Sweet!
(YMMV - I haven't fully explored the implications of this and
if you try it and fsck up your mozilla don't blame me.)

-----Original Message-----
From:	Kendrick-LUG [mailto:kulua at linux2themax.com]
Sent:	Sat 3/13/2004 3:24 AM
To:	kclug at kclug.org
Cc:	
Subject:	Re: My php4 plugin doesn't seem to be working
Brian D wrote:

>--- Jonathan Hutchins wrote:
>  
>
>>On Friday, March 12, 2004 08:47 am, Brian Densmore
>>wrote:
>>
>>    
>>
>>>When I try to point Mozilla at the example
>>>pages I get a pop up saying Mozilla doesn't know
>>>      
>>>
>>how to handle
>>    
>>
>>>x-httpd-<something> and whether I want to save it
>>>      
>>>
>>or open it with some
>>    
>>
>>>other application.  
>>>      
>>>
>>That "-<something>" might be important.  Mozilla is
>>saying it's getting a mime 
>>type that it doesn't understand, which suggests that
>>Apache is at least 
>>sending a mime-type header.  It's fairly common for
>>problems in copying, 
>>editing, or calling a php script to result in
>>incomplete headers.
>>
>>Check your logs and see what specific error Apache
>>is recording - that's 
>>likely to be more informative than the Mozilla
>>popups.  I'm no particular fan 
>>of Mozilla in any case, you might get more
>>meaningful error messages with a 
>>different browser.
>>
>>When you get home you might drop in to #kclug on
>>irc.freenode.net and someone 
>>might be available to walk you through a diagnostic.
>>    
>>
>mime type is x-httpd-php. No errors in the logs.
>Apache isn't processing the php for some reason.
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - More reliable, more storage, less spam
>http://mail.yahoo.com
>
>
>  
>
did you make a /etc/php.conf?  or where ever it goes   make shure near 
the top that you load  the module

LoadModule php4_module        /usr/libexec/libphp4.so

or where ever it is,  use locate to find it for shure sounds like 
libphp4.so is just in a different lib dir then where apache expects it




More information about the Kclug mailing list