•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Servers and Apache section within the Tech Talk category of DaniWeb, a massive community of 392,075 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,082 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Servers and Apache advertiser:
Views: 3686 | Replies: 1
![]() |
•
•
Join Date: Jun 2006
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
hi all,
now a days i am facing a severe problem in my website.it is due to my web hosting provider.because now they changed the php as cgi module(I think),so the php_value include_path in .htaccess file is not working now.Before changing the php as cgi module it worked well.If I will enable the php_value include_path :/home/username/public_html/includes in .htaccess the server says internal server error(500).
So I removed the .htaccess file and I placed a php.ini under /home/username/public_html/ path.Also I have added a line include_path = .:/usr/local/lib/php.:/home/username/public_html/includes(this is my actual include path all over the site) in php.ini.
Now the main issue is the include path is working well for only php files under /home/username/public_html/ (like index.php,disclaimer.php..).It is not working for /home/username/public_html/anyfolder..
To check please click the following links..
http://www.webmaster-directory.net/index.php (include files working)
http://www.webmaster-directory.net/free-cms/ (include files not working)
for your reference the following link is my phpinfo()..
http://www.webmaster-directory.net/test.php
I don't know how to resolve this error ..if anybody faced this problem already or anyone who knows how to resolve this problem please share it.
thnks in advance... http://www.ozzu.com/images/smiles/icon_smile.gif
now a days i am facing a severe problem in my website.it is due to my web hosting provider.because now they changed the php as cgi module(I think),so the php_value include_path in .htaccess file is not working now.Before changing the php as cgi module it worked well.If I will enable the php_value include_path :/home/username/public_html/includes in .htaccess the server says internal server error(500).
So I removed the .htaccess file and I placed a php.ini under /home/username/public_html/ path.Also I have added a line include_path = .:/usr/local/lib/php.:/home/username/public_html/includes(this is my actual include path all over the site) in php.ini.
Now the main issue is the include path is working well for only php files under /home/username/public_html/ (like index.php,disclaimer.php..).It is not working for /home/username/public_html/anyfolder..
To check please click the following links..
http://www.webmaster-directory.net/index.php (include files working)
http://www.webmaster-directory.net/free-cms/ (include files not working)
for your reference the following link is my phpinfo()..
http://www.webmaster-directory.net/test.php
I don't know how to resolve this error ..if anybody faced this problem already or anyone who knows how to resolve this problem please share it.
thnks in advance... http://www.ozzu.com/images/smiles/icon_smile.gif
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Linux Servers and Apache Marketplace
•
•
•
•
apple architecture bbc cell cellphone computer core daniweb debian dell desktop development enterprise fedora games gentoo google gpl hardware ibm install internet ipod kernel laptop links linux microsoft mmorpg mobile news novell open open source openoffice operating os red hat security server software source sun suse system ubuntu unix vista web windows
- Internal Server Error (Perl)
- "Forbidden / You don't have permission to access / on this server." error (Linux Servers and Apache)
- 500 internal server error (*nix Software)
- 500 Internal Server Error - with a twist (Perl)
- why getting "302 found" and "500 Internal Server" errors? (PHP)
- Http 500 -internal Server Error (Site Layout and Usability)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: help somebody is hacking our site
- Next Thread: Forbidden | You don't have permission to access /~username on this server.


Linear Mode