php.ini file not being read

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
chrys
Forum Contributor
Posts: 118
Joined: Tue Oct 04, 2005 9:41 am
Location: West Roxbury, MA (Boston)

php.ini file not being read

Post by chrys »

Ok, I don't know what's going on. I'm trying to install ssh2.

Basically here is my configure command:

Code: Select all

./configure --prefix=/usr --includedir=/usr/include --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-jpeg --with-zlib --enable-magic-quotes --with-regex=system --enable-xml --enable-ftp --disable-debug --with-pdflib-dir=/usr/lib --with-mysql=/usr/local/mysql --with-freetype-dir=/usr/lib --enable-gd-native-ttf --enable-gd-imgstrttf --with-ttf --with-calendar --with-config-file-path=/etc/php.ini
I go and edit /etc/php.ini and set display_errors = Off

I restart apache

I load a page that has a fatal error on it, and it still displays it. This leads me to believe the php file is not being read.

I have been at it for hours, can't get anywhere. Need help!

It's appreciated. Thank you
Post Reply