Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multiple php.ini files?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
idiotprogrammer
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 179
Location: Texas

PostPosted: Sun Mar 02, 2003 1:08 am    Post subject: multiple php.ini files? Reply with quote

bash-2.05b# find / -name 'php.ini'
/etc/php4/php.ini
/etc/apache/conf/addon-modules/php.ini
/etc/apache/conf/php.ini
/var/tmp/portage/php-4.3.1/work/php-4.3.1/pear/tests/php.ini

Which of these is The php.ini file I need to worry about?

rj
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Sun Mar 02, 2003 1:12 am    Post subject: Reply with quote

just it check with phpinfo() ...
Code:
<?php phpinfo() ?>

_________________
Markus Nigbur
Back to top
View user's profile Send private message
idiotprogrammer
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 179
Location: Texas

PostPosted: Sun Mar 02, 2003 3:17 am    Post subject: well, Reply with quote

if only it were that easy....

I'm trying to troubleshoot why apache/php is not parsing php files. In other words, the reason I want the right php.ini file is so phpinfo can work!

rj
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Sun Mar 02, 2003 11:42 am    Post subject: Reply with quote

if your apache is configured for php correctly, you even don't need a php.ini.

so double check your httpd.conf
_________________
Markus Nigbur
Back to top
View user's profile Send private message
atac
Apprentice
Apprentice


Joined: 04 Jan 2003
Posts: 234
Location: haninge, swe

PostPosted: Sun Mar 02, 2003 2:11 pm    Post subject: Reply with quote

Code:

marvin conf # ls -l php.ini
lrwxrwxrwx    1 root     root           17 Mar  2 11:00 php.ini -> /etc/php4/php.ini


there's ONE php.ini, the rest is symlinks witch point to that one.
_________________
1 + 1 + 1 = 11
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum