I have WAMP with Apache v2.2.17 and PHP 5.3.5 installed. However, for one of my projects to work I need to use PHP 5.4. There doesn't seem to be a WAMP addon for PHP 5.4, so I'm thinking of downloading the standard installer from the PHP site and just installing it normally, then changing Apache's httpd.conf file to point at the new version when I need it.

My question is, is it safe to install PHP 5.4 on my PC when it already has another version installed? Will it mess anything up like registry settings, or will everything be fine in theory if I just install it in a different directory?

Thanks.

有帮助吗?

解决方案

PHP does not use registry settings. All configuration settings are part of the PHP.ini file. As long as the installation is kept separate (different dir etc); there would not be any problems.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top