Re: RE: [phplib] Issues getting my phplib to work with my ISP. From: Eric Naujock (naujocke <email protected>)
Date: 12/27/00

It would seem that at least for now the trick works. I was able to install my php.ini from my development server and make it work. The web server immediately started telling my my prepend file did not exist. (Which right now it doesn't) Once I get my paths sorted out I should be able to get this application up and running.

Thanks a lot.

>>> "Jeroen Laarhoven" <jeroen <email protected>> - 12/27/00 3:31 AM >>>
>php_value include_path
./php:./php/php:./ihtml:./encrypt/management/phpMyAdmin
>php_value auto_prepend_file ./php/php/prepend.php
>
>The version of php is 4.0.3p1 and it is installed as a CGI.

That's why it doesn't work. The .htaccess values are for Apache and only
work with mod_php.
If I remember well you can when using CGI put the php.ini(s) file anywhere
in the php path.
But it is a while ago I used PHP CGI. Better check the doc for that.

Yep it looks like I am correct, see bottom two comments on
http://www.php.net/manual/configuration.php

Greetings
Jeroen.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Jeroen Laarhoven, Zwolle, Netherlands
business: jeroen <email protected>, www.webbridge.nl
private: jeroen <email protected>, www.zwolnet.com
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

----- Original Message -----
From: "Eric Naujock " <naujocke <email protected>>
To: <phplib <email protected>>; <wilt <email protected>>
Sent: Tuesday, December 26, 2000 11:12 PM
Subject: Re: RE: [phplib] Issues getting my phplib to work with my ISP.

I am using the following two lines.

php_value include_path
./php:./php/php:./ihtml:./encrypt/management/phpMyAdmin
php_value auto_prepend_file ./php/php/prepend.php

The version of php is 4.0.3p1 and it is installed as a CGI.

>>> "Wilt" <wilt <email protected>> - 12/26/00 5:03 PM >>>
Using .htaccess should work. However the simplest way of getting round this
is to add an include to prepend.php3 to the beginning of every page that
needs access to phplib.

BTW what exaxtly are you adding to the htacces file. The format is eve so
slightly diferent from what would go in a php.ini file.

wilt.

-----Original Message-----
From: Eric Naujock [mailto:naujocke <email protected>]
Sent: 26 December 2000 21:45
To: dougforrest <email protected>; phplib <email protected>
Subject: Re: [phplib] Issues getting my phplib to work with my ISP.

Unfortunately this ISP has his php.ini file in the etc folder. They I have
meade a request to have the changes made and they are refusing to do this.

The only files that they are making available to me are the .htaccess files
to configure the php and apache.

SOmthing tells me this is the last time I will be using this service.

----------------------------------------------------------------------------

----
Eric Naujock  CCNA, CCDA, A+, Network +, I-Net +
Abacus II
5610 Monroe St.
Sylvania, Ohio 43560
<http://www.abacusii.com>
E-mail - naujocke <email protected>
Phone - 419-885-0082  X 241
Fax : 419-885-2717

>>> "Douglas Forrest" <dougforrest <email protected>> 12/26/00 04:20PM >>> You can use a php.ini file. The ISP I use puts PHP into the cgi-bin directory and I have my php.ini there. It looks like this:

include_path = .:/www/yourdomain/php:/home/yourdomain/www/php auto_prepend_file = /home/yourdomain/www/php/prepend.php3

----- Original Message ----- From: Eric Naujock <naujocke <email protected>> To: <phplib <email protected>> Sent: Tuesday, December 26, 2000 4:03 PM Subject: [phplib] Issues getting my phplib to work with my ISP.

> I am tring to get my phplib based application running under my hosting service. The service is running PHP as a CGI and is very limited. They will not allow me to setup a Auto_prepend or a include_path. Instead they are telling me I need to use my .htaccess file to make these additions. > > As a reult I have attempted to add my Include path and auto_prepend and found that my apache complains. Is there a way to get around and fix this or will I have to do some weird mangling to make this work. Does anybody have an example of a .htaccess file that has these settings installed. > > The reason I am posting this here is that the application is very heavily based on PHPlib. > > Thanks in advance. > Eric Naujock. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: phplib-unsubscribe <email protected> > For additional commands, e-mail: phplib-help <email protected> > >

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>