[lug] php hosed!?

Deva Samartha blug-nospam at mtbwr.net
Fri Jan 19 08:49:46 MST 2001


It is PHP3, and it was running before, it appears to be stanard under SuSE.

Now, what happens is that Apache fails to funnel the php3 code thru the 
appropriate module to do it's magic and expand the php code into html and 
sent it to the client - so it appears.

Instead of expanding and giving me the great status/config page, the php 
code displays in the browser as a puny:

<?
phpinfo()
?>

It's a pain to find any references to this kind of problems on the net.
Most of the search results relate to compile problems and basic install 
issues with php, imp.

I turned the log level in apache to debug but there are no error entries in 
the logs even on this level.

Well, it's an interesting challenge to find out where it is failing. Maybe 
digging into Apache code and see where the interpretation/branch into 
different modules (cgi, php..) happens.

The other approach I see is to compare backup listings and see what has 
changed....

Thanks,

Samartha

At 07:08 PM 1/18/01 -0700, you wrote:

>Did you install PHP3 or PHP4?
>
>The configurations are slightly different in /etc/httpd.conf (or
>wherever your distro puts this file) for PHP4.  From what I understand,
>IMP/Horde will work without database support on PHP4 machines, but I was
>reading Debian-specific help in debian-user for this info.





More information about the LUG mailing list