Re: [PHP] Chocked
- From: lists@xxxxxxxxx (Jim Lucas)
- Date: Fri, 29 Dec 2006 08:48:36 -0800
Peter Lauri wrote:
I was chocked when I got my additional dedicated server from my serverMore the likely it is a difference in the include_path setting which can be found in the php.ini file. This can also override this setting in the VirtualHosts block and .htaccess file. Check these locations for any additional include_path changes in the old system. sometimes you will see things like
provider. I assumed everyting would have been the same as I ordered the
server with same package name etc. The chocking part was that the server had
PHP5 and not PHP4.
Ok, it is not a hard piece of work to get it working, but one thing stunned
me :-)
Assuming that I have the following structure:
/index.php
/classes/first.class.php
/classes/second.class.php
Index.php:
include_once("classes/first.class.php");
first.class.php
include_once("second.class.php");
This worked fine, but this time I get an "open dir" error. Is this something
that is new to PHP5 for this, or do I just need to config the server to
accept this "sloppy" including of files?
Best regards,
Peter Lauri
<http://www.dwsasia.com/> www.dwsasia.com - company web site
<http://www.lauri.se/> www.lauri.se - personal web site
<http://www.carbonfree.org.uk/> www.carbonfree.org.uk - become Carbon Free
include_path = '/path/to/htdocs:.:/var/www/html'
or other variations of this
Jim Lucas
.
- Follow-Ups:
- Re: [PHP] Chocked
- From: "Casey Chu"
- Re: [PHP] Chocked
- References:
- Chocked
- From: "Peter Lauri"
- Chocked
- Prev by Date: Re: [PHP] Payflow and Php5 on FreeBSD
- Next by Date: Re: [PHP] 403 Forbidden
- Previous by thread: Re: [PHP] Chocked
- Next by thread: Re: [PHP] Chocked
- Index(es):
Relevant Pages
|