php.ini

Problems with the Windows version of XAMPP, questions, comments, and anything related.

php.ini

Postby dree » 20. July 2009 23:34

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.
dree
 
Posts: 3
Joined: 20. July 2009 23:32

Re: php.ini

Postby Wiedmann » 20. July 2009 23:42

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)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: php.ini

Postby dree » 21. July 2009 09:36

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 !
dree
 
Posts: 3
Joined: 20. July 2009 23:32

Re: php.ini

Postby Wiedmann » 21. July 2009 09:52

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

If you need these entries, you have to add them.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: php.ini

Postby dree » 21. July 2009 09:59

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 ?
dree
 
Posts: 3
Joined: 20. July 2009 23:32

Re: php.ini

Postby Wiedmann » 21. July 2009 10:23

So what the problem ?

You can't simply replace your local php.ini with an INI from another server.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 60 guests