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,
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
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:
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
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
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
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
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
do you?
<>
misc
<>
10 matches
Mail list logo