PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old January 2nd, 2004, 02:02 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
include_path don't work

I've installed a new machine with linux RedHat Enterprise and I'm working n a LAN. I've configured Apache + MySQL and PHP, all is correct, but when I'm using a site that I've maked some times ago, and that on line it's opetive, the server said me the follow error:

Warning: Failed opening 'charset.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/padrino/public_html/website/antichisaporisardi/admin/header_shop.php on line 4


The path isn't correct. I've tryed to change the path srint at the /etc/php.ini file, and I've tryed to disable it, all times change the answer, but every time I've the same problem: I can't use the "include" or the "require" istruction in my website. I think I must change some configuration in some file, but I can't understand who and how.

Tanks for your help

Reply With Quote
  #2  
Old January 2nd, 2004, 04:24 AM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: include_path don't work

Placing a semicolon in front of line include_path line in php.ini, save it, and then try your script.

If all else fails, use the ini_set() function. ie: ini_set("include_path", get_ini("include_path) . ":/home/padrino/public_html/website/antichisaporisardi/admin/");

Best of luck,


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > include_path don't work


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway