NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
is pear built in to latest nusphere?


Joined: 04 Nov 2009
Posts: 37
Reply with quote
how to access pear
View user's profileFind all posts by jerseyguy0Send private message
Re: is pear built in to latest nusphere?


Joined: 16 Aug 2008
Posts: 29
Reply with quote
[quote="jerseyguy0"]how to access pear[/quote]

http://pear.php.net/manual/en/installation.getting.php
View user's profileFind all posts by odinuvSend private message
php used by nusphere


Joined: 04 Nov 2009
Posts: 37
Reply with quote
C:\Program Files (x86)\NuSphere\PhpED\php54\php.ini

can I install to the php used by nusphere?
View user's profileFind all posts by jerseyguy0Send private message
Guru master

Joined: 24 Jul 2009
Posts: 732
Reply with quote
The PHP used by NuSphere is just normal PHP with the NuSphere DBG extension already implemented, so yes, you can install any extensions. Not only that, but Windows PHP extensions are often pre-built binaries, so are often easier to install than Linux.

When installing a PhpED upgrade, watch out for the prompt to overwrite your php.ini file, because if you do, it will disable your extensions. Unfortunately NuSphere PHP does not appear to be compiled to scan a directory for additional ini files. Maybe that would be a useful feature but personally I would be inclined to setup a separate PHP, as it means upgrading PhpED cannot intefere with your PHP.

If you do this, you might occassionally have to install an updated DBG extension. If you are doing web site development then using a separate web server (eg Apache) with PHP does have benefits over using the NuSphere SRV web server.

You can use the various WAMP, etc. installations or you can use NuSphere TechPlatform, which is what I use. With TechPlatform you have to install MySQL separately (if you use it) but if you are currently using NuSphere SRV then you've possibly done that already.
View user's profileFind all posts by plugnplaySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7897
Reply with quote
The easiest way to install PHP PEAR is to use PhpED's built-in wizard.
It is a part of Test Suite feature, so you have to perform the following:
-open project properties on Test Suite page and check "Enable" checkbox
-enter any new directory name for tests (it can be for example "tests")
-close properties with [Ok] and agree to create this new directory
-open Tools->Show Test Suite (F6)
-open Test Suite Settings in the test suite toolbar
-click Check Pear button in the bottom

Alternatively per
http://www.nusphere.com/kb/technicalfaq/howto_install_pear_library.htm


Quote:

PEAR is included with PHPED IDE but has to be installed separately. Open Tools->Settings on External Tools page, and click [Check] button next to Path to php PEAR input and proceed with PEAR installation Wizard. Once the PEAR is installed and checked, it will also offer to install phpUnit which is a part of Test Suite that you may want to use for testing your code.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
is pear built in to latest nusphere?
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