Edited to make it simpler.
amanda099 wrote:Then I rename the file C:\xampp1\xampp-control into C:\xampp1\xampp1-control
No need to rename this file and also you have not enabled the file extension visibility setting on your PC which can give you file recognition issues down the track.
Open
Windows Control Panel and select
Folder Options.
Then un-tick the box
"Hide extensions for known file types"Click
Apply then
OK and close the Control Panel window.
Now check your file again and this time it should show as
xampp-control.exe or, as you have inadvisedly changed the name, it should read
xampp1-control.exe.
amanda099 wrote:*** WARNING: Directory mismatch ***
You can safely ignore this message as it relates to a non existent registry entry and is hard coded in older XAMPP version's XCP.
To change the Listen directive in 1.7.2 open the
C:\xampp\apache\conf\httpd.conf file in your text editor (
notepad for example) and find the line
Listen 80 and change it to
Listen *:8080 for example which is the alternative to port 80.
Now when you want to access 1.7.2 files you would always have to add the new port number to the address in your browser, for example:
http://localhost:8080http://localhost:8080/phpmyadminhttp://mywebsite:8080/zendcart/index.phpGet the idea?
Now to use the zencart in the 1.7.2 folder using 1.7.1 you would need to create an
Alias directive in the
httpd-xampp.conf file in the
C:\xampp\apache\conf\extra\ folder of version 1.7.1
There are already some working
Alias examples in the 1.7.1
httpd-xampp.conf file and if you add your
Alias for the zencart files after the phpmyadmin Alias entry so yours, for example, may look like this
- Code: Select all
Alias /zencart "C:\xampp1\htdocs\imabeauty\zencart\"
<Directory "C:\xampp1\htdocs\imabeauty\zencart">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Then when you have 1.7.1 running and you type in your browser:
http://yourwebsite/zencart/index.phpthen it should go to the zencart folder in the 1.7.2 version of XAMPP and load the zencart files.
You may also have to change the SSL port in httpd-ssl.conf in the extra folder of version 1.7.2 like so:
Listen 443
to
Listen 4433
and in 2 other locations in this httpd-ssl.conf file that specify 443, change those 2 also to 4433.
Accessing the secure socket layer now in 1.7.2 would need you to add the port number much like the regular http requests outlined above.
for example:
https://localhost:4433https://yourwebsite:4433/zendcart/index.phpThere is already a self signed SSL certificate provided in XAMPP that will always give an error message that can usually be ignored when developing but would cause concern if used on your production server - see the reading advice above.
Don't forget to make backup copies of the conf files and to restart the Apache server after editing.