Re: php.ini is not working in PHP4

From: Date: Wed, 28 Jun 2000 14:04:20 +0000
Subject: Re: php.ini is not working in PHP4
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3552@lists.php.net to get a copy of this message
When I attempted to do this I had the config path point to the full file like: --with-config-path=/www/conf/php.ini But that never worked for me and ended up just making the php file inaccessible. In the end, I left the with-config-path switch off and just put the php.ini file in the /usr/local/lib directory. Sorry, I am not much help but I'm just giving my experience with the thing. I found it interesting that on 6/28/00 9:41 AM Jeffrey Barendse said: > I uses the following commands for the compilation: > > ./configure --with-apxs=/www/bin/apxs --with-mysql --with-config-path=/www/c > onf --with-xml > > After installtion PHP works fine in Apache but I can't change the > environment variables like safe_mode=on and tmp_upload_dir= . > > When I run <? phpinfo(); ?> i get something strange > > Configuration File (php.ini) Path = /usr/local/lib > > But I compiled it on /www/conf. When I place a php.ini file in one of the > maps and I reboot the Apache server nothing happens. It still got the same > variables and it seams the systeen does not read the php.ini file. > > I spend 10 hours on reading info about PHP but al the installation > documentation is for PHP3. > > What is the problem? How do I activate the php.ini? -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#3552) next »