How to use PHP 5.4? |
How to use PHP 5.4? [RESOLVED] |
|
Okay, blank moment there, obviously I was checking the version of my own PHP installation. About 2 seconds after posting to the forum it struck me I'd set phped to use a 3rd party web server, after switching the phped run mode to the built-in web server I saw it uses php 5.4
The latest Tech Platform 8.1 (which I use) uses php 5.3 so if you're using this or some other package you might have to upgrade manually. I couldn't find any instructions for upgrading to php 5.4 so I thought it might be useful for others if I put something here. So to upgrade to php 5.4 for windows: - download the php zip from php.net at windows.php.net/download/ - exit phped if it's running - in services stop the apache service - rename your existing php folder to something like php53 - create a new empty php folder and unpack the php zip into it - copy one of the default php.ini files to php.ini (I used php.ini-development) - merge your original php53\php.ini with the new php.ini (you can probably just copy your original php.ini but I saw there were some changes for php 5.4) - restart the apache service - run phped and open a project - under Project Properties run the Settings Wizard to sort out the debugger - when asked "Do you want Dbg-Wizard to fix the problem" click Yes and follow instructions - while in project settings fix the annoying localhost ipv6 problem (is it only me?) - click Debugger settings, tick "Use SSH tunnel" and set the Tunnel listening address to 127.0.0.1 - save the settings and try debug your project, you should now be using php 5.4 - if it all works you can delete the backup folder php53, or leave it if you want to be able to switch between 5.3 and 5.4 |
||||||||||||
|
Site Admin
|
in fact v9 comes with php 5.4, not with php 5.3. Latter is available separately. If you've already installed 5.3, you can switch back to 5.4 -- just update path to php executables on SRV and CLI settings. What you need to change is "php 5.3 and higher" line.
|
||||||||||||
_________________ The PHP IDE team |
How to use PHP 5.4? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by