Problem Relocating php.ini

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem Relocating php.ini

Postby jas399 » 24. February 2010 23:34

Hi all,
There seems to be something wrong with the relocate function for php.ini in package_php.php (or
relocate_xampp.bat)

If something is added to the default include_path like this

include_path = ".;\xamp\php\PEAR;\xamp\myPhpApp"

and you try to do a relocate with setup_xampp.bat, you will end up with a path which is partially replaced like this:
include_path = ".;\new_xamp_dir\php\PEAR;\xamp\myPhpApp"

i.e only the first occurrence on the line is replaced.

Is this the intended behavior? Is there something that can be done to correct it? I must admit that I'm a noob wrt preg_replace which seems powerful beyond belief.

Rgds
/Anders
jas399
 
Posts: 1
Joined: 24. February 2010 23:19

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 253 guests