Forum Moderators: coopster

Message Too Old, No Replies

Setting up php/mysql over network

Updating php, reworking scripts!

         

louponne

6:41 pm on Jan 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have about 20 sites to rework so that they run under php 4.3 - reworking globals, etc. and am trying to find a way to do this without too many headaches.

I have 4.2 running smoothly on my machine, where I have copies of the on-line sites, and need to keep it that way.

I'd like to install 4.3 on another machine, connected to mine via simple network. Will that 2nd machine be able to access the "sites" installed on my machine, as well as the mysql databases?

That way I could do this, bit by bit. But will it work? I tried it, and couldn't figure out how to get the 2nd machine to access everything on the first.

coopster

9:42 pm on Jan 7, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I would approach this a bit differently. How about setting up the 4.3 as a TEST server, including running a MySQL server, moving one site over at a time (including it's database) and working it to completion? Once you are comfortable with the code functioning properly you can move on.

louponne

10:07 pm on Jan 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



coopster, thanks for the suggestion - and you're right, that would be the best thing for most of the sites. But there are 2-3 large ones that are going to be undergoing updates/modifications almost constantly, so I can't freeze them for the time it would take to upgrade the code. That's why I was hoping to be able to work at them on my machine for the updates/modifications, and from the test machine for the upgrades to php4.3