Re: [PHP] PHP 4 broken after Apache upgrade

2002-07-06 Thread Chris Garaffa

That's exactly what I needed to do... Thanks Devrim and Chris for your quick
help.
AhhhŠ back to coding!
-- 
Chris Garaffa
#!/usr/local/lib/php
$contact_info["Name"]   = "Chris Garaffa";
$contact_info["Email"]  = "[EMAIL PROTECTED]";
$contact_info["Work"]   = "[EMAIL PROTECTED]";
$contact_info["cell"]   = "203.803.9066";


He who calles himself "Devrim GUNDUZ" (from <[EMAIL PROTECTED]>) wrote
on 7/6/02 1:15 PM:
> You need to compile php with apache again, I think.
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP 4 broken after Apache upgrade

2002-07-06 Thread Chris Allen

Reinstall php. Did you do that when you upgraded Apache? For static link you
need to re-install. For DSO not sure I do not run my systems that way. I
havent heard of anyone else having problems. I will be updating myself this
weekend so...

Also you need to have the apache server "handle" the php type. Thats why IE
complains.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP 4 broken after Apache upgrade

2002-07-06 Thread Devrim GUNDUZ


Hi,

On Sat, 6 Jul 2002, Chris Garaffa wrote:

> OK, so I upgraded to Apache 1.3.26 on my RedHat machine after the security
> stuff last week. Saved my old httpd.conf file, just in case, and I did need
> it. Unfortunately, neither the old file, nor the new file, nor the new file
> modified to include PHP support, work.
> I added:
> LoadModule php4_module  libexec/libphp4.so
> AddModule libphp4.c
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source  .phps
> 
> to httpd.conf in their proper sections.
> Also, added index.php as one of the possible index files (along with
> index.html and index.shtml)
> I checked libexec/; libphp4.so is there.
> Then I get this:
> [root@saturn /]apachectl start
> Syntax error on line 276 of /usr/local/apache/conf/httpd.conf
> Cannot add module via name 'libphp4.c'; not in list of loaded modules
> 
> OK, so I comment out AddModule libphp4.c, and
> [root@saturn /]apachectl start
> /usr/local/apache/bin/apachectl start: httpd started
> [root@saturn /]
> 
> But then, I load up Internet Explorer, go to my site, and get this:
> "Unhandled File Type" dialog box:
> Internet Explorer doesn't know how to handle the type of file you have
> selected.
> You can choose to save this file to your disk or you can configure a Helper
> Application for this file.
> MIME Type: application/x-httpd-php
> File Name:
> -
> I downloaded the file via Save File AsŠ and it is the php source for
> index.php.
> 
> So do I need to reinstal PHP, or am I just missing something in the config
> file?

You need to compile php with apache again, I think.

Best regards.


-- 

Devrim GUNDUZ

[EMAIL PROTECTED]
[EMAIL PROTECTED]

Web : http://devrim.oper.metu.edu.tr
-



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php