php-install Digest 7 May 2002 08:45:06 -0000 Issue 823
Topics (messages 6881 through 6897):
Re: unsuscribed me
6881 by: CTC
6882 by: CTC
unsubscribe me
6883 by: yung
6890 by: Sasa Ugrenovic
A note about unsubscribing...
6884 by: Philip Snyder
Re: php4.2 configure script failure using apxs2 (apache-2.0.35)
6885 by: hyper
6887 by: Andy
6889 by: Andy
Re: Apache 2.0.35 + PHP 4.2.0 segfault on start
6886 by: alphapoet
stop access to local folders?
6888 by: The Gabster
6891 by: Jim Thome
6892 by: The Gabster
6893 by: The Gabster
6894 by: Shrock, Court
6895 by: Jim Thome
6896 by: Shrock, Court
"Internal Server Error" with CGI version of PHP
6897 by: Udo Giacomozzi
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 ---
----- Original Message -----
From: CTC <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 06, 2003 3:08 PM
Subject: [PHP-INST] unsuscribed me
please, unsuscribed adrress [EMAIL PROTECTED]
thanks
--- End Message ---
--- Begin Message ---
----- Original Message -----
From: CTC <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 06, 2003 3:08 PM
Subject: [PHP-INST] unsuscribed me
please, unsuscribed adrress [EMAIL PROTECTED]
thanks
--- End Message ---
--- Begin Message ---
please unsubscribe [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
please unsubscribe [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
ok, so check out this message. It says right down there:
To unsubscribe, visit: http://www.php.net/unsub.php
This is attached to every message in this mailing list, and I'm betting
you'll have far better luck unsubscribing if you go there.
-P
--- End Message ---
--- Begin Message ---
> ./configure --with-mysql --with-apxs2=/usr/sbin/apxs
Are you sure your /usr/sbin/apxs is apxs_2_? The default is
../apache2/bin/apxs (like /usr/local/apache2/bin/apxs). Maybe
that's the problem?
[ h y p e r ]
--- End Message ---
--- Begin Message ---
Thanks for the response.
The mod_so gets compiled in automatically because of
the --enable-mods-shared=all line.
Output of: /usr/sbin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
The apache server is loading and running all the modules I need without any
problems.
Any more ideas would be greatly appreciated.
Yours,
Andy.
--- End Message ---
--- Begin Message ---
Hi,
Thanks for the quick response.
The --enable-layout=RedHat switch keeps the default directory tree as setup
by Redhat.
Therefore the apxs script finds itself in the /usr/sbin directory along with
apachectl and httpd.
I would compile using the standard file locations but I don't think that's
the problem.
Any more thoughts/suggestions would be greatly appreciated.
Yours,
Andy.
"Hyper" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > ./configure --with-mysql --with-apxs2=/usr/sbin/apxs
>
> Are you sure your /usr/sbin/apxs is apxs_2_? The default is
> ../apache2/bin/apxs (like /usr/local/apache2/bin/apxs). Maybe
> that's the problem?
>
> [ h y p e r ]
>
>
>
--- End Message ---
--- Begin Message ---
Try this
========
The below worked for me on Win2K Professional/Apache2.0.35 and PHP4.2
So, this worked:
LoadModule php4_module C:\php\experimental\apache2filter.dll
(Server started with no problem. and when running phpinfo() output page was
correct)
While this did not:
LoadModule php4_module C:\php\sapi\php4apache.dll
(Server would not start or caused errors.)
"Tanya Brethour" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello.
I am having some issues with Apache 2.0.35 segfaulting when it tries to
load the PHP 4.2.0 module. I start httpd, and it returns with no error
messages in the error log or to standard out. (I am running Mandrake 8.2,
2.4.18), but there are NO httpd processes running.
If I run 'httpd -X', I get a segfault message.
I then removed the LoadModule line from my httpd.conf and httpd started
and did not segfault. So I am pretty sure this has to do with the PHP
module.
I decided to do a bt in gdb for some extra info:
(gdb) run -X
Starting program: /usr/local/apache/conf/../bin/httpd -X
[New Thread 1024 (LWP 27916)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 27916)]
0x40329991 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
310
TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id,
thread_resources->count);
(gdb) bt
#0 0x40329991 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
#1 0x40291b0a in php_module_startup (sf=0x4034f6a0) at main.c:856
#2 0x4028f7ec in php_apache_server_startup (pconf=0x80b6380,
plog=0x80ee460,
ptemp=0x8140b70, s=0x81431d8) at sapi_apache2.c:442
#3 0x0807baa3 in ap_run_post_config (pconf=0x80b6380, plog=0x80ee460,
ptemp=0x8140b70, s=0x81431d8) at config.c:127
#4 0x08080908 in main (argc=2, argv=0xbffff834) at main.c:611
#5 0x40118280 in __libc_start_main () from /lib/libc.so.6
So now.. any advice on how to fix this problem? I would really love to
keep Apache 2.0 and not go back to Apache 1.3.X.
Thanks in advance!
-Tanya
--- End Message ---
--- Begin Message ---
How can I stop people from seeing in the browser the content of my web
folders? For example if I have a folder called "newsgroup", right now if
they type http://www.mydomain.com/newsgroup/, they can see the index of that
folder... I do not want this...
PLease help.
thanks,
gabi.
--- End Message ---
--- Begin Message ---
Assuming you are running Apache...
If you have permissions to modify the httpd.conf file, add:
Options -Indexes
...to your directory container <Directory "/path/to/your/webroot">
If you don't have access to modify the httpd.conf file, add a file .htaccess in your
web root and use the line shown above.
(restart server).
--Jim
>>> "The Gabster" <[EMAIL PROTECTED]> 05/06/02 03:26PM >>>
How can I stop people from seeing in the browser the content of my web
folders? For example if I have a folder called "newsgroup", right now if
they type http://www.mydomain.com/newsgroup/, they can see the index of that
folder... I do not want this...
PLease help.
thanks,
gabi.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Jim,
I did the modification in my httpd.conf but now I cannot access anything...
not even my php scripts... Here is what I did:
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Apache/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI Multiviews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options -Indexes FollowSymLinks Includes
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
"Jim Thome" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Assuming you are running Apache...
If you have permissions to modify the httpd.conf file, add:
Options -Indexes
...to your directory container <Directory "/path/to/your/webroot">
If you don't have access to modify the httpd.conf file, add a file .htaccess
in your web root and use the line shown above.
(restart server).
--Jim
>>> "The Gabster" <[EMAIL PROTECTED]> 05/06/02 03:26PM >>>
How can I stop people from seeing in the browser the content of my web
folders? For example if I have a folder called "newsgroup", right now if
they type http://www.mydomain.com/newsgroup/, they can see the index of that
folder... I do not want this...
PLease help.
thanks,
gabi.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Sorry... I take that back... Only fe of my scripts are not workin anymore...
Specifically those that have references to other folders in my http root...
gabi.
"Jim Thome" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Assuming you are running Apache...
If you have permissions to modify the httpd.conf file, add:
Options -Indexes
...to your directory container <Directory "/path/to/your/webroot">
If you don't have access to modify the httpd.conf file, add a file .htaccess
in your web root and use the line shown above.
(restart server).
--Jim
>>> "The Gabster" <[EMAIL PROTECTED]> 05/06/02 03:26PM >>>
How can I stop people from seeing in the browser the content of my web
folders? For example if I have a folder called "newsgroup", right now if
they type http://www.mydomain.com/newsgroup/, they can see the index of that
folder... I do not want this...
PLease help.
thanks,
gabi.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
>From my experience with httpd.conf (apache 1.x.x), the "-Indexes" should be
"Indexes"......
> -----Original Message-----
> From: Jim Thome [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 06, 2002 2:38 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] stop access to local folders?
>
>
> Assuming you are running Apache...
>
> If you have permissions to modify the httpd.conf file, add:
>
> Options -Indexes
>
> ...to your directory container <Directory "/path/to/your/webroot">
>
> If you don't have access to modify the httpd.conf file, add a
> file .htaccess in your web root and use the line shown above.
>
> (restart server).
>
> --Jim
>
> >>> "The Gabster" <[EMAIL PROTECTED]> 05/06/02 03:26PM >>>
> How can I stop people from seeing in the browser the content of my web
> folders? For example if I have a folder called "newsgroup",
> right now if
> they type http://www.mydomain.com/newsgroup/, they can see
> the index of that
> folder... I do not want this...
>
> PLease help.
> thanks,
> gabi.
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Not if you are disabling indexing.
http://httpd.apache.org/docs-2.0/mod/core.html#options
>>> "Shrock, Court" <[EMAIL PROTECTED]> 05/06/02 03:52PM >>>
>From my experience with httpd.conf (apache 1.x.x), the "-Indexes" should be
"Indexes"......
> -----Original Message-----
> From: Jim Thome [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 06, 2002 2:38 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] stop access to local folders?
>
>
> Assuming you are running Apache...
>
> If you have permissions to modify the httpd.conf file, add:
>
> Options -Indexes
>
> ...to your directory container <Directory "/path/to/your/webroot">
>
> If you don't have access to modify the httpd.conf file, add a
> file .htaccess in your web root and use the line shown above.
>
> (restart server).
>
> --Jim
>
> >>> "The Gabster" <[EMAIL PROTECTED]> 05/06/02 03:26PM >>>
> How can I stop people from seeing in the browser the content of my web
> folders? For example if I have a folder called "newsgroup",
> right now if
> they type http://www.mydomain.com/newsgroup/, they can see
> the index of that
> folder... I do not want this...
>
> PLease help.
> thanks,
> gabi.
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
TODO: open head...insert brain...
> -----Original Message-----
> From: Shrock, Court [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 06, 2002 2:52 PM
> To: Jim Thome; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] stop access to local folders?
>
>
> From my experience with httpd.conf (apache 1.x.x), the
> "-Indexes" should be
> "Indexes"......
>
> > -----Original Message-----
> > From: Jim Thome [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, May 06, 2002 2:38 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: [PHP-INST] stop access to local folders?
> >
> >
> > Assuming you are running Apache...
> >
> > If you have permissions to modify the httpd.conf file, add:
> >
> > Options -Indexes
> >
> > ...to your directory container <Directory "/path/to/your/webroot">
> >
> > If you don't have access to modify the httpd.conf file, add a
> > file .htaccess in your web root and use the line shown above.
> >
> > (restart server).
> >
> > --Jim
> >
> > >>> "The Gabster" <[EMAIL PROTECTED]> 05/06/02 03:26PM >>>
> > How can I stop people from seeing in the browser the
> content of my web
> > folders? For example if I have a folder called "newsgroup",
> > right now if
> > they type http://www.mydomain.com/newsgroup/, they can see
> > the index of that
> > folder... I do not want this...
> >
> > PLease help.
> > thanks,
> > gabi.
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hello all,
I've tried some hours now to get PHP working on my local machine but I
can't find out why it refuses to do so.
Operating System: Windows 2000
Server: Apache/1.3.12
PHP version: 4.2.0 (binary distribution)
I've already successfully installed PHP as a module on the same machine but
I need to use the CGI version for development purposes.
I followed the instructions in install.txt and my PHP book but the server
always returns a "internal server error". The error.log says
"Premature end of script headers: d:/php/sapi/php.exe"
This is because the php interpreter does not return any data at all (not
even headers). I guess this has to do with security restrictions but I
could not find the exact reason.
Some more info:
Apache is installed in I:\Programme\Apache Group\Apache\
PHP is installed in D:\PHP\
http.conf contains:
ScriptAlias /php/ "d:/php/sapi/"
AddType application/x-httpd-php-test .php-test
Action application/x-httpd-php-test "/php/php.exe"
I've chossen these special "test" extensins because the .php extension is
already associated to the module version of PHP. I'm pretty sure this is
not the problem.
I've copied php.ini-dist as php.ini in the SYSTEM32 directory and changed
the following settings:
extension_dir = "D:\php\extensions"
doc_root = "I:\Programme\Apache Group\Apache\htdocs"
changed nothing else (but tried much before, now reinstalled PHP).
Any ideas? I really don't know what I should try now...
Udo
--
Udo Giacomozzi - [EMAIL PROTECTED]
www.nova-sys.net - www.guweb.com
The disadvantage of intelligence is that one
is constantly obliged to go on learning.
Posted by ELKNews 1.0.4-B
Empower your News Reader! http://www.atozedsoftware.com
--- End Message ---