NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Warning: simplexml_load_file(): Unable to find the wrapper &


Joined: 17 Dec 2013
Posts: 13
Reply with quote
Hi

Where can I find the php.ini file for the php installation used by PHPeD?

I have configured the Xamp installation but now getting this error when running the program in PHPeD server ' Warning: simplexml_load_file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? '

Thanks for your help.
View user's profileFind all posts by kathekasSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
On a 64-bit system, PhpED keeps its own PHP in the x86 directory.

%ProgramFiles(x86)%\NuSphere\PhpED

On 32-bit it is in normal Program Files:

%ProgramFiles%\NuSphere\PhpED

Either Php5 (for v5.2) or Php54 (for v5.4) will be what you need.

Another way of working this out on any system is create a small script and run it:

Code:
<?php
phpinfo();


That information will show where the php.ini is located for whatever PHP you are using.

Uncomment the ;extension=php_openssl.dll to fix that error.

When updating PhpED be sure not overwrite the existing php.ini files.
View user's profileFind all posts by plugnplaySend private message


Joined: 17 Dec 2013
Posts: 13
Reply with quote
Many thanks, that worked. I close and opened phped to get it working after aftering.

Is there another way, other than stopping and starting phped?

Thanks again

Geoff
View user's profileFind all posts by kathekasSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
It is SRV (the PhpED local web server) that needs the restart rather than PhpED, but restarting PhpED does that for you. If you have can see the blue SRV icon in your task tray, you can right-click it to stop then start SRV.

Most full web servers also need restarts after changing extensions.
View user's profileFind all posts by plugnplaySend private message


Joined: 17 Dec 2013
Posts: 13
Reply with quote
Thanks
View user's profileFind all posts by kathekasSend private message
Warning: simplexml_load_file(): Unable to find the wrapper &
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