NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
New user needs hopefully a very simple answer to a setting


Joined: 30 May 2010
Posts: 2
Reply with quote
My system is Windows 7 running WAMP and the latest PhpED build.

I'm a student of php I guess you can say as I'm just learning and slowly been picking it up. I have been using PhpED for a few months now and there is this one thing that completely baffles me on the configuration.

When I installed (and whenever updating) PhpEd I always select php5.2, but it appears to gravitate to php5.3 every time and I don't know how to force it to where I want it - v5.2.
When I go into Tools > Setting > External Tools it doesn't matter what I tell it there. I can put the path to my 5.2 ini file but it still is using 5.3. I confirm this by running phpinfo().. I assume that's what this configuration setting is for?? To choose which file to use??

In phpinfo() this is what I have:
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\Program Files (x86)\NuSphere\PhpED\php53\php.ini

The above makes no sense because first of all I do not have a php.ini file in my Windows directory and secondly, at the moment my php.ini in External Tools is pointing to my WAMP directory which has it's own php.ini file (but it's not being used anyway by the editor!). So nothing above there is accurate.

I hope someone can help and knows how to set the proper php.ini file. This is very confusing.
View user's profileFind all posts by mustbSend private message


Joined: 11 Apr 2010
Posts: 90
Location: Prague, Czech Republic
Reply with quote
Hello. You probably missed an information, that phpEd is an IDE and as such it has its own PHP compiler for both 5.2 and 5.3. By changing setting in phpEd, you are just setting the behavior of the IDE (i.e. phpEd), not the behavior of your web server (WAMP). This means, that by changing setting in phpEd, you are just telling the IDE in what PHP you want to develop, what syntax it should check and what assistance it should offer. But once you are running your PHP code on your server (WAMP), you are running it on the PHP installed on that server - PHP 5.3 as is seems. So simply put, you need to get another WAMP installation with PHP 5.2, if you want a PHP 5.2 setup, because phpEd is just a development tool, not a server itself.
View user's profileFind all posts by fibizaSend private message


Joined: 30 May 2010
Posts: 2
Reply with quote
Thank you fibiza. I agree with you that I blurred the relationship between PhpED and my web server. What you explained cleared up a lot of little mysteries for me and now makes perfect sense.


Thanks again!
View user's profileFind all posts by mustbSend private message
New user needs hopefully a very simple answer to a setting
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic