HTTP/1.1 // 38.107.191.85 // // 54972 // // CCBot/1.0 (+http://www.commoncrawl.org/bot.html)

Wordtracker Keyword Research

Which php.ini?

Sep
18
2009

New to DEVTRENCH? Sign up for the RSS feed.

A hard thing for me to figure out when first using php from the command line was that it uses a different php.ini than apache does,and can even be a different version of php. It was also hard to figure out what php.ini was loaded. Here are some useful commands if you find yourself in this situation:
php -- (tells you which php.ini it's using and where it is, and any additional .ini files parsed)
php -v (php version number)
which php (shows the location of the php executable)
man php (learn all the options for php from the cli)


Comment Here » 731 views
Posted in: General

Read More...

  • No related posts

Comments »

Allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

No comments yet.