PHP Conflicts

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dendarii
Forum Newbie
Posts: 2
Joined: Thu Mar 23, 2006 10:34 pm

PHP Conflicts

Post by dendarii »

I installed PHP5.0.5. No problem. I want to install Sugar CRM. Needs PHP5.0.4. Downloaded PHP5.0.4, changed PATH, changed PHPRC environment variable, rebooted. Checked WINDOWS folders to make sure no php*.dll were there. Every time I run sysinfo(), it says I am still running PHP 5.0.5. I am using IIS5.1 on WinXP Pro. How do I get it to recognise that I am using PHP5.0.4?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you shouldn't need to downgrade to 5.0.4 from 5.0.5. :?
dendarii
Forum Newbie
Posts: 2
Joined: Thu Mar 23, 2006 10:34 pm

Trouble with PHP versions

Post by dendarii »

According to Sugar CRM, PHP5.0.5 is an invalid version. My basic question is: How do I get Windows to recognise a different version of PHP? Something must be stored somewhere on the system that is telling Windows the version of PHP installed. I checked the path, the PHPRC environmet variable, that I have only 1 php.ini. I even tried copying the 5.0.4 dlls to the C:\WINDOWS\SYSTEM32 directory, and it still tells me I am running 5.0.5? How would I run 4.3, since that is what a lot of Web hosts are providing now? It seems that something is set telling my system that the version is 5.0.5, and I can't find where.

Any help is appreciated.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

unless you're running something very odd, you shouldn't need to copy dll's anywhere. Just delete the 5.0.5 installation and install 5.0.4 in it's place, restart apache or whatever web server you are running.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

As feyd said, you shouldn't need to downgrade.

Have you tested this 'Sugar' thing on 5.0.5, I bet it functions the same.

I also doubt what version of PHP Windows thinks your running is going to affect anything, if you have version files from a version different to that of what Windows tells you, then you're running the version from which the files came from...

If you're desperate, open RegEdit, you can change anything in Windows' memory from there...
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

jayshields wrote:Have you tested this 'Sugar' thing on 5.0.5, I bet it functions the same.
I wouldn't bet on it. I know it doesn't quite work 100% on 5.1.x.

4.3.x or 4.4.x seem to be much more stable/predicatable platforms for it at this point.

Slightly off topic, but I wouldn't even attempt to run SugarCRM on a shared host and I'd definately recommend using a PHP caching engine of descriptions as well as a DB that supports query caching.

Unfortunately I know very little about IIS so can't actually help with the original question.
Post Reply