upsforum

Well-Known Member
Jul 27, 2005
473
0
166
Hi,

But I can upgrade my server from php4 to php5 AND php4 with easyapahe 3?? This is a best solution? for my customers with use php4?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,

But I can upgrade my server from php4 to php5 AND php4 with easyapahe 3?? This is a best solution? for my customers with use php4?
The vast majority of PHP 4 scripts will work in PHP 5. From experience, most distributed scripts that don't work in PHP 5 are very outdated and thus could pose a security risk to the server.

However, supporting PHP 4 and 5 simultaneously is a great way to transition your customers to PHP 5. If for some reason a website malfunctions in PHP 5, they can still use PHP 4 temporarily until they can take corrective action to migrate to PHP 5.

It is important to note that PHP 4 is EOL (as of 8/8/8) and thus is no longer receiving security patches. PHP has a history of having security issues, so it is best to migrate your users to PHP 5 as soon as you can to mitigate the risk presented by running an EOL'd version of PHP on a production server.
 

upsforum

Well-Known Member
Jul 27, 2005
473
0
166
thank you for your reply, but, if upgrade the server to php5 and php4 simultanly for default value on every account use php5 or php4?
 

upsforum

Well-Known Member
Jul 27, 2005
473
0
166
I installed and upgrade to php5 with apache 2 and suphp but now mod_rewrite is not work and I think that is not installed , I try add in httpd.conf this row:

Loadmodule mod.... etc...

but it not work
 

upsforum

Well-Known Member
Jul 27, 2005
473
0
166
I checked with ./httpd -l command and see mod_rewrite is enabel right?
....
mod_negotiation.c
mod_dir.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c
....
 

Tam

Well-Known Member
Jul 31, 2004
109
2
168
mod security 2 is in use with apache 2 (mod security 1 is in use with apache 1.x), you need to go to their site to learn more about that since it will be using a different conf file (also try the gotroot site for rulesets), take a look in /usr/local/apache/conf and look for the modsec2 files.