SOLVED-Running differnet versions of XAMPP,NOT Simulatenous

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

SOLVED-Running differnet versions of XAMPP,NOT Simulatenous

Postby magj » 22. November 2010 15:28

Hi

I think that the answer is so clear but I couldn't find it somewhere. :!: After reading tens (really)of pages either in this forum or other sites(maybe I'm missing something).

I want to have (NOT SIMULTANEOUSLY) two different versions of XAMPP in different folders(then i do not need to change the port) :roll:

I have a running version xampp fully configured and used for years. But for some reason (read testing....)
1-I downloaded a Zip version of a more recent version of XAMPP and extracted to another folder(and ran the setup which updates config files to the current folder i.e. php.ini /httpd.conf , etc..)
2-I STOP the Older xampp /Start the newer xampp Control center and start the apache but Apache tries to run the older xampp's PHP and I get these errors:(The New folder is in N:/xampp/ but the log says it's going to run from Older N:/Xampp....)

Code: Select all
PHP Warning:  PHP Startup: curl: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: gettext: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: imap: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: mbstring: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'o:\\xampp\\xampp\\php\\ext\\php_exif.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: mime_magic: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: ming: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: mssql: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: mysql: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: mysqli: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: openssl: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: pdf: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: PDO: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'o:\\xampp\\xampp\\php\\ext\\php_pdo_mssql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'o:\\xampp\\xampp\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'o:\\xampp\\xampp\\php\\ext\\php_soap.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: sockets: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'o:\\xampp\\xampp\\php\\ext\\php_sqlite.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: xmlrpc: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: xsl: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: zip: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP    compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
[Mon Nov 22 17:39:18 2010] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations


I think it should be the php-switch (but not sure how to do it)

Any Help Would be GREATLY Appreciated
Regards
magj
Last edited by magj on 22. November 2010 17:26, edited 1 time in total.
magj
 
Posts: 4
Joined: 29. June 2009 05:09
Operating System: Ubuntu 11.10

Re: Running differnet versions on XAMPP NOT Simulatenously

Postby magj » 22. November 2010 16:26

Thanks for your reply
I'm not really a tech guy but I think double backslashes are escaped and there should be no problem wit them....
But I didn't get the point what should I really do?

The real question is how should I configure the second xampp PHP/Apache to run? (Yes,the old version is installed but the new is extracted only, I do not want to uninstall the old one because I have many sites/configurations on it)

Thanks in advanced
Regards
magj
magj
 
Posts: 4
Joined: 29. June 2009 05:09
Operating System: Ubuntu 11.10

Re: Running differnet versions on XAMPP NOT Simulatenously

Postby magj » 22. November 2010 17:23

Thanks wole for your help

I managed to this way:

Copied the whole Xampp Folder elsewhere , Uninstalled it and ran the xampp from each folder and it's OK.

The key is: you should only have installed "extracted versions" due to php/windows configuration conflicts, to be able to run multiple versions.

Regards
magj
magj
 
Posts: 4
Joined: 29. June 2009 05:09
Operating System: Ubuntu 11.10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 76 guests