Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Need Advice on Php Version

Need Advice on Php Version

Locked

Views: 3,873

Results 21 to 25 of 25
This thread is locked. New replies are disabled.
12 Mar 2010, 6:45 PM
#21
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Need Advice on Php Version

rwoody:

Currently the settings in my http.conf are

ServerSignature Off
ServerTokens ProductOnly

So you are saying change the second line to:

ServerTokens Prod ?

No, ServerTokens ProductOnly is fine (ProductOnly and Prod are the same). Check that you have the correct httpd.conf file though,
there may be more than one.

Regards,
Christian.

12 Mar 2010, 8:02 PM
#22
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Need Advice on Php Version

Yes I have the correct files, but I changed it anyway based on a post I read on Apache Security. and changed the ini file. I'm re-running the scan now. I finally got all the errors out of the front end, but the admin is a disaster and will take hours to clean up.

I know I've been advised here turning error reporting off does the trick, but I had white screens, until I edited a slew of files.

The admin doesn't hide the errors...it won't let me even enter the admin itself until I fix them all. Thank gosh I didn't touch production site until I verified this all in my test enviornment - I would be in a total panic. As it is, when I've got the test version error free, then I'll take the site down, recompile and build in the new changes.

I'm running the scan again with your suggestions, but up till now the bot seems to be able to get to see everything.

I had to completely pull out and rebuild the blog I had integrated in order to upgrade that to the latest release, which wasn't fun, but got it done and then recompiled to 5.2.12, as I was originally told that would satisfy them, then they sent me another failed report saying nope...gotta to to 5.3.2 -

I think I want a new job...LOL :dontgetit

23 Mar 2010, 8:22 AM
#23
halkhata987 avatar

halkhata987

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: Need Advice on Php Version

I d/l the patch you referred me to and I'm currently running tests as I did before to be sure I don't have the site down with errors.

Based on the test, the moment I attempt to put something in the cart I go to a white screen.

I'm getting the following error using error reporting -
PHP Deprecated: Function ereg() is deprecated in ...\includes\classes\db\mysql\query_factory.php on line 139.

I attempted modifying the file and made things worse, so I returned it back to the original. Can you help me out here?

I'm told that all Merchant Providers have received notification from Visa and Mastercard of these new tougher requirements... so there will be lots of folks forced to the latest release of PHP

Edinburgh Accommodation

NBA and NCAA Picks

23 Mar 2010, 8:24 AM
#24
halkhata987 avatar

halkhata987

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: Need Advice on Php Version

I d/l the patch you referred me to and I'm currently running tests as I did before to be sure I don't have the site down with errors.

Based on the test, the moment I attempt to put something in the cart I go to a white screen.

I'm getting the following error using error reporting -
PHP Deprecated: Function ereg() is deprecated in ...\includes\classes\db\mysql\query_factory.php on line 139.

I attempted modifying the file and made things worse, so I returned it back to the original. Can you help me out here?

I'm told that all Merchant Providers have received notification from Visa and Mastercard of these new tougher requirements... so there will be lots of folks forced to the latest release of PHP

23 Mar 2010, 10:21 AM
#25
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Need Advice on Php Version

halkhata987:

Based on the test, the moment I attempt to put something in the cart I go to a white screen.Then you have a PHP error happening.
halkhata987:

I'm getting the following error using error reporting -
PHP Deprecated: Function ereg() is deprecated in ...\includes\classes\db\mysql\query_factory.php on line 139.Then you've not actually applied the PHP 5.3 patch update correctly.
halkhata987:

I attempted modifying the file and made things worse, so I returned it back to the original. Can you help me out here?There's no need to go and modify all the ereg() calls in the code. The patch takes care of suppressing the warnings, because that's all they are: warnings.
halkhata987:

I'm told that all Merchant Providers have received notification from Visa and Mastercard of these new tougher requirements... so there will be lots of folks forced to the latest release of PHP
That's why the patch was released. And, of course, the next version of Zen Cart will be PHP 5.3 compatible.