AlegroCart open source E-commerce
Web hosting by Host1Plus

Testing with php 5.3 with WAMP & XAMPP Servers

General discussion about AlegroCart - Post here if you can't find another suitable forum

Testing with php 5.3 with WAMP & XAMPP Servers

Postby Brent » Tue Mar 23, 2010 7:45 am

I would suggest you turn off the error reporting E_DEPRECATED.

I am working to find any depreciated functions, most notably regex functions.
As there are probably no productions servers running 5.3, this will not be a problem.
The AlegroCart Demo works fine on a productions server.

In php.ini, find the following line, about line 514. comment out with semi-colon ;
Code: Select all
;error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

add this line below
Code: Select all
error_reporting = E_ALL & ~E_NOTICE

This turns off the deprecated notice for now.

You can also replace
Code: Select all

in index.php and admin/index.php with:
Code: Select all
if (phpversion() >= '5.3'){
error_reporting(E_ALL ^ E_DEPRECATED);
} else {

That will achieve the same results.
User avatar
Site Admin
Posts: 4388
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Testing with php 5.3 with WAMP & XAMPP Servers

Postby tomsawyer » Sun May 13, 2012 3:07 am

Nice post & i get so much important information :-)
Posts: 1
Joined: Sun May 13, 2012 2:57 am

Re: Testing with php 5.3 with WAMP & XAMPP Servers

Postby Bluesplayer » Fri Jan 18, 2013 7:06 am

I am actually running my shop on a home server setup - Ubuntu Server.

Home servers are the dogs b******* as far as I am concerned. With the power of home broadband now you can save a fortune on hosting fees.
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest