Page 1 of 1

php.ini

PostPosted: 20. July 2009 23:34
by dree
I have a problem , when i installed xampp 1.7.1 i dont have no php.ini in c:/windows and in c:/xampp/apache/bin folder .

Why so ? I just installed a fresh windows xp.

Re: php.ini

PostPosted: 20. July 2009 23:42
by Wiedmann
when i installed xampp 1.7.1 i dont have no php.ini

Not possible. Open phpinfo() and see which ini your PHP is using.

(or just do a simple file search)

Re: php.ini

PostPosted: 21. July 2009 09:36
by dree
I have only a php.ini in c:/xampp/php but i dont have the :

REQUIRED APACHE MODS
in the php.ini

Like :

zend.ze1_compatibility_mode
zend_optimizer.enable_loader = 0

And other i dont have them in my php.ini !

Re: php.ini

PostPosted: 21. July 2009 09:52
by Wiedmann
And other i dont have them in my php.ini !

If you need these entries, you have to add them.

Re: php.ini

PostPosted: 21. July 2009 09:59
by dree
Ok , i opened the Open phpinfo() , and it showed me these directorys for the php.ini which php.ini it using.

Configuration File (php.ini) Path no value
Loaded Configuration File C:\xampp\php\php.in

So i , took a php.ini ( it has all the needed apache mods enabled ) from the internet and replaced with the c:/xampp/php/php.ini . But when i go mysite/install.php it shows that i havent enabled the Zend Optimizer , but i have , i checked the php.ini file 10x times i have enabled the needed setting's !

So what the problem ?

Re: php.ini

PostPosted: 21. July 2009 10:23
by Wiedmann
So what the problem ?

You can't simply replace your local php.ini with an INI from another server.