bwyatt Posted August 27, 2007 Posted August 27, 2007 We tried to upgrade our server to php 5, but all the php on my forum wouldn't parse, the browser just tried to download it. Is there a setting(s) I need to change that tells IPB that we're now using php 5? Any tips on migrating to mysql 5 while we're on the subject would be nice too. :) Thanks for any help.
logonus_merged Posted August 27, 2007 Posted August 27, 2007 are you on apache [cgi / mod ??] ? did you check your webservers config-file and did you reload [invoke-rc.d apache2 restart] the configuration file/s? for me it seems that your apache(2?) config file was not properly setted up... i
bfarber Posted August 27, 2007 Posted August 27, 2007 This isn't IPB, it's the server config as logonus said.
bwyatt Posted August 27, 2007 Posted August 27, 2007 are you on apache [cgi / mod ??] ? did you check your webservers config-file and did you reload [[i]invoke-rc.d apache2 restart[/i]] the configuration file/s? for me it seems that your apache(2?) config file was not properly setted up... i
logonus_merged Posted August 28, 2007 Posted August 28, 2007 in your apache httpd.conf file [debian: apache2.conf] check for something like this:AddType application/x-httpd-php .php .php3 .php4 .phtml did you customize your (new) php.ini? did you remove php4 before you installed php5? really, you should ask your admin to have a look on your server...
bwyatt Posted August 28, 2007 Posted August 28, 2007 Okay, I've got my server provider to do it. Will IPB work with it fine straight away, or will it need to be changed or told to use php 5 instead of php 4?
bwyatt Posted August 28, 2007 Posted August 28, 2007 Not even my provider can do it, there should be a guide somewhere - google doesn't return anything. :(
bwyatt Posted August 28, 2007 Posted August 28, 2007 I know it's not IPB, I just can't find a guide to correctly configure the server at all. I've found no guides to go from php 4 to php5...
m_13 Posted November 16, 2007 Posted November 16, 2007 My host is 1and1 and they recently advised me that I must move to PHP4 from PHP3 as they were removing PHP3. They also suggested moving to PHP5 if I could to gain security benefits. Their advice was this: guarantee that PHP 4 scripts will function 100% correctly under PHP 5. Please note that in contrast to PHP 4, the default for the variable RegisterGlobals is "off". By default Apache uses PHP 4 for .php extension. If you don't want to rename all your scripts to .php5 you can do the following: Create a .htaccess file and place the following line AddType x-mapp-php5 .php in it. This will tell Apache to use PHP 5 instead of PHP 4 for the extension .php in the directory the .htaccess is placed and all sub-directories under it.While the PHP developers have done their utmost to ensure compatibility, we cannot As it was only one file I tried it, place the .htaccess file at the root of my forum directory and am now running on PHP 5.2.4.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.