On Fri, Mar 6, 2009 at 4:21 PM, Eric Lease Morgan wrote:
>
> On 3/6/09 4:19 PM, "9el" wrote:
>
> >> Ironically, Smarty/Smarty.class.php IS located under /usr/lib/php. So is
> >> PEAR.php.
> >
> > /usr/lib/php is not in the default scope of webroot ie. /var/www :)
> > You have to allow apache t
On 3/6/09 4:19 PM, "9el" wrote:
>> Ironically, Smarty/Smarty.class.php IS located under /usr/lib/php. So is
>> PEAR.php.
>
> /usr/lib/php is not in the default scope of webroot ie. /var/www :)
> You have to allow apache to access /usr/lib/php location
Thank you for the prompt reply, and it
On Sat, Mar 7, 2009 at 3:13 AM, Eric Lease Morgan wrote:
>
> My initial PHP script is not recognizing the values in my include_path.
> Why?
>
> I compiled and installed PHP yesterday:
>
> $ php -version
> PHP 5.2.9 (cli) (built: Mar 5 2009 15:33:55)
>
> I then installed a PHP script whose begi
O/H dg ??:
Hello,
I'd greatly appreciate some help with some problems I'm hitting.
I have a site set up on a dev server and it works fine.
In transferring it to the clients server, it's getting all weird.
When I first transferred created files, the owner was "joe". And they
worked fine
dg wrote:
Hello,
I'd greatly appreciate some help with some problems I'm hitting.
I have a site set up on a dev server and it works fine.
In transferring it to the clients server, it's getting all weird.
When I first transferred created files, the owner was "joe". And they
worked fine.
Wh
Steve Finkelstein wrote:
Hi all,
I have rudimentary application which has an index.php that looks like this:
ini_set( 'display_errors', true );
require_once'include/Model.php';
Immediately after that include/Model.php is processed, Model.php consists of
this:
require_once
On Thu, May 11, 2006 3:17 pm, Steven Stromer wrote:
> For years I was lulled into thinking I understood php include
> functions...
>
> I have always used relative paths in my include and related functions,
> for instance:
> include_once ("lib/included.php");
>
> However, I am now needing to switch
Steven Stromer wrote:
For years I was lulled into thinking I understood php include
functions...
I have always used relative paths in my include and related functions,
for instance:
include_once ("lib/included.php");
However, I am now needing to switch to absolute paths:
include_once ("/lib/in
Steven Stromer wrote:
For years I was lulled into thinking I understood php include functions...
I have always used relative paths in my include and related functions,
for instance:
include_once ("lib/included.php");
this is what should work given you ini path. maybe check the file
permissio
try this inside the
php_admin_flag engine on
php_admin_value include_path
maybe apache 2 wants something else...
On Mon, 21 Jun 2004 12:18:47 -0700, Jon Drukman <[EMAIL PROTECTED]> wrote:
>
> in my apache server i have a bunch of virtualhost sections like:
>
>
> servername bob.domain
On Mon, 21 Jun 2004 14:05:05 +, Sharat Hegde
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> One of my PHP programs called dailybatch.php3 includes a file in its parent
> directory. The link is
>
> include "../db_mysql.inc"
>
>
> dailybatch.php3 is invoked from the crontab command or run
set_include_path(get_include_path().":"/new/incude/path");
> -Original Message-
> From: Alain Williams [mailto:[EMAIL PROTECTED]
> Sent: 22 December 2003 10:16
> To: [EMAIL PROTECTED]
> Subject: [PHP] include_path
>
> Is there a way of modifying the include_path within a script,
> I w
Tom Rogers wrote:
You can do this at the top of each page
ini_set ("include_path",'./:/local/path/:'.ini_get("include_path"));
Found it. I was looking for the php_value option that I can stick
in the vhost directive. Works now, thanks!
--
H| I haven't lost my mind; it's backed up on tap
Hi,
Wednesday, May 28, 2003, 2:56:31 PM, you wrote:
AMK> Can I adjust the include_path on a specific vhost, as opposed to
AMK> having it globally done in php.ini ? If so, how please?
AMK> --
AMK> H| I haven't lost my mind; it's backed up on tape somewhere.
AMK> +
On Friday 07 February 2003 05:56 pm, Mike D wrote:
> Hello all,
>
> I have the following set in my php.ini file:
>
>
> ; UNIX: "/path1:/path2"
> include_path = ".:/usr/local/php/scripts"
> ;
>
> I placed a file in this directory containing a function, and I when I
> call the functions name i get a
> -Original Message-
> From: Christian Calloway [mailto:[EMAIL PROTECTED]]
> Sent: 19 September 2002 01:56
>
> I dont have access to the php.ini file, is there anyway to access the
> "include_path" setting programatically from php? Thanks
ini_get()http://www.php.net/manual/en/functio
You could always just use .htacess to do it..
--
Matt "TrollBoy" Wiseman
Webmaster: Shoggoth.net
Site Designer: phpslash.org
The oldest and strongest emotion of mankind is fear,
and the oldest and strongest kind of fear is fear of the unknown.
-H.P. Lovecraft
-
In article <[EMAIL PROTECTED]> , [EMAIL PROTECTED]
(Tim Nields) wrote:
>I am running php4.2.1. I tried to use a simple include() coommand, but the
>path that it defaults to is /usr/local/lib/php. Can anyone tell me how to
>change this?
You might (or might not) be able to edit "php.ini" and alt
You should use this:
(from my Development Machine:)
include_path= ".;D:\includes;D:\htdocs\;D:\htdocs\phpmyadmin" ;
UNIX: "/path1:/path2" Windows: "\path1;\path2"
Note the dot at the beginning of the string - that's your solution
Cheers,
Maxim Maletsky
www.PHPBeginner.com
> include_path = "p:\includes c:\phplib P:\other_staff" ;
>
Add the directory itself. In Linux this would look like this:
include_path = .:/includes:/phplib:/other_staff
The "." is the current dir just as an ls -la or dir on windows would list.
I don't know anything about how to configure PHP f
>OK, I figured out that I had forgotten the quotes around the path(s), but I
still don't understand the path itself. Will it look in sub directories.For
example:
>
>include_path=".;d:\sites"
>
>Will PHP look in any subs under sites?
No. PHP will not dig through subdirectories looking for files t
Shane McBride:
> I am trying to get my php.ini file configured correctly.
> I have a script that calls the require function/command( I'm not sure which
> it is..)
>
> Here's what the .ini file is:
> include_path=d:\sites;d:\sites\merchantpower\setup
>
> According to the notation in the .ini fil
22 matches
Mail list logo