It's certainly _possible_ -
Your httpd.conf (I'm assuming you use Apache, of course) file is just
a text file that can be read/written like anything else. Then you
could do a
system('/path/to/apache/bin/apachectl restart');
to activate. Doing it this simply, thoughm means that your
Hi
Since i moved from a Sun / Solaris Machine to a Compaq / Linux machine
I'm having weird problems with MySQL crashing while running reports written
in php.
The site is amazingly fast now on the Linux server but running a report
that locks the main tables for about 20 seconds raises the load
Go to www.mysql.com and make sure you are using the latest version of
MySQL.
Adam
On Thu, 5 Sep 2002, Boaz Yahav wrote:
Hi
Since i moved from a Sun / Solaris Machine to a Compaq / Linux machine
I'm having weird problems with MySQL crashing while running reports
I'm using 3.23.52-log
-Original Message-
From: Adam Williams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 3:22 PM
To: Boaz Yahav
Cc: PHP General (E-mail)
Subject: Re: [PHP] PHP MySQL Apache on Linux vs. Solaris
Go to www.mysql.com and make sure you are using
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 3:22 PM
To: Boaz Yahav
Cc: PHP General (E-mail)
Subject: Re: [PHP] PHP MySQL Apache on Linux vs. Solaris
Go to www.mysql.com and make sure you are using the latest version of
MySQL.
Adam
On Thu, 5 Sep 2002
Hi,
I have istalled php from the red hat cd at the time i
installed red hat itself. I downloaded apache and
installed it. Can anyone tell me how to configure php
on apache server? I mean what do I do next to run php
scripts? I am totally new to all this. Please help.
-Varsha
On Wed, 24 Jul 2002, Varsha Agarwal wrote:
Hi,
I have istalled php from the red hat cd at the time i
installed red hat itself. I downloaded apache and
installed it. Can anyone tell me how to configure php
on apache server? I mean what do I do next to run php
scripts? I am totally new to all
But hhtpd.h is really under /usr/inclu/apache
[root@localhost php-4.2.1]# slocate httpd.h
/usr/include/apache/httpd.h
Any idea ?
David.
The information contained in this e-mail message may be privileged
and confidential information and is intended only for the use of
the individual
directory - unable to find httpd.h under
/usr/include/apache
But hhtpd.h is really under /usr/inclu/apache
[root@localhost php-4.2.1]# slocate httpd.h
/usr/include/apache/httpd.h
Try:
--with-apache=/usr/includeOR
--with-apache=/usr
But you're better off using apxs instead
Php 4.2.1 - Apache 2.0.36 -Win98SE
This configuration works great, but when I try to upgrade to Apache 2.0.39 nothing
works.Even when I try php 4.3.0 it wont work.
My question is: Is there anybody out there who have tried to configure php 4.2.1 or
4.3.0 with Apache 2.039 and Win98SE?
Please
Analysis Solutions wrote:
On Tue, Jul 02, 2002 at 10:34:32PM +0200, Nightshade wrote:
Analysis Solutions wrote:
Document root doensn't solve my problem...
... snip ...
Any solution?
Read and heed what I already said:
Whenever you have a question like this, run phpinfo() and see
On Wednesday, July 3, 2002, at 11:08 AM, Nightshade wrote:
Yea,I understood. But my question is: is right that my Document_root
(shown
in phpinfo) is /var/www/html/ and not /var/www/html/mysite? And if isn't
right where I can change this?
I'm not sure -- is that the directory that you
I had a problem where I compiled in too many extensions and apache
thought the module file was too complicated, and thus corrupt and
wouldn't start.
On Tue, 2002-07-02 at 14:09, B i g D o g wrote:
Sorry bro...doing to many things at once.
Apache 1.3.23
Linux 7.2
PHP 4.1.2
Configuration
Hi there.That's my question...A file that is in the 4th level's subdir must
read a file that's in the 1st level. but I wish avoid to use millions
of ../../../thefile.php
I hope have been clear...
is there a unix like ~/ , to access to root directory of my site, so open
the file?
tnx in advance,
On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote:
is there a unix like ~/ , to access to root directory of my site
Does $_SERVER['DOCUMENT_ROOT'] help?
Whenever you have a question like this, run phpinfo() and see what's there
which produces the variable you're looking for.
--Dan
Has anyone had a problem where PHP created to many open files and crashed
apache?
B i g D o g
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No. Only you. :-)
Platform? Environment? Configuration information?
..mike..
On Tue, 2002-07-02 at 11:01, B i g D o g wrote:
Has anyone had a problem where PHP created to many open files and crashed
apache?
B i g D o g
--
PHP General Mailing List (http://www.php.net/)
To
Sorry bro...doing to many things at once.
Apache 1.3.23
Linux 7.2
PHP 4.1.2
Configuration:
./configure
--with-apxs=/usr/local/apache/bin/apxs
--with-sybase-ct=/sybase
--with-mysql' '--enable-exif
--with-gd
--with-jpeg-dir=/usr/lib
--with-png-dir=/usr/local/lib
Analysis Solutions wrote:
On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote:
is there a unix like ~/ , to access to root directory of my site
Does $_SERVER['DOCUMENT_ROOT'] help?
Whenever you have a question like this, run phpinfo() and see what's there
which produces the
On Tue, Jul 02, 2002 at 09:55:13PM +0200, Nightshade wrote:
Do you advice me to use
$_SERVER['DOCUMENT_ROOT'] . remaining_path/
in all my files?
I use relative paths in most circumstances. Makes things easier to move
between my development machine and the actual web servers.
Enjoy,
Analysis Solutions wrote:
On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote:
is there a unix like ~/ , to access to root directory of my site
Does $_SERVER['DOCUMENT_ROOT'] help?
Whenever you have a question like this, run phpinfo() and see what's there
which produces the
On Tue, Jul 02, 2002 at 10:34:32PM +0200, Nightshade wrote:
Analysis Solutions wrote:
Document root doensn't solve my problem...
... snip ...
Any solution?
Read and heed what I already said:
Whenever you have a question like this, run phpinfo() and see what's there
which produces the
In your config file (or at the top of each page) you should establish what
your document root is:
$docroot = /usr/home/sitename/;# or whatever
Then do something like include({$docroot}inc_dir/file.inc);
Or maybe you specify an include directory in your config:
$incdir =
scripts from the command prompt inside the php
dir. (C:\php) I see the correct output, so I know php is working (as is my
install of php-gtk). Where have I strayed from the path?
this worked for my install of Apache 1.3.24 and PHP 4.1.2, so I'm not sure
what's going on.
thanks for any and all help
htengale...
Well, php 4.1.2 for windows probably wasn't compiled to work with apache
2.
Apache 2 has changed too much for the php developers to keep on top of it.
If you were using unix/linux, you could compile php to work with apache 2,
but since you're using Windows, you're stuck with using Apach
Hello,
I'm currently running PHP 1.1.2 on Apache 1.3.24/Win2K in SAPI mode (and
this configuration has run incredibly well since last summer, albeit with
changing PHP and Apache sub-versions). I couldn't find any info at php.net
that indicated whether the current or the next version of PHP
Well, php 4.1.2 for windows probably wasn't compiled to work with apache 2.
Apache 2 has changed too much for the php developers to keep on top of it.
If you were using unix/linux, you could compile php to work with apache 2,
but since you're using Windows, you're stuck with using Apache 1.3.24
We have PHP and APACHE (1.3.19) installed and an instance of apache is
running with php support enabled.
I need to set up another instance of httpd using a seperate config file.
However I cannot get PHP support enabled.
I cannot find where the PHP modules are. I called a phpinfo
When i try to build php with mySql and apxs configuration goes ok but on
make install I get this:
118# make
Making all in Zend
/bin/sh /libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I -I -I/main -D_XPG_IV -DIRIX -DMOD_SSL=208104 -D
USE_HSREGEX -DEAPI -DUSE_EXPAT -I/TSRM -g -O2
Greetings
Got a, I think, pretty easy question if you know of it
Running Apache with PHP I always get a 500 Error page when I try to access
the php file I have run phpexe -i and it all looks good I am running php
as a DSO under Apache In Apache errorlog there is a line that say
[Fri Mar 01 13
] [error] [client 127001] couldn't spawn
child
process: c:/program files/apache group/apache/htdocs/php/testphp
Here is the relevant lines in httpdconf:
--Snipet
LoadModule php4_module modules/php4apachedll
AddModule mod_php4c
ScriptAlias /php/ C:/Program
Ok..found something interesting.
PHP + Apache 2.0.32 does not run on glibc 2.2.5.
(fyi 2.2.5 was compiled with 3.0.3
and my kernel, and binutils, and openssl)
I tarred up an installation of Apache 2.0.32 I made from a different
machine running 2.2.4, compiled from 2.96, as well as the php
(1.3.22),
solaris, sparc.
LoadModule php4_module libexec/libphp4.so
AddModule /rstc/user1/erc/pushkar/php-4.0.6/sapi/apache/mod_php4.c
During php install. libphp4.so got copied to the libexec dir. of apache
correctly, however mod_php4.c is in php dir. to where I have given the
path.
My apache config
Cc: Aras Kucinskas [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, February 02, 2002 8:26 PM
Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help!
On Fri, 1 Feb 2002, Matthew Walker wrote:
Does anyone have the answer for this question? I need it too...
As I learnt befo
reset Apache
authorization.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kucinskas [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, February 02, 2002 8:26 PM
Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help!
On Fri, 1 Feb 2002, Matthew Walker wrote:
Does anyone have the answer for this question? I need it too...
As I learnt before, it's
Does anyone have the answer for this question? I need it too...
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Aras Kucinskas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and Apache
PROTECTED]
Subject: [PHP] PHP and Apache authorization: how to logout. Help!
My site is in directory which is protected with .htaccess file.
I want to develope a logout function, which can reset Apache
authorization.
What to do?
HTTP header...
unset $PHP_AUTH_USER ...
Any suggestions
Sorry for my
Even with a javascript function opening a new window and closing the old?
-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 3:42 PM
To: Aras Kucinskas; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help
: RE: [PHP] PHP and Apache authorization: how to logout. Help!
Even with a javascript function opening a new window and closing the
old?
-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 3:42 PM
To: Aras Kucinskas; [EMAIL PROTECTED]
Subject
one from one of
the many good public libraries.)
- Ken
[EMAIL PROTECTED]
-Original Message-
From: Aras Kucinskas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and Apache authorization: how to logout. Help!
My site
My site is in directory which is protected with .htaccess file.
I want to develope a logout function, which can reset Apache authorization.
What to do?
HTTP header...
unset $PHP_AUTH_USER ...
Any suggestions
Sorry for my English :)
Aras
--
PHP General Mailing List (http://www.php.net/)
The following URL works, but then the next one doesn't. Can someone
offer some advice on this?
http://digitalroadkill.net:8080/ works.
index.php is happy and the output filters work.
http://digitalroadkill.net:8080/Galleries/ does not work.
It tries to get the file as though it were not
Ok. I fixed it. I just had my filters jacked up. After fixing them using
\.php instead of *.php, I was then calling the wrong page and getting
a 404, plus the browser I was using had cached the content-type and was
screwing everything up. After just shutting down my browsers, dumping
cache,
a bunch of:
REDIRECT_nokeepalive=1
REDIRECT_STATUS=200
REDIRECT_URL=/test.php
REMOTE_ADDR=x.x.x.x
REMOTE_HOST=mojojojo.blah.edu
etc...
in the apache error log.
I'm using PHP 4.0.6 (CGI), Apache 1.3.20, Solaris (SPARC) 2.6
Is there anyway to stop this? I've tried turning off error loggin in my
Ok, this is semi-related to PHP. I think it may mainly be our Apache
configuration. We have our listener listening on .
This URL works: http://hostname.capis.com:/
This URL does not: hostname.capis.com:/
Is there anyway to get the bottom one to work?
In IE I get 'Invalid syntax
(I'm sorry if this is not getting posted in the correct
place, but I'm not sure who/where to turn to...)
I'm attempting to upgrade my SuSE Linux 7.2 (2.4.x) server
to the new version of PHP 4.0.6, Apache 1.3.20, and the newest MySql...
(From PHP 4.0.4pl1/Apache 1.3.19)
Here are the (updated
version of PHP 4.0.6, Apache 1.3.20, and the newest MySql...
(From PHP 4.0.4pl1/Apache 1.3.19)
Here are the (updated) instructions I've gotten from
the PHP site:
(The actual error I'm getting is further down this email)
1. gunzip apache_1.3.x.tar.gz
2. tar xvf apache_1.3.x.tar
3. gunzip php
hello everyone-
I was wondering if any of you had a problem compiling Apache 1.3.20 with
mod_php4? Because I can compile, make, make install for redhat 7.1 for php
4.0.6. When I run my configure script for apache i
have --activate-module=src/modules/php4/libmodphp.a as one of the lines in
the
I was wondering if any of you had a problem compiling Apache 1.3.20 with
mod_php4? Because I can compile, make, make install for redhat 7.1 for php
4.0.6. When I run my configure script for apache i
have --activate-module=src/modules/php4/libmodphp.a as one of the lines in
the script. I
yeah i've tried that too and i still get the same error(s)
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Jay Paulson [EMAIL PROTECTED]
CC: PHP [EMAIL PROTECTED]
Subject: Re: [PHP] PHP and Apache
Date: Mon, 13 Aug 2001 12:07:39 -0700 (PDT)
I was wondering if any of you had a problem compiling
]
To: Jay Paulson [EMAIL PROTECTED]
CC: PHP [EMAIL PROTECTED]
Subject: Re: [PHP] PHP and Apache
Date: Mon, 13 Aug 2001 12:07:39 -0700 (PDT)
I was wondering if any of you had a problem compiling Apache 1.3.20 with
mod_php4? Because I can compile, make, make install for redhat 7.1
Hi,
I am using RedHat Linux 6.2.
I just got my PHP installed but my Apache 1.3.12 server does not seem to recognize the
PHP files and PHP scripting.
I have already uncommented the lines in my httpd.conf file which read:
AddType application/x-httpd-php .php
AddType application/x-httpd-php
Hello,
I'm getting ready to buy OS X and try to setup Apache with
PHP. Anyone have any words of wisdom. Everything I've seen so far
make it seem like a hot setup.
Is it worth getting OS X server?
Thanks Much
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Michael Seely 408
Hello,
I'm getting ready to buy OS X and try to setup Apache with
PHP. Anyone have any words of wisdom. Everything I've seen so far
make it seem like a hot setup.
Is it worth getting OS X server?
Thanks Much
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Michael Seely 408
Hi Michael,
I run an OS X server with Apache, PHP, and MySQL. We have mostly Apple's
in the office, with a few pc's scattered around. What reasons do you
have for going with a Mac. I'll tell you this: its easier to deal with
linux/unix as far as installation, upgrading, etc. However
Are there any pathches sort of availabe for php 4.0.x
so that I can compile php4 for Apache 2.0.x beta
regards
Chandu
Hello everyone,
I'm wondering if there is anyway to compile php, apache, and mod_ssl together. I know
there is, and I have done it many times. However, I always have to compile php as a
static apache module. How can php be installed --with-apxs=/path/to/apxs with
mod_ssl? Has anyone done
Has anyone been able to overcome the APR_SAVE_BRIGADE build error when
compiling as an Apache2 module? Any help in this direction is greatly
appreciated.
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]
--
PHP General Mailing List
I have what appears to be a successful implementation of Java support
compiled into PHP running on an Apache server. Specifics:
PHP: 4.0.5
Java: 1.3.1 (Sun)
Apache: 1.3.19
OS: Redhat 6.2
The problem I'm experiencing has to do with finding multiple Apache child
processes spawned but never closed
Hello!
Recently someone asked how to ensure that no one will read pas
sword from php file. The only response I noticed was to create
group and add apache user (often nobody) to that group. I consi
dered this and I can not see what would stop other users from
writing php script (run
Hi,
What do you think about the following configuration:
1) safe-mode on : this ensures that a php script can read only files that
are owned by the same Unix user on the machine; then just check that people
having a right to use php and mysql on your box have all a different
corresponding Unix
On Sun, 6 May 2001, Estelle Martin wrote:
What do you think about the following configuration:
1) safe-mode on : this ensures that a php script can read only files that
are owned by the same Unix user on the machine; then just check that people
having a right to use php and mysql on your
I was wondering if anyone has gotten Apache 2.0 Beta to install with DSO
Support and got PHP 4.0.5 to compile as a DSO using Apache 2.0? I am
using FreeBSD 4.3 and can't seem to get it to work for the life of me.
/'^'\
SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)
Any ideas :) I've recompiled up the ying yang
Connected to localhost.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Date: Fri, 27 Apr 2001 04:32:13 GMT
Server: Apache/1.3.19 (Unix) PHP/4.0.4pl1 AuthMySQL/2.20 mod_ssl/2.8.2
- Original Message -
From: "Alexander Wagner" [EMAIL PROTECTED]
Newsgroups: php.general
Sent: Saturday, April 14, 2001 11:07 AM
Subject: Re: [PHP] PHP for Apache 2.0
Patrick Dunford wrote:
According to Apache, modules made for Apache 1.3 will not work as-is
in 2.0 due
According to Apache, modules made for Apache 1.3 will not work as-is in 2.0
due to changes in the API.
Is a version of PHP 4 for Apache 2.0 coming out?
--
===
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz
Patrick Dunford wrote:
According to Apache, modules made for Apache 1.3 will not work as-is
in 2.0 due to changes in the API.
Is a version of PHP 4 for Apache 2.0 coming out?
Try the configure-option --with-apxs2 instead of --with-apxs and it
should work with Apache 2.
PHP 4 supports far
Yes, try lib cURL it supports authentification and even SSL.
http://www.php.net/manual/en/ref.curl.php
Mike
-Original Message-
From: Marius David [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 5:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php and apache protected directories
will php 4.0.4 build as a module with apache 2.0?
- jeremy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I want to open a html file from a php script. The problem is that the html
file is located in a password protected directory on an apache web server. I
know the user/password for that directory and I want the php script to
handle the authentification automaticly. Is there a way to acomplish this
Hi,
I'm trying to uses PGP with PHP and Apahce. I have Apache and PHP configured but am
finding it difficult to find any information on how to use PGP with them! Any help
would be much apreciated!
Thanks,
Kevin.
Can I have (PHP+Linux+Apache+MySQL)+(Windows+Explorer) in the same machine
to develope stand alone?
Andrés de la Varga
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
On Thu, 18 Jan 2001, Andrs de la Varga wrote:
Can I have (PHP+Linux+Apache+MySQL)+(Windows+Explorer) in the same machine
to develope stand alone?
Andrs de la Varga
http://www.vmware.com/
--
Ignacio Vazquez-Abrams [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
101 - 174 of 174 matches
Mail list logo