IT Community - Software Programming, Web Development and Technical Support

How can I set the include path and other settings that are fixed in php.ini

This is a discussion on How can I set the include path and other settings that are fixed in php.ini within the PHP Programming forums, part of the Web Development category; Hi all.... How can I set the include path and other settings that are fixed in php.ini without having ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-26-2007, 03:51 AM
itbarota itbarota is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 547
itbarota is on a distinguished road
Default How can I set the include path and other settings that are fixed in php.ini

Hi all....


How can I set the include path and other settings that are fixed in php.ini without having access to php.ini?


Thanks....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-26-2007, 03:53 AM
Pvinothkumar Pvinothkumar is offline
D-Web Analyst
 
Join Date: Sep 2007
Posts: 237
Pvinothkumar is on a distinguished road
Default Re: How can I set the include path and other settings that are fixed in php.ini

Hi all...


If you are hosting on a Linux server you may (Depending on your host) be able to use .htaccess this file must be in the root of the web directory.

The format is along the lines of (For PHP4 Module):-
php_value include_path .:/path/that/you/want/to/use
php_value magic_quotes_gpc "off"
php_value track_errors "on"

Thanks...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-26-2007, 04:26 AM
ursklakshmanan ursklakshmanan is offline
D-Web Trainee
 
Join Date: Aug 2007
Posts: 14
ursklakshmanan is on a distinguished road
Thumbs up Re: How can I set the include path and other settings that are fixed in php.ini

Hi techies,
U can change the ini setting in the include file app_init.php. i mean the initilization file . in that includes file,
ini_set('session.save_handler', 'files');
session_save_path ('tmp_dir/');
ini_set('session.gc_maxlifetime', '1440');
ini_set('allow_url_fopen', 1);
ini_set('auto_detect_line_endings', true);

these are all the few examles. so u can set the initilization file in ini_set syntax. hope u can understand this and u can get idea
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I set the include path and other settings that are fixed in php.ini without h itbarota PHP Programming 1 09-11-2007 08:05 AM
windows 2003 GPO settings not being applied arjkhanna Server Management 9 08-17-2007 01:23 PM
How would you sya that a bug is 100% fixed? devarajan.v Quality Engineering and Methodologies 1 07-27-2007 12:12 AM
How can I set the include path sivaramakrishnan PHP Programming 1 07-21-2007 12:11 AM
Relative path and Absolute path vigneshgets Operating Systems 3 07-18-2007 06:11 AM


All times are GMT -7. The time now is 05:01 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0