php-install Digest 14 Feb 2002 01:30:59 -0000 Issue 699

Topics (messages 6005 through 6009):

syntax error in configure / autoconf realted?
        6005 by: Christian Lox

security with php.ini file
        6006 by: MrJacK

Cannot remove module mod_php4.c
        6007 by: Tony Kowalick
        6008 by: Tony Kowalick

Need help with doc_root and safe_mode
        6009 by: Hurgh

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi all,

I do have a similar problem as described in 
http://bugs.php.net/?id=12871

When running autoconf with this version on php-4.1.1 I get exactly 
these errors.
Anyone knows how to fix this?

TIA,
Chris

--- End Message ---
--- Begin Message ---
Hello,
I'm hosting several virtual host in apache and want to know if it's
possible to put a general value ini the php.ini file for doc_root,
user_dir, etc . accord to the virtual host. Something than doc_root =
/var/www/vhost/$DOMAIN/public_html
I'm think it's can be more easy than set for every virtual host in
apache a value like this : php_admin_value doc_root "string".
Thank in advance.
 
Regards,
--- End Message ---
--- Begin Message ---
i keep getting this error on testing apache and php4 on WinNT4 server

"Cannot remove module mod_php4.c: not found in module list"


what is going on?

--
----------------------------------
Tony Kowalick

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


--- End Message ---
--- Begin Message ---
I figured it out

forget to add

AddModule mod_php4.c in httpd.conf file

Tony

Tony Kowalick wrote:

> i keep getting this error on testing apache and php4 on WinNT4 server
>
> "Cannot remove module mod_php4.c: not found in module list"
>
> what is going on?
>
> --
> ----------------------------------
> Tony Kowalick
>
> ----------------------------------

--
----------------------------------
Tony Kowalick
Programmer/Analyst
Enterprise Systems
Skidmore College
518 580-5911
http://www.skidmore.edu/~tkowalic
----------------------------------


--- End Message ---
--- Begin Message ---
Hi, 

Just wondering if anyone can help me with a problem to do with safe_mode, 
open_basedir, and doc_root. 

I have read through lots of the manuals and stuff and have tried lots of different 
combinations of config settings but have not been able to work this one out. I have 
also seen posts here about the same sort of question but again they have not helped me 
very much. 

What i have is a single website located at /website/apache/htdocs 

i also have a dir at 
/website/apache/htdocs/php 

What i want is any .php file in the /php dir to execute as normal and be served. For 
example if i had a file - phpinfo.php - with <? phpinfo() ?> in it, and i went to that 
dir on the server using a web browser and opened phpinfo.php i would get a dump of all 
the php information. but i want it so that if i put that same file in any other dir, 
other than /php(and subdir's)/, it would just eaither denie access to that file, or 
just spit out the source (just anything other than execute the php code inside). 

Some of the things i have tried is to turn safe_mode on and put open_basedir = 
/website/apache/htdocs/php 
but that does not seem to help and the other thing i have tried is to do the same with 
a doc_root = /website/apache/htdocs/php 
and again, that did not seem to help at all. 

I have been making these changes in the php.ini file that is listed when i do 
phpinfo(), and have been restarting the apache server after i have made the changes. 

PHP is not compiled as a module, but is compiled into the apache httpd. 
I have the latest stable release of both of them, at time of writing. 

Any help would be great. 

Thanks 


-|- Hurgh -|-
--- End Message ---

Reply via email to