»User: »Password:   Remember Me? 
>e-novative> Support and Discussion Forums / General / Tech Support / Trying to move php.ini
Posted:  16 Aug 2007 09:17
Hi,

I've installed WAMP v2.1.1, mostly using defaults. Since installing, I decided to move it to another location (F:\_WAMP). Modified all registry settings, configuration files, etc., and everything seems to be working except I cannot get php to recognize the moved php.ini file (now in F:\_WAMP\php). I cannot get WAMP to find php.ini unless it's in C:\WINDOWS. I've tried including:
Code:

SetEnv PHPRC "f:/_WAMP/php"
LoadModule php5_module "F:/_WAMP/php/php5apache.dll"
AddType application/x-httpd-php .php

in wamp.conf to no avail. Any ideas?

TIA.

Dirk
Posted:  23 Aug 2007 13:05
Hmm, I'm not sure if PHPRC must contain the full path and filename. Other than that, I have no idea, since I have never tried to move php.ini elsewhere (or, to be accurate, I tried without success, that's why it is still located in the Windows directory for WAMP).

I assume that you have restarted the web server after changing the php.ini?