Forum Moderators: phranque

Message Too Old, No Replies

Problems after php 4.2.2 upgrade to 4.3.2

Php Upgrade and Apache Problems

         

switchjohnny

11:08 pm on Jul 29, 2005 (gmt 0)

10+ Year Member



I reciently upgraded from php 4.2.2 to 4.3.2

After the upgrade, my custom error docs do not work nor does my webalizer in Plesk

Some of my scripts work and some of them don't. If I create a phpinfo file, everything looks ok. The file runs.

I have added:

AddType application/x-tar .tgz
AddType application/x-httpd-php .php .html .htm
AddType application/x-httpd-php-source .phps
#AddType x-mapp-php4 .htm .html .php
AddType text/html .shtml

to my httpd.conf file.

If I put "AddType x-mapp-php4. htm .html .php" in my http.conf file, then my custom error docs work and so does my webalizer, but then some of my other scripts do not work.

I have tried using .htaccess to correct these problems, but it does not help.

I have no idea what's happening here.

Any help would be great.

jatar_k

5:36 am on Jul 30, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



are there any other indications of what is and isn't working?

what errors in scripts are you getting?

switchjohnny

5:42 pm on Jul 30, 2005 (gmt 0)

10+ Year Member



If I add "AddType x-mapp-php4 .htm .html .php" to httpd.conf

Then my error logs give me this error:

[Wed Jul 27 14:38:51 2005] [error] [client 68.228.555.555] script not found or unable to stat: /home/httpd/vhosts/mysite.com/cgi-bin/index.pl
[Wed Jul 27 14:38:51 2005] [warn] Cannot get media type from 'x-mapp-php4'

If I remove the AddType x-mapp-php from the httpd.conf then I do not get any errors in the error logs.

jatar_k

9:00 pm on Aug 2, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



>> then my custom error docs work and so does my webalizer, but then some of my other scripts do not work.

I was referring to the scripts not working, what do they do when you add the

AddType x-mapp-php4 .htm .html .php

I actually have never used that and can't find a specific reference as to what it is. I have always used this

AddType application/x-httpd-php .php .html