Where is php.ini (ubernub)
A search on Google for php.ini and CentOS yielded this:
By "default php.ini should be installed at /usr/local/lib/php.ini"…
"Unless you're running Zend, in which case the file at /usr/local/lib/php.ini should be a symbolic link to /usr/local/Zend/etc/php.ini"
I have no access to a CentOS machine but try those. If those do not work but your PHP is working, try a test script (say phptest.php):
and open it via your browser (
Chances are, though, the one you want will be /etc/php4/apache2/php.ini or similar. Notice the Apache-specific name - if you're using mod_php with Apache 2.x (and most people are), then this is the one you want. It might be in a different directory depending on the distribution (this example is from Debian), but it'll be something along those lines.
Ok i got it, I have to edit it with nano, but why wont' the file show up through SFTP?