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.
This is crazy. Any ideas?
Where is php.ini file?
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Where is php.ini file?
If there was a php.ini it could overwrite the builtin defaults.captnemo wrote:...Any ideas?
but php does not need a php.ini
Puppy versions like to be slim so having no php.ini is more than OK
So your problem is solved nowin 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.
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.