Jim Lucas wrote:
> Possibly that apache is chroot'ed.
I know you said LAMP. But which OS/etc...
Sometimes you can see from the cli if httpd is rooted.
run 'ps aux | grep httpd' and see if httpd says anything about chroot
I don't see anything here
root 1937 0.0 5.2 25600 13456 ?
Dan Joseph wrote:
Ok, I have changed my php.ini and restarted apache. My include_path is set
to
include_path = ".:/srv/www/html"
but when I try from /srv/www/html/library/index.php:
require '/Tools/dbtools/dbtool.php';
or
require 'Tools/dbtools/dbtool.php';
or
require '../Tools/dbtools/dbtool.
Tyson Vanover wrote:
Jim Lucas wrote:
Their are two ways that come to mind.
1. Like Dan suggested, use the full path.
2. (I prefer this way), change your include_path setting either in
your php.ini file, virtual host, .htaccess or in your script to
include the base path for your web site "/s
On Fri, May 16, 2008 at 4:36 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote:
> Jim Lucas wrote:
>
>> Their are two ways that come to mind.
>>
>> 1. Like Dan suggested, use the full path.
>>
>> 2. (I prefer this way), change your include_path setting either in your
>> php.ini file, virtual host, .htac
Jim Lucas wrote:
Their are two ways that come to mind.
1. Like Dan suggested, use the full path.
2. (I prefer this way), change your include_path setting either in your
php.ini file, virtual host, .htaccess or in your script to include the
base path for your web site "/srv/www/html/" and then
On Fri, May 16, 2008 at 3:41 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> Tyson Vanover wrote:
>
>> Jim Lucas wrote:
>>
>> Their are two ways that come to mind.
>>>
>>> 1. Like Dan suggested, use the full path.
>>>
>>> 2. (I prefer this way), change your include_path setting either in your
>>> php.
On Fri, May 16, 2008 at 3:31 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote:
> Dan Joseph wrote:
>
>> I'm pretty sure you're gonna need to include the entire path:
>>
>> require( "/srv/www/html/Tools/tool2/tool2.php" );
>>
>> for both of your tools.
>>
>
> So when php runs it's paths are drawn from th
Tyson Vanover wrote:
Jim Lucas wrote:
Their are two ways that come to mind.
1. Like Dan suggested, use the full path.
2. (I prefer this way), change your include_path setting either in
your php.ini file, virtual host, .htaccess or in your script to
include the base path for your web site "/
Tyson Vanover wrote:
Dan Joseph wrote:
I'm pretty sure you're gonna need to include the entire path:
require( "/srv/www/html/Tools/tool2/tool2.php" );
for both of your tools.
So when php runs it's paths are drawn from the OS's structure and not
apache's? hun. thanks!
Only if apache
Jim Lucas wrote:
Their are two ways that come to mind.
1. Like Dan suggested, use the full path.
2. (I prefer this way), change your include_path setting either in your
php.ini file, virtual host, .htaccess or in your script to include the
base path for your web site "/srv/www/html/" and the
Dan Joseph wrote:
I'm pretty sure you're gonna need to include the entire path:
require( "/srv/www/html/Tools/tool2/tool2.php" );
for both of your tools.
So when php runs it's paths are drawn from the OS's
structure and not apache's? hun. thanks!
--
PHP General Mailing List (http://www
Tyson Vanover wrote:
I am trying to keep my tools and pages segregated for a variety of
reasons (organization, security, etc). And I am having problems with my
includes on my LAMP box. My user facing tools are not including my
utility classes and files.
The root directory of my web server (
On Fri, May 16, 2008 at 2:25 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote:
> I am trying to keep my tools and pages segregated for a variety of reasons
> (organization, security, etc). And I am having problems with my includes on
> my LAMP box. My user facing tools are not including my utility cl
I am trying to keep my tools and pages segregated for a variety of
reasons (organization, security, etc). And I am having problems with my
includes on my LAMP box. My user facing tools are not including my
utility classes and files.
The root directory of my web server (www.hostname.com/) is:
I can't figure this one out...
I boiled it down to a test case where I have a bunch of classes and a
demo program:
demo.php:
===
===
L.php
===
c = new C2();
echo "L init\n";
}
}
?>
=
=
15 matches
Mail list logo