Re: [PHP] PHP and Apache
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 webserver's user (usually nobody) would have write access to the conf file and execute perms to apachectl, which could open up some bulldozer-security holes. At the very least, you want to access things through SSL. But you might want to try Webmin: http://www.webmin.com/ Looks very comprehensive, and I've seem a number of good recommendations for it. I've been planning on doing a little testing of it on my test server, but haven't had the time. -steve At 4:48 PM +0100 9/6/02, Tim Haynes wrote: Is there any easy way of creating,editing and deleting virtual hosts using PHP via a website?? I have already thought of a way but seems a little long winded. Thanks in advance. -- ++ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database/SysAdmin http://pgfsun.ucdavis.edu/ | ++ | The end to politics as usual: | | The Monster Raving Loony Party (http://www.omrlp.com/) | ++ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP MySQL Apache on Linux vs. Solaris
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 and crashes the server. While this makes some sense (maybe) i did not have this while i was on Solaris. Why would Solaris know how to hold the queries in the Queue till the tables are freed and Linux does not? Is this PHP, MySQL or maybe Linux to blame? thanks berber
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, 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 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 and crashes the server. While this makes some sense (maybe) i did not have this while i was on Solaris. Why would Solaris know how to hold the queries in the Queue till the tables are freed and Linux does not? Is this PHP, MySQL or maybe Linux to blame? thanks berber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP MySQL Apache on Linux vs. Solaris
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 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 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 and crashes the server. While this makes some sense (maybe) i did not have this while i was on Solaris. Why would Solaris know how to hold the queries in the Queue till the tables are freed and Linux does not? Is this PHP, MySQL or maybe Linux to blame? thanks berber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP MySQL Apache on Linux vs. Solaris
I haven't had any problems with mysql like you are having. I would recommand you recompile the source rpm to the binary rpms and then install them. Adam On Thu, 5 Sep 2002, Boaz Yahav wrote: 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 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 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 and crashes the server. While this makes some sense (maybe) i did not have this while i was on Solaris. Why would Solaris know how to hold the queries in the Queue till the tables are freed and Linux does not? Is this PHP, MySQL or maybe Linux to blame? thanks berber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Php and Apache
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 __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Php and Apache
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 this. Please help. -Varsha If you installed php from redhat CD, then why not apache. The Apache rpm in redhat 7.3 comes as precompiled support for Dynamic shared object so there is no need for doing anything except install your Apache and Php from rpms as it is. Then keep your php files in /var/www/html/ or whatever you configured for DocumentRoot Directive in Apache. If you don't have apache you can download it from redhat site. --- S.Murali Krishnan Internet: [EMAIL PROTECTED] --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP 4.2.1 / Apache
HELLO, I just installed PHP 4.2.1. I am using a Redhat 7.3, installed as server with Apache. My problem is I can t compile it as a module for Apache : ./configure --with-apache=/usr/include/apache configure: error: Invalid Apache 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 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 and/or entity identified in the alias address of this message. If the reader of this message is not the intended recipient, or an employee or agent responsible to deliver it to the intended recipient, you are hereby requested not to distribute or copy this communication. If you have received this communication in error, please notify us immediately by telephone or return e-mail and delete the original message from your system. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP 4.2.1 / Apache
On Wednesday 10 July 2002 17:25, [EMAIL PROTECTED] wrote: HELLO, I just installed PHP 4.2.1. I am using a Redhat 7.3, installed as server with Apache. My problem is I can t compile it as a module for Apache : ./configure --with-apache=/usr/include/apache configure: error: Invalid Apache 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: --with-apxs=/usr/local/apache/bin/apxs Obviously the path to apxs on your system may differ. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Necessity has no law. -- St. Augustine */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP 4.2.1 - Apache 2.0.36 - Win98SE
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 tell me how! Erik
Re: [PHP] php and apache path...
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 what's there which produces the variable you're looking for. If that doesn't have what you're looking for, you need to craft your own solution. --Dan 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? tnx again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
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 want to be your document root? I doubt it from what you're saying but nobody else has any way of knowing. If you want your document root to be /var/www/html/mysite and it is currently something else, you need to set your httpd.conf file differently. Or perhaps a .htaccess file can be used. (This is assuming you are using Apache.) Go to www.apache.org and read the httpd documentation there for more information about setting up the document root in httpd.conf. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Apache
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: ./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 --with-zlib --with-config-file-path=/etc --with-freetype-dir=/usr/local/lib My webserver keeps crashing: error log entry [Tue Jul 2 15:12:07 2002] [error] [client 164.214.4.59] (24)Too many open files I am just wondering if this a php issue or something else... B i g D o G - Original Message - From: Michael Sweeney [EMAIL PROTECTED] To: B i g D o g [EMAIL PROTECTED] Cc: PHP GEN [EMAIL PROTECTED] Sent: Tuesday, July 02, 2002 12:04 PM Subject: Re: [PHP] PHP and Apache 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 unsubscribe, visit: http://www.php.net/unsub.php -- This email was sent with Ximian Evolution. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php and apache path...
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, jonny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
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 -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and Apache
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
Re: [PHP] PHP and Apache
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 unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Apache
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 --with-zlib --with-config-file-path=/etc --with-freetype-dir=/usr/local/lib My webserver keeps crashing: error log entry [Tue Jul 2 15:12:07 2002] [error] [client 164.214.4.59] (24)Too many open files I am just wondering if this a php issue or something else... B i g D o G - Original Message - From: Michael Sweeney [EMAIL PROTECTED] To: B i g D o g [EMAIL PROTECTED] Cc: PHP GEN [EMAIL PROTECTED] Sent: Tuesday, July 02, 2002 12:04 PM Subject: Re: [PHP] PHP and Apache 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 unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
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 variable you're looking for. --Dan Do you advice me to use $_SERVER['DOCUMENT_ROOT'] . remaining_path/ in all my files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
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, --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
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 variable you're looking for. --Dan Sorry again... Document root doensn't solve my problem... the var contain /var/www/html instead of /var/www/html/mysite maybe I should set something up? Any solution? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
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 variable you're looking for. If that doesn't have what you're looking for, you need to craft your own solution. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
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 = /usr/home/sitename/inc/;# or whatever Then do something like include({$incdir}file.inc); Or maybe write a small function that allows you to do it all transparently... maybe something like myinclude('file.inc'). As Dan has pointed out, the other option would be to use $_SERVER['DOCUMENT_ROOT']: $docroot = $_SERVER['DOCUMENT_ROOT']; include({$docroot}myfile.inc); I don't believe it can be done with ~/ or ./ or something... haven't found it yet!! Justin French on 03/07/02 1:34 AM, Analysis Solutions ([EMAIL PROTECTED]) 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 variable you're looking for. --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP 4.2.0 + Apache 2.0.35 (W2KSP2)
I have copied these three lines from the php install.txt file into httpd.conf: LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php and php4ts.dll is in winnt\system32. Apache freezes unless I comment out those lines. When I test php 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, Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP on Apache 2.0 -- Does it work?
Thanks for the info. Apache 1.3.24 isn't a bad release to be stuck with. :) I just wanted to be a little bit on the bleeding edge. Regards, Steve Tyler Longren [EMAIL PROTECTED] wrote in message 004001c1ddf3$13d82b90$0101a8c0@nightengale">news:004001c1ddf3$13d82b90$0101a8c0@nightengale... 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 until the php group releases a new version for Apache 2. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP on Apache 2.0 -- Does it work?
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 (1.2.x) will successfully run on Apache 2.0 (just GA'd). Any info on this will be greatly appreciated. Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP on Apache 2.0 -- Does it work?
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 until the php group releases a new version for Apache 2. ;-) Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Steve Magruder, D2 Director [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 06, 2002 12:52 PM Subject: [PHP] PHP on Apache 2.0 -- Does it work? 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 (1.2.x) will successfully run on Apache 2.0 (just GA'd). Any info on this will be greatly appreciated. Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and APACHE VirtualDomains
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() on the instance which is already running and it returned: It said the config file was in /usr/local/lib/php.ini I think i am looking for the module mod_php4 but I cannot see where it is. Any ideas? ALSO I'm having lots of trouble with VirtualDomains. I have an instance second httpd running (without php) on a port other than 80 and it runs fine. But whenever I add VirtualDomain to the httpd.conf the main page gets replaced by the main page of the VirtualDomain. This is really anoying me is there anything I should check for? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP 4.1.2 - apache 1.3.20 - irix 6.5, build problem
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 -prefer-pic -c zend_operatorsc zend_operatorsc: In function `multi_convert_to_long_ex': zend_operatorsc:566: parse error before zval zend_operatorsc:566: parse error before zval zend_operatorsc:566: parse error before zval zend_operatorsc:566: parse error before zval zend_operatorsc:566: parse error before zval zend_operatorsc:566: parse error before ')' token zend_operatorsc: In function `multi_convert_to_double_ex': zend_operatorsc:581: parse error before zval zend_operatorsc:581: parse error before zval zend_operatorsc:581: parse error before zval zend_operatorsc:581: parse error before zval zend_operatorsc:581: parse error before zval zend_operatorsc:581: parse error before ')' token zend_operatorsc: In function `multi_convert_to_string_ex': zend_operatorsc:596: parse error before zval zend_operatorsc:596: parse error before zval zend_operatorsc:596: parse error before zval zend_operatorsc:596: parse error before zval zend_operatorsc:596: parse error before zval zend_operatorsc:596: parse error before ')' token *** Error code 1 (bu21) *** Error code 1 (bu21) What goes wrong, can anyone help TIA -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp
[PHP] PHP and Apache Win32
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:30:46 2002] [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 Files/Apache Group/Apache/htdocs/php/ Directory C:/Program Files/Apache Group/Apache/htdocs/php AllowOverride None Options None Order allow,deny Allow from all /Directory I suspect that there is an error there somewhere, but can't figure out what Regards Gordon -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp
Re: [PHP] PHP and Apache Win32
Yes, you have got a few thing mixed up, to be exact DSO and CGI The DSO module containing the PHP engine is loaded into Apache, and therefore it doesn't the CGI version (phpexe) anymore So 'ScriptAlias' is only needed for CGI installations, and you don't need the 'Directory' part either All you need besides 'AddModule' to load the module, is a specification of what file extensions (php) should be run through PHP This can be done with 'AddType', for example: AddType application/x-httpd-php phtml php AddType application/x-httpd-php-source phps bvr [Fri Mar 01 13:30:46 2002] [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 Files/Apache Group/Apache/htdocs/php/ Directory C:/Program Files/Apache Group/Apache/htdocs/php AllowOverride None Options None Order allow,deny Allow from all /Directory I suspect that there is an error there somewhere, but can't figure out what Regards Gordon -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp
[PHP] PHP-cvs + Apache 2.0.32 + glibc 2.2.5 + gcc3 = problem?
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 module I installed there too. I found that both modules I have(one compiled using gcc3 and one with gcc2), do not let httpd start. I'm not sure where to go from here to find out which half it is, but I'm going to do the following: 1. not use ssl(which I did on my test setup as well as the glibc 2.2.5 system) 2. minimal configuration and installs of both php and apache2. e.g. ./configure --prefix=/web/2.0 --enable-so (for apache2) then ./configure --with-apxs2=/web/2.0/bin/apxs (for php4-cvs) If that works, then something in the middle is mucking things up, and I'll try to see what I can do there. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-698-7250 email: [EMAIL PROTECTED] It is the part of a good shepherd to shear his flock, not to skin it. Latin Proverb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php 4.0.6, apache problem
Hi, I've installed php 4.0.6 since I am working with mapserver which works with 4.0.6 only. This is my configuration: ./configure --prefix=/rstc/user1/erc/pushkar/php-4.0.6 --with-apxs=/rstc/user1/erc/pushkar/apache_1.3.22/bin/apxs After this I add the foll. to my httpd.conf file of apache (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 is: ./configure --with-layout=Apache --prefix=/rstc/user1/erc/pushkar/apache_1.3.22 --enable-module=so However when I try to start up apache I get the foll. error: Banshee[540] pushkar$ apachectl start Syntax error on line 205 of /rstc/user1/erc/pushkar/apache_1.3.22/conf/httpd.conf: Cannot load /rstc/user1/erc/pushkar/apache_1.3.22/libexec/libphp4.so into server: ld.so.1: /rstc/user1/erc/pushkar/apache_1.3.22/bin/httpd: fatal: relocation error: file /rstc/user1/erc/pushkar/apache_1.3.22/libexec/libphp4.so: symbol ap_block_alarms: referenced symbol not found ./apachectl start: httpd could not be started Can anybody suggest what is wrong, I tried the mailing list but the solns. didn't work. Thanks, -- PUSHKAR S. PRADHAN Research Assistant MISSISSIPPI STATE UNIVERSITY, STARKVILLE, MS 39759. Engineering Research Center Box 9627 Mississippi State, MS 39762-9627 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Apache authorization: how to logout. Help!
I read somewhere that if you type an underscore it clears authentication info. I haven't tried it and it seems obscure but its worth a try! LJ Frederick L. Steinkopf [EMAIL PROTECTED] wrote in message 018201c1ac67$c4d9c6a0$851a88ac@frederis">news:018201c1ac67$c4d9c6a0$851a88ac@frederis... While I've never done this before, couldn't you use a session and have session variables tied to the user name and password and then have the logout function kill the session? - Original Message - From: Rodolfo Gonzalez [EMAIL PROTECTED] To: Matthew Walker [EMAIL PROTECTED] 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 before, it's not possible without closing the user's browser. My site is in directory which is protected with .htaccess file. I want to develope a logout function, which can reset Apache authorization. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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 not possible without closing the user's browser. My site is in directory which is protected with .htaccess file. I want to develope a logout function, which can reset Apache authorization. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Apache authorization: how to logout. Help!
While I've never done this before, couldn't you use a session and have session variables tied to the user name and password and then have the logout function kill the session? - Original Message - From: Rodolfo Gonzalez [EMAIL PROTECTED] To: Matthew Walker [EMAIL PROTECTED] 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 before, it's not possible without closing the user's browser. My site is in directory which is protected with .htaccess file. I want to develope a logout function, which can reset Apache authorization. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP and Apache authorization: how to logout. Help!
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 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 English :) Aras -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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]
RE: [PHP] PHP and Apache authorization: how to logout. Help!
I've done some investigating on my own. There is no way to do this. Period. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Matthew Walker Sent: Friday, February 01, 2002 3:37 PM To: Aras Kucinskas; [EMAIL PROTECTED] Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help! 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 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 English :) Aras -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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]
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: RE: [PHP] PHP and Apache authorization: how to logout. Help! I've done some investigating on my own. There is no way to do this. Period. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Matthew Walker Sent: Friday, February 01, 2002 3:37 PM To: Aras Kucinskas; [EMAIL PROTECTED] Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help! 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 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 English :) Aras -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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] This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- 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]
RE: [PHP] PHP and Apache authorization: how to logout. Help!
The entire browser has to close down to clear the auth data. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Lazor, Ed [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 4:41 PM To: Matthew Walker; Aras Kucinskas; [EMAIL PROTECTED] Subject: 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: RE: [PHP] PHP and Apache authorization: how to logout. Help! I've done some investigating on my own. There is no way to do this. Period. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Matthew Walker Sent: Friday, February 01, 2002 3:37 PM To: Aras Kucinskas; [EMAIL PROTECTED] Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help! 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 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 English :) Aras -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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] This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002 -- 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]
RE: [PHP] PHP and Apache authorization: how to logout. Help!
At 03:41 PM 2/1/02 -0800, Lazor, Ed wrote: 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 I've done some investigating on my own. There is no way to do this. Period. It's not QUITE as impossible as this, but nearly. You can give the browser a new challenge, and hope that it will clear the old username/password information that it's memorizing for the session. But I have found that certain combinations in certain browsers can subvert any such techniques. Thus, only quitting the browser entirely will force the browser to forget the authentication information. HOWEVER, certain users with IE 5 on the Mac have reliably reported that even quitting the browser doesn't work for them, but they instead have to restart their machines. (The HTTP specification mentions nothing about logout functionality.) Thus, if logging out is important to your application, then using browser-based authentication is not an acceptable solution. You'll have to use session management and build your own login screen. (Or, of course, reuse an existing 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 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 -- 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]
[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 English :) Aras -- 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]
[PHP] PHP 4.1.1 + Apache 2.0.30 Ouput Filter....
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 understood by the output filter. I'm using the following for the OuputFilter lines in my httpd.conf: # #For PHP to work AddType application/x-httpd-php .php .html FilesMatch *.php SetInputFilter php SetOutputFilter php /FilesMatch BTW, FilesMatch *.php,*.html doesn't seem to work anymore. That's what I used to use, and everything was hunky dory. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-698-7250 email: [EMAIL PROTECTED] It is the part of a good shepherd to shear his flock, not to skin it. Latin Proverb signature.asc Description: This is a digitally signed message part
Re: [PHP] PHP 4.1.1 + Apache 2.0.30 Ouput Filter....
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, resetting apache, rechecking my filters, everything is fine. Thanks to anyone who was thinking. On Wed, 2002-01-02 at 15:35, Austin Gonyou wrote: 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 understood by the output filter. I'm using the following for the OuputFilter lines in my httpd.conf: # #For PHP to work AddType application/x-httpd-php .php .html FilesMatch *.php SetInputFilter php SetOutputFilter php /FilesMatch BTW, FilesMatch *.php,*.html doesn't seem to work anymore. That's what I used to use, and everything was hunky dory. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-698-7250 email: [EMAIL PROTECTED] It is the part of a good shepherd to shear his flock, not to skin it. Latin Proverb -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-698-7250 email: [EMAIL PROTECTED] It is the part of a good shepherd to shear his flock, not to skin it. Latin Proverb signature.asc Description: This is a digitally signed message part
[PHP] php filling apache error log with copies of the server environment
Hey - My php installation is filling my apache error log with copies of the piece of the environment that PHP knows as HTTP_SERVER_VARS. It seems to be caused by imap functions. ? phpinfo(); ? doesnt do it... but if i do ? $mb = imap_open({imap.blah.edu:143}INBOX, 'user', 'passwd'); ? I get 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 php.ini file, to no avail. thanks Liam -- 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]
[PHP] PHP slash Apache question?
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 error' in the title bar of the browser and the body says 'The page cannot be displayed'. Thanks in advance for any replies. Also, the index page that this is going to is issued location redirect through PHP that moves it to another page. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction, unless specifically agreed otherwise. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect the views or opinions of Capital Institutional Services, Inc. Capital Institutional Services, Inc. accepts no liability for any errors or omissions arising as a result of transmission. Use of this communication by other than intended recipients is prohibited. ** -- 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]
[PHP] PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install
(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) 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-x.x.x.tar.gz 4. tar xvf php-x.x.x.tar 5. cd apache_1.3.x 6. ./configure --prefix=/usr/local/httpd 7. cd ../php-x.x.x 8. ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.20 --enable-track-vars 9. make 10. make install 11. cd ../apache_1.3.20 12. ./configure --activate-module=src/modules/php4/libphp4.a *13. make (All the commands above execute with no problem... and the error I get, when getting to this stage, the errors are after this instruction list.) 14. make install 15. cd ../php-x.x.x 16. cp php.ini-dist /usr/local/lib/php.ini 17. Edit your httpd.conf or srm.conf file and add: AddType application/x-httpd-php .php 18. Use your normal procedure for restarting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) = The error I get when attempting to install these apps: gcc -DLINUX=22 -I/root/php-4.0.6 -I/root/php-4.0.6/main -I/root/php-4.0.6/main -I/root/php-4.0.6/Zend -I/root/php-4.0.6/Zend -I/root/php-4.0.6/TSRM -I/root/php-4.0.6/TSRM -I/root/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/mysql/lib -rdynamic -L/usr/local/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x9a): undefined reference to `uncompress' /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x12a): undefined reference to `compress' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/root/apache_1.3.20/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/root/apache_1.3.20' make: *** [build] Error 2 Any ideas/help/assistance would be greatly appreciated... Thank you... - Bill -- 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]
FW: [PHP] PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install
Do you have enough space in the partition? Joseph CollegeSucks.com - See PHP in ACTION! -Original Message- (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) 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-x.x.x.tar.gz 4. tar xvf php-x.x.x.tar 5. cd apache_1.3.x 6. ./configure --prefix=/usr/local/httpd 7. cd ../php-x.x.x 8. ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.20 --enable-track-vars 9. make 10. make install 11. cd ../apache_1.3.20 12. ./configure --activate-module=src/modules/php4/libphp4.a *13. make (All the commands above execute with no problem... and the error I get, when getting to this stage, the errors are after this instruction list.) 14. make install 15. cd ../php-x.x.x 16. cp php.ini-dist /usr/local/lib/php.ini 17. Edit your httpd.conf or srm.conf file and add: AddType application/x-httpd-php .php 18. Use your normal procedure for restarting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) = The error I get when attempting to install these apps: gcc -DLINUX=22 -I/root/php-4.0.6 -I/root/php-4.0.6/main -I/root/php-4.0.6/main -I/root/php-4.0.6/Zend -I/root/php-4.0.6/Zend -I/root/php-4.0.6/TSRM -I/root/php-4.0.6/TSRM -I/root/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/mysql/lib -rdynamic -L/usr/local/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x9a): undefined reference to `uncompress' /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x12a): undefined reference to `compress' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/root/apache_1.3.20/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/root/apache_1.3.20' make: *** [build] Error 2 Any ideas/help/assistance would be greatly appreciated... Thank you... - Bill -- 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]
[PHP] PHP and Apache
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 script. I run my script and everything works fine. Then I try to run make and i get some errors when it gets to the php part. Here's what it says: === src/modules/php4 gcc -c -I../../os/unix -I../../include -DLINUX=22 -DUSE_HSREGEX -DUSE_EXP AT -I../../lib/expat-lite `../../apaci` mod_php4.c mod_php4.c:28:18: zend.h: No such file or directory mod_php4.c:29:17: php.h: No such file or directory mod_php4.c:30:27: php_variables.h: No such file or directory mod_php4.c:47:21: php_ini.h: No such file or directory mod_php4.c:48:25: php_globals.h: No such file or directory mod_php4.c:49:18: SAPI.h: No such file or directory mod_php4.c:50:22: php_main.h: No such file or directory mod_php4.c:52:26: zend_compile.h: No such file or directory mod_php4.c:53:26: zend_execute.h: No such file or directory mod_php4.c:54:28: zend_highlight.h: No such file or directory mod_php4.c:55:25: zend_indent.h: No such file or directory mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory make[4]: *** [mod_php4.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/updates/apache_1.3.20/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/home/updates/apache_1.3.20' make: *** [build] Error 2 I'm not too sure where apache is looking for these files but i've tried copying each one of these files to the /home/updates/apache_1.3.20/src directory but it still can't find them. Is there any way to get this to work? Thanks, Jay -- 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]
Re: [PHP] PHP and Apache
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 run my script and everything works fine. Then I try to run make and i get some errors when it gets to the php part. Here's what it says: This is a FAQ and a big fat note in the INSTALL file as well. It is supposed to be: --activate-module=src/modules/php4/libphp4.a -Rasmus -- 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]
Re: [PHP] PHP and Apache
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 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 run my script and everything works fine. Then I try to run make and i get some errors when it gets to the php part. Here's what it says: This is a FAQ and a big fat note in the INSTALL file as well. It is supposed to be: --activate-module=src/modules/php4/libphp4.a -Rasmus -- 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] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- 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]
Re: [PHP] PHP and Apache
Then you didn't follow the steps in the INSTALL file exactly. Go back and start over. This stuff has been tested thousands of times. It works. -Rasmus On Mon, 13 Aug 2001, Jay Paulson wrote: 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 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 run my script and everything works fine. Then I try to run make and i get some errors when it gets to the php part. Here's what it says: This is a FAQ and a big fat note in the INSTALL file as well. It is supposed to be: --activate-module=src/modules/php4/libphp4.a -Rasmus -- 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] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- 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]
[PHP] PHP and Apache 1.3.12
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-source .phps when I type httpd -l, I notice the following: [root@test bin]# ./httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_setenvif.c suexec: enabled; valid wrapper /usr/local/apache/bin/suexec I am not sure why my Apache still does not recognize php files. When I try to access a php file on the server through a web browser, it will ask me if I want to download. It's almost as though it did not recognize the PHP extension. I was reading through some of README files that came with the PHP source files and it mentioned that I need to have the mod_so active. Well as you can see mod_so was not on my list when I typed httpd -l. I have read the Apache documentation, but I am lost in terms of how to install this mod_so module. I was wondering has anybody out there had a similar experience. If so can anyone offer any suggestions. thanks.
[PHP] PHP and Apache on OS X insight?
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-777-9949 -- 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]
[PHP] PHP and Apache on OS X insight?
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-777-9949 -- 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]
RE: [PHP] PHP and Apache on OS X insight?
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, there is an increasing amount of support for OS X Server out there. Also, you do mean OS X Server, and not OS X, correct? Jack -Original Message- From: Michael J. Seely [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 8:30 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP and Apache on OS X insight? 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-777-9949 -- 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] -- 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]
[PHP] PHP for APACHE 2.x API
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
[PHP] php, mod_ssl, apache
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 this? Also, I've been working on a freebsd box. When compiling php --with-apxs apache has some weird problems. For example: When I run: /usr/local/apache/bin/apachectl start apache starts fine. Then, when I run: /usr/local/apache/bin/apachectl restart apache says that there is no current apache process (it's not running). But it infact IS running. When I do a 'ps -ax' there are a few -httpd processes (which is normal). Thanks everyone, Tyler Longren -- 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]
[PHP] PHP with Apache 2 from CVS
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 (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]
[PHP] PHP Java: Apache processes
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 for each call to Java. They show up with ' rt_sigsuspend ' in a PS listing. My guess, based on looking for that term on the net, is that it may have to do with the Java RunTime not being able to exit and hanging. Over a day or two, three developers can crank the Apache processes up near 300. I'd appreciate any help with this. I'm currently cleaning up with a cron script, but I'd like to solve the problem if at all possible. -Jim Kirkpatrick -- 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]
[PHP] PHP as apache module and security.
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 also as nobody) which reads filesystem with permissions of apache? Is there a method of making php as module really secure? Regards, Andrzej -- http://kokosz.horyzont.net http://www.earthdawn.pl -- 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]
Re: [PHP] PHP as apache module and security.
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 user. 2) open-basedir : put this parameter for each php directory to this directory; then the scripts cannot access files that are elsewhere on the server In Apache httpd.conf it would be like: Directory /path-to-a-php-directory AddType application/x-httpd-php .php .php4 AddType application/x-httpd-php-source .phps php_admin_value open_basedir '/path-to-a-php-directory' /Directory Has someone tested it ? Do you see a problem in it ? Estelle Andrzej Swedrzynski [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] 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 also as nobody) which reads filesystem with permissions of apache? Is there a method of making php as module really secure? Regards, Andrzej -- http://kokosz.horyzont.net http://www.earthdawn.pl -- 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] -- 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]
Re: [PHP] PHP as apache module and security.
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 box have all a different corresponding Unix user. I can not use it because I need to create files dynamically and they will have ,,nobody'' as an user. Further executing scripts have no way to read those files. 2) open-basedir : put this parameter for each php directory to this directory; then the scripts cannot access files that are elsewhere on the server In Apache httpd.conf it would be like: Directory /path-to-a-php-directory AddType application/x-httpd-php .php .php4 AddType application/x-httpd-php-source .phps php_admin_value open_basedir '/path-to-a-php-directory' /Directory Has someone tested it ? Do you see a problem in it ? I haven't tested it, however it looks nice and I'll talk to my server's owner about it. There is however one bad feature of this method, the administroation. For every user and every application administrator has to create an entry in httpd.conf. Anyway it's his/her problem... Thanks for suggestions! Regards, Andrzej -- http://kokosz.horyzont.net http://www.earthdawn.pl -- 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]
[PHP] PHP 4.0.5 Apache 2.0
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. /'^'\ ( o o ) --oOOO--(_)--OOOo Devin Atencio ArosNet Systems Administration .oooO EMail: [EMAIL PROTECTED] ( ) Oooo. \ (( )- \_)) / (_/ -- 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]
[PHP] php dieing/apache or something!
[root@blackwidow logs]# gdb /usr/local/apache/bin/httpd GNU gdb 19991004 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-redhat-linux... (gdb) run -X -f /usr/local/apache/conf/http_debug.conf Starting program: /usr/local/apache/bin/httpd -X -f /usr/local/apache/conf/http_debug.conf WARNING: detected MinSpareServers set to non-positive. Resetting to 1 to avoid almost certain Apache failure. Please read the documentation. Program received signal SIGSEGV, Segmentation fault. 0x4021a17c in chunk_free (ar_ptr=0x402aef40, p=0x81e2ed0) at malloc.c:3119 3119malloc.c: No such file or directory. (gdb) bt #0 0x4021a17c in chunk_free (ar_ptr=0x402aef40, p=0x81e2ed0) at malloc.c:3119 #1 0x4021a005 in __libc_free (mem=0x81e2ed8) at malloc.c:3031 #2 0x40321039 in _efree (ptr=0x81e2ee4) at zend_alloc.c:238 #3 0x40333bcd in destroy_op_array (op_array=0x818fda4) at zend_opcode.c:172 #4 0x4032e772 in execute (op_array=0x8198ba4) at ./zend_execute.c:2081 #5 0x4033a150 in zend_execute_scripts (type=8, file_count=3) at zend.c:729 #6 0x4034b261 in php_execute_script (primary_file=0xb8b4) at main.c:1221 #7 0x40347ca2 in apache_php_module_main (r=0x818457c, display_source_mode=0) at sapi_apache.c:89 #8 0x403485c3 in send_php (r=0x818457c, display_source_mode=0, filename=0x0) at mod_php4.c:516 #9 0x403485f4 in send_parsed_php (r=0x818457c) at mod_php4.c:527 #10 0x8094ae3 in ap_invoke_handler () #11 0x80a8a89 in process_request_internal () #12 0x80a8eb8 in ap_internal_redirect () #13 0x8067cad in handle_dir () #14 0x8094ae3 in ap_invoke_handler () #15 0x80a8a89 in process_request_internal () #16 0x80a8aec in ap_process_request () #17 0x80a002e in child_main () #18 0x80a01dc in make_child () #19 0x80a0339 in startup_children () #20 0x80a0976 in standalone_main () #21 0x80a1113 in main () #22 0x401d89bb in __libc_start_main (main=0x80a0dbc main, argc=4, argv=0xbaf4, init=0x8054ce8 _init, fini=0x80d7a80 _fini, rtld_fini=0x4000af40 _dl_fini, stack_end=0xbaec) at ../sysdeps/generic/libc-start.c:92 (gdb) continue Continuing. Program terminated with signal 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 OpenSSL/0.9.5a Content-Location: index.html.en Vary: negotiate,accept-language,accept-charset TCN: choice Last-Modified: Sat, 07 Apr 2001 21:17:24 GMT ETag: 36cca-a71-3acf83e4;3adfb0bb Accept-Ranges: bytes Content-Length: 2673 Connection: close Content-Type: text/html Content-Language: en Expires: Fri, 27 Apr 2001 04:32:13 GMT Connection closed by foreign host. [root@blackwidow logs]# PHP: ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --with-gd=/usr/local --with-jpeg-dir=/usr/lib --with-imap=/usr/local Apache: ./configure \ --with-layout=Apache \ --enable-module=so \ --activate-module=src/modules/auth_mysql/libauth_mysql.a \ --enable-module=ssl \ --enable-module=rewrite \ $@ Thanks! Eric -- 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]
Re: [PHP] PHP for Apache 2.0
I've got PHP up and running partially under Apache 2.0 quite some time ago, however despite the sweetness of Apache 2, this is probably not something you want to do. Looking forward to PHP coming out more fully for Apache 2.0, if there is anything we can do to help it along I'm all ears. August - 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 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 more than one Webserver-API. regards Wagner -- 'When the computer industry is at a low, beer drinking is at a high.' Jon 'maddog' Hall said. By combining both industries into a single course you can make sure you always have a job. -- 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] -- 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]
[PHP] PHP for Apache 2.0
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/ Ill-gotten treasures are of no value, but righteousness delivers from death. -- Proverbs 10:2 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010414 === Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/ -- 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]
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 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 more than one Webserver-API. regards Wagner -- 'When the computer industry is at a low, beer drinking is at a high.' Jon 'maddog' Hall said. By combining both industries into a single course you can make sure you always have a job. -- 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]
RE: [PHP] php and apache protected directories
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 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 ? Thank you, Marius -- 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] -- 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]
[PHP] php and apache 2.0
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]
[PHP] php and apache protected directories
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 ? Thank you, Marius -- 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]
[PHP] PHP+PGP+Apache! Newbie, please help!!
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.
[PHP] (PHP+Linux+Apache+MySQL)+(Windows+Explorer)
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 administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] (PHP+Linux+Apache+MySQL)+(Windows+Explorer)
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/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]