PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
s3rg1o
Forum Commoner
Posts: 32 Joined: Sun Feb 16, 2003 4:58 pm
Post
by s3rg1o » Sun Apr 06, 2003 1:56 am
Hey guys, I recently installed php 4.3.1 with the latest version of GD (2.0.12) I usually go in after a php install to change php.ini to the settings I like especially turning register_globals on and changing the post size well...it's not there! it's not in /usr/local/lib/php.ini...
here is the configuration I used
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql' '--enable-ftp' '--with-gd=/usr/local/gd-2.0.12' '--with-jpeg-dir=/usr/local' '--with-config-file-path=/usr/local/lib/php.ini'
I trued it without --with-config-file-path and still no dice...where is php.ini
oh yeh I also did a
#locate php.ini
no dice
d1223m
Forum Commoner
Posts: 80 Joined: Mon Mar 31, 2003 5:15 am
Location: UK, West Sussex
Post
by d1223m » Sun Apr 06, 2003 4:18 am
you could use strace on the php cli binary maybe
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Sun Apr 06, 2003 8:47 am
tells you which php.ini is used (if the file is present)
s3rg1o
Forum Commoner
Posts: 32 Joined: Sun Feb 16, 2003 4:58 pm
Post
by s3rg1o » Sun Apr 06, 2003 12:36 pm
oh yes, that was read, /usr/local/lib/php.ini
but it's not reading it and I have no idea how to get php to read it!
d1223m
Forum Commoner
Posts: 80 Joined: Mon Mar 31, 2003 5:15 am
Location: UK, West Sussex
Post
by d1223m » Sun Apr 06, 2003 12:39 pm
how do you _know_ its not reading it?
s3rg1o
Forum Commoner
Posts: 32 Joined: Sun Feb 16, 2003 4:58 pm
Post
by s3rg1o » Sun Apr 06, 2003 12:52 pm
because I changed register_globals to ON and I changed the path for the MySQL socket
d1223m
Forum Commoner
Posts: 80 Joined: Mon Mar 31, 2003 5:15 am
Location: UK, West Sussex
Post
by d1223m » Sun Apr 06, 2003 1:13 pm
fair enuff
twigletmac
Her Royal Site Adminness
Posts: 5371 Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK
Post
by twigletmac » Sun Apr 06, 2003 1:31 pm
Did you restart your web server when you made the changes to the php.ini?
Mac