[PHP-INSTALL] php + apache - how to run php suid?

2004-03-06 Thread Brian McGroarty
I use apache's suid mechanism so that all cgi scripts in a user home directory run as that user. php scripts seem to still run as the apache user (www-data with Debian) however. Obviously this represents a nasty security risk, to say nothing of complicating disk quota management. As things stand,

Re: [PHP-INSTALL] PHP 4.3.4 on Apache 1.3.29 for Win2K

2004-03-06 Thread zareef ahmed
Hi Anthony ! following page may be usefull to you. http://in.php.net/manual/en/install.apache.php#install.apache.windows ANYWAY if you are just going to use this machine as a test server Xitami server from xitami.com is a good server to try. Its tiny and moreover no hard tweaking is necessary

[PHP-INSTALL] Install php5b4 on apache 2.0.48

2004-03-06 Thread Martin Bos
Hi, I just installed (i think) php on my apache2 webserver. I added to http.conf: # PHP 5 beta 4 LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php And put php.ini in c:\program files\\apache2 with: extension_dir = "c:\php\ext" When I try the following html:

Re: [PHP-INSTALL] Install php5b4 on apache 2.0.48

2004-03-06 Thread Chris Hewitt
Martin Bos wrote: Hi, I just installed (i think) php on my apache2 webserver. I added to http.conf: # PHP 5 beta 4 LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php And put php.ini in c:\program files\\apache2 with: extension_dir = "c:\php\ext" When I try the

RE: [PHP-INSTALL] Install php5b4 on apache 2.0.48

2004-03-06 Thread Hari Bhanujan
Martin, I had the same problem. Call the script index.php or hello.php Once that is done from your browser type in the following http://localhost/index.php or http://localhost/hello.php You should be able to see the parsed php script.. Regards Hari -Original Message- From: Chris Hewi

[PHP-INSTALL] Re: Install php5b4 on apache 2.0.48

2004-03-06 Thread Martin Bos
Hi guys. I was mistaken. I renamed my index.html to index.php and all works now. I now start my first php tutorial Martin "Martin Bos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I just installed (i think) php on my apache2 webserver. > I added to http.conf: > > # P

RE: [PHP-INSTALL] php + apache - how to run php suid?

2004-03-06 Thread Giz
The php module way to handle this is to make use of apache security facilities. Keep in mind, that cgi != modules. They are fundamentally different. A module is part of the webserver process by definition. This is it's strength in terms of performance. What you have available to you for securi

RE: [PHP-INSTALL] php + apache - how to run php suid?

2004-03-06 Thread Giz
My fingers were too fast. Here's the article: Here's some example of php.ini settings. Take a look at the php manual for these and other related php security settings. safe_mode = On doc_root = /usr/local/apache/htdocs user_dir = /home/jdoe/htdocs -Original Message- From: Giz [mailto

[PHP-INSTALL] warning

2004-03-06 Thread agl
do you? <>

[PHP-INSTALL] hi

2004-03-06 Thread tfr
misc <>