Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Jul 2015, 23:58
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Default PHP.INI File
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 11 Sep 2012
Posts: 40

PostPosted: Sat 29 Sep 2012, 12:34    Post_subject:  Default PHP.INI File
Sub_title: looking for one

I'm running Slacko 5.3.3 with Hiawatha and PHP. All is running fine but I need to make some adjustments to the php.ini file.

However, it turns out there IS no php.ini file with my installation. find / -name php.ini turns up nothing. PHP is apparently running on internal defaults.

So I'm looking for a "typical" default php.ini file to use as a starting point for configuring this thing.

The first bit of phpinfo() is shown below. 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.

System Linux puppypc27816 3.1.10-slacko_4gA #1 SMP Tue Mar 13 14:58:11 EST 2012 i686
Build Date Dec 20 2007 09:55:00
Configure Command ./configure --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib
Loaded Configuration File (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*
Back to top
View user's profile Send_private_message 

Joined: 11 Sep 2012
Posts: 40

PostPosted: Fri 12 Oct 2012, 11:34    Post_subject:  

I just want to mention that this is solved.

I didn't realize that PHP checks the web site's root directory for a file called php.ini and that this file only needs to contain the parameters you wish to set or override. I had assumed that my php.ini file had to be a complete ini file and that the php engine would read my ini file instead of the existing one.

Silly me.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0503s ][ Queries: 12 (0.0158s) ][ GZIP on ]