Posted: Fri 28 Sep 2012, 14:42 Post subject:
Where is php.ini file?
I've looked in the usual places and used pfind to scan the whole file system for a php.ini file, but there isn't one. I need to increase my post_max_size and upload_max_filesize parameters.
I'm running Slacko 5.3.3 with Hiawatha and PHP all running perfectly, doing web development.
phpinfo returns all valid info and says php.ini is located at /usr/local/lib but it's not there.
L18L
Joined: 19 Jun 2010 Posts: 1715 Location: Burghaslach, Germany
Posted: Sun 30 Sep 2012, 07:59 Post subject:
Re: Where is php.ini file? Subject description: Nowhere
captnemo wrote:
...Any ideas?
If there was a php.ini it could overwrite the builtin defaults.
but php does not need a php.ini
Puppy versions like to be slim so having no php.ini is more than OK
in another thread you wrote:
It shows a location where it expects an ini file but it's not there. And below that it confirms that no configuration file was read.
Yes. My question is answered. I've learned that PHP can run on internal defaults and that's what it's doing.
To reply to the comment about Rox. Yes, I use Rox but to look for the ini file I used find / -name php.ini, which will find it for sure if it's on the machine.
Now I'm faced with creating an appropriate ini file because I need to change various things, such as the upload limit, from the defaults. So that's the new project. haha.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum