Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

apache/PHP 5.5 on windows xp


piernas

Recommended Posts

I know these doesn't fit really well here but maybe someone has experienced the same problem here.

 

I was trying to install latest oscommerce developpment from github and seems it is finally requiring php 5.5 at a minimum. I was running 5.3 on an old XP machine as a local test server, so yesterday tried to upgrade.

 

I've found that latest php has dropped support for windows xp because they are using VC 2008 compiler. It should work even if no support, but apache refuses to load the connection library needed (php5apache2_4.dll).

 

I've been trying several combinations of apache and php but the most I could run is php 5.4. Does anyone here faced the same problem and managed to install an apache/php 5.5  on an xp machine?

 

Thank you

 

 

Link to comment
Share on other sites

I forgot a side question: Does current oscommerce installation contain any code not compatible with php 5.4? Maybe I can fake osc installation and run it over php 5.4 as a temporary solution...

Link to comment
Share on other sites

Hello,

I had the same problem, but with windows 7 (I use uWamp)

I found with google that the good Visual C++ Redistributable compiler runtime library was not installed in my computer.

 

Here is the link for XP : http://www.microsoft.com/en-us/download/details.aspx?id=5582

 

Perhaps it could help you too ?

 

The link where I found my response : http://stackoverflow.com/questions/17609096/php5apache2-4-dll-not-found-error

with OsC 2.2 since 2006 ...

Link to comment
Share on other sites

the latest development must work with 5.4, If it change maybe inside the code, later will be something or it's an error (ubuntu, on windows I don't know).


Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

 

Link to comment
Share on other sites

Hello,

I had the same problem, but with windows 7 (I use uWamp)

I found with google that the good Visual C++ Redistributable compiler runtime library was not installed in my computer.

 

Here is the link for XP : http://www.microsoft.com/en-us/download/details.aspx?id=5582

 

Perhaps it could help you too ?

 

The link where I found my response : http://stackoverflow.com/questions/17609096/php5apache2-4-dll-not-found-error

 

Thank you, I've already tried this fix. The problem seems to be with the library that links to php when apache server starts. The version provided with all of the compiled versions of php 5.5 and 5.6 I've tried throws an error when apache tries to load it.

 

the latest development must work with 5.4, If it change maybe inside the code, later will be something or it's an error (ubuntu, on windows I don't know).

 

It's been modified recently on install files:

<td align="right" width="25"><?php echo ((PHP_VERSION >= 5.5) ? '<i class="fa fa-thumbs-up text-success"></i>' : '<i class="fa fa-thumbs-down text-danger"></i>'); ?></td>

I wonder if oscommerce will work okay if I bypass that requirement. I'll try if I can't install php 5.5 or 5.6 on that server as I don't want to bin it yet.

Link to comment
Share on other sites

fwiw ...

 

I'm running WAMP on XP with PHP v5.4.16.

 

The latest version(s) of osCommerce (2.3.4 and 2.3.4 Responsive Gold) run fine.

 

I also have WAMP running on Win7 with PHP v5.4.12, and osC runs fine.

 

Malcolm

Link to comment
Share on other sites

Thanks @@ArtcoInc I've already installed php 5.4 and seems to work fine. From what I've seen nothing has still changed in oscommerce core that uses something new from php 5.5 so it should work ok for now.

Link to comment
Share on other sites

@@piernas

 

I read your link on compiling PHP 5.5 for use on WinXP. :wacko:

 

Considering that the current version of PHP is 5.6.7, have we reached the point where the hoops we have to jump through to continue to use XP is finally forcing us to switch to a different OS? :blush:

 

Malcolm

 

PS: I'm still running Win2K on one critical workstation, and a Win2K3 Server :-

Link to comment
Share on other sites

I finally managed to install php 5.6.4 on windows xp. It was very tricky as the version of Apache on the link I posted above has some dependencies that I couldn't find even installing all of the Visual C++ runtime and updates I found.

 

I did it by installing php from the link above and latest apache VC11 from apachelounge.

Link to comment
Share on other sites

I would note that Windows XP is quite obsolete. If you are managing your own server, it's false economy to stick to something so old, just to save the money of an OS upgrade. Hell, even Windows 7 is getting quite long of tooth, and probably won't be supported before too long. You should not be running your own web server unless you know exactly what you are doing. About 90% of hosting is staying on top of security threats, which most random store owners have no idea how to do. The end result is that the hackers will eat your lunch.

 

The only valid reason for trying to run your own site on a PC is that you have no commercial hosting account yet, and want to dip your toes in the water. Of course, that shouldn't be a real site accessible from the outside world, and should be standalone and isolated. Once you have real commercial hosting with a reputable host, you should be using that to do experimentation and development work. The idea is that your site is guaranteed to work once you go live (i.e., make your site accessible to the outside world). To develop on a standalone PC is inviting trouble due to different server, PHP, and MySQL levels. You will spend more time trying to figure out why your site doesn't work than you will save by having it on your PC. Believe me, I've seen it time and time again.

Link to comment
Share on other sites

I would note that Windows XP is quite obsolete. If you are managing your own server, it's false economy to stick to something so old, just to save the money of an OS upgrade. Hell, even Windows 7 is getting quite long of tooth, and probably won't be supported before too long. You should not be running your own web server unless you know exactly what you are doing. About 90% of hosting is staying on top of security threats, which most random store owners have no idea how to do. The end result is that the hackers will eat your lunch.

 

Don't worry @@MrPhil, it's just a home media file server and testing web server. It still does exactly what it should, it's silent and low consuming, so I don't want to shut it down yet and spend money on a new PC plus new OS.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...