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 17 Sep 2014, 01:45
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 [2 Posts]  
Author Message
captnemo

Joined: 11 Sep 2012
Posts: 40

PostPosted: Sat 29 Sep 2012, 12:34    Post subject:  Default PHP.INI File
Subject description: 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 
captnemo

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 from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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


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