/    Sign up×
Community /Pin to ProfileBookmark

php.ini not being loaded… help

Hi all,

I am trying to figure out why editing php.ini doesn’t seem to be doing jack.

Here is my configure line:

[code]./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[/code]

When I edit /etc/php.ini and I restart apache, non of my changes take effect. Does anyone have ANY ideas on what I can do or look into?

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@WebnerdMar 10.2006 — Yeah, do a

<i>
</i>locate php.ini


or

<i>
</i>whereis php.ini


from the command line. Maybe the "in-use" php.ini file is not in /etc
Copy linkTweet thisAlerts:
@chrysauthorMar 10.2006 — Yeah, I've done locate php.ini and I changed every php.ini and still nothing worked, lol.

whereis php.in returned this:

php: /usr/bin/php /etc/php.ini /usr/lib/php /usr/local/bin/php /usr/local/lib/php /usr/include/php /usr/share/php /opt/lampp/bin/php /usr/man/man1/php.1

Any more ideas?
Copy linkTweet thisAlerts:
@chrysauthorMar 10.2006 — Oh, and here is my phpinfo:

http://edvisors.gotdns.com:800/info.php

Most importantly:

Configuration File (php.ini) Path /etc/php.ini
Copy linkTweet thisAlerts:
@chrysauthorMar 13.2006 — *bump* Still looking for answers
Copy linkTweet thisAlerts:
@WebnerdMar 13.2006 — Do you have another php version installed on the server? I ran into a problem like this when we had 2 different installs of PHP on a server. Try running "php -v" from the shell prompt and compare it against what "you think" is installed. There might be a conflict.
Copy linkTweet thisAlerts:
@bokehMar 13.2006 — Don't forget to restart Apache after editing php.ini.
×

Success!

Help @chrys spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...