[PHP] Apache2 and cli return diferent values on glob function

2008-04-18 Thread Luciano A. Andrade
Hello everyone, i am working on a php script and found out that the glob function is not working properly on the apache2 sapi, is working just fine on the cli version, i try with php 5.2.3, 5.2.5 y 5.2.6RC5. also try the cli version with the www-data user (the one is running the apache) and it get

[PHP] suse php apache2 sessions problem

2006-04-04 Thread Paul Nowosielski
Dear All, I'm setting up a development server (SuSe 9.1 x86_64, apache2, php 4)and I'm having a weird issue with php 4 not recognizing the start_session function. I've loaded the module with the php.ini file: extension=session.so I've installed the rpm for php sessions and frankly I'm dumbfounde

[PHP] Apache2 PHP Downloadin Code

2006-01-11 Thread Ray Hauge
Hello everyone, I'm having some problems with one of our servers. Recently Plesk overwrote our configuration file, and I'm trying to get the thing back online. To make a long story short, I've got PHP working with http, but now that I've got the https virtual host set up, php doesn't work wit

[PHP] Apache2 x FastCGI x opcode cache

2005-08-18 Thread steve
Hi! I have some questions about setting up Apache2/worker and using PHP via FastCGI and using an op-code accelerator. Namely, how do I not confuse the op-code accelerator into re-creating several caches in several memory segments. The webserver in worker mode automatically create (for example) 5 p

[PHP] Apache2 x FastCGI x opcode cache

2005-08-18 Thread steve
Hi! I have some questions about setting up Apache2/worker and using PHP via FastCGI and using an op-code accelerator. Namely, how do I not confuse the op-code accelerator into re-creating several caches in several memory segments. The webserver in worker mode automatically create (for example)

[PHP] apache2/php file manager: security suggestions

2005-05-10 Thread brett
Hi, I've written a web based file manager using PHP and running on an apache 2 server. Before putting it on a live webserver i'd like to get some security suggestions. Desired Goals: 1. Read, write text files from a web browser. 2. Files should be owned by me so as not to be readable\writable to

Re: [PHP] Apache2 html/php dir-where..?

2005-04-12 Thread Mark Sargent
Jason Wong wrote: On Tuesday 12 April 2005 16:09, Mark Sargent wrote: I've gone and uninstalled the pre-installed httpd/php via yum on Fedora3 and re-installed Apache/PHP via source. Apache is now installed at /usr/local/apache2. I want to know, where is the dir for html/php files. B4 it was /va

Re: [PHP] Apache2 html/php dir-where..?

2005-04-12 Thread Jason Wong
On Tuesday 12 April 2005 16:09, Mark Sargent wrote: > I've gone and uninstalled the pre-installed httpd/php via yum on > Fedora3 and re-installed Apache/PHP via source. Apache is now installed > at /usr/local/apache2. I want to know, where is the dir for html/php > files. B4 it was /var/www/html.

[PHP] Apache2 html/php dir-where..?

2005-04-12 Thread Mark Sargent
Hi All, I've gone and uninstalled the pre-installed httpd/php via yum on Fedora3 and re-installed Apache/PHP via source. Apache is now installed at /usr/local/apache2. I want to know, where is the dir for html/php files. B4 it was /var/www/html. What is it now..? Cheers. Mark Sargent. -- PHP Ge

Re: [PHP] apache2 & php stability

2004-11-29 Thread Anthony Gauda
actually any distro with a 2.6 kernel should already have it. You can check by doing a getconf GNU_LIBPTHREAD_VERSION if it says NPTL .xx you have it... Greg Donald wrote: On Mon, 29 Nov 2004 16:21:22 -0600, Anthony Gauda <[EMAIL PROTECTED]> wrote: The same load under apache 2 runs under 300 thre

Re: [PHP] apache2 & php stability

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 16:21:22 -0600, Anthony Gauda <[EMAIL PROTECTED]> wrote: > The same load under apache 2 runs under 300 > threads. With Linux 2.6 threads are very lightweight and in terms of Are distros shipping with NPTL already? I saw a Gentoo thread on how to convert a system to use NPTL bu

Re: [PHP] apache2 & php stability

2004-11-29 Thread Anthony Gauda
Apache2 is multithreaded and works better under higher loads with a smaller memory footprint. If you have 300 simul connections under apache 1.3 you need 300 forks. The same load under apache 2 runs under 300 threads. With Linux 2.6 threads are very lightweight and in terms of system resources

Re: [PHP] apache2 & php stability

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 15:55:31 -0600, Anthony Gauda <[EMAIL PROTECTED]> wrote: > I have read at various places on the web that Apache 2 and PHP running > as a module isn't recommended for production sites. Does anyone here run > PHP 4/5 and Apache2 in a high load production environment with success?

[PHP] apache2 & php stability

2004-11-29 Thread Anthony Gauda
I have read at various places on the web that Apache 2 and PHP running as a module isn't recommended for production sites. Does anyone here run PHP 4/5 and Apache2 in a high load production environment with success? If so, whats your configuration? Thanks! -- PHP General Mailing List (http://ww

[PHP] Apache2 + PHP problem

2004-10-22 Thread Marco Stranieri
    Marco Stranieri Net.Software Division NETHOUSE S.p.A. C.so Re Umberto I, 57 - 10128 Torino - Italy Tel. +39-011-227.227 - Fax +39-011-227.228 http://www.nethouse.it - mailto:[EMAIL PROTECTED] Il presente messaggio non costituisce un impegno contrattuale tra NETHOUSE S.p.

[PHP] Apache2 + PHP problem

2004-10-22 Thread Marco Stranieri
Hi, I’ve a problem when I start apaci on my server:   [EMAIL PROTECTED] bin]$ ./apachectl start Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: ap_block_alarms   The conf

Re: [PHP] Apache2.x and php4.x

2004-04-03 Thread Lester Caine
Burhan Khalid wrote: Merlin wrote: Hi there, I am just about to install a new server and I was wondering if php now workes fine with apache2.x. I remember that there have been problems some while ago. Is this fixed and is it good enough for production servers? From http://www.php.net/manua

Re: [PHP] Apache2.x and php4.x

2004-04-03 Thread Burhan Khalid
Merlin wrote: Hi there, I am just about to install a new server and I was wondering if php now workes fine with apache2.x. I remember that there have been problems some while ago. Is this fixed and is it good enough for production servers? From http://www.php.net/manual/en/install.apache2.php :

[PHP] Apache2.x and php4.x

2004-04-03 Thread Merlin
Hi there, I am just about to install a new server and I was wondering if php now workes fine with apache2.x. I remember that there have been problems some while ago. Is this fixed and is it good enough for production servers? Thanx, Merlin -- PHP General Mailing List (http://www.php.net/) To

[PHP] apache2 hanging

2004-02-09 Thread Bryan Simmons
I'm using php 4.3.4 as a loadable module for Apache2 on a Redhat box. It works for the most part except that for about every 5th page that is requested, the server hangs. It always finishes the process and the page but it hangs for like 5 minutes. Is this a known error? Does anyone know how to f

[PHP] apache2 with php 432

2003-09-07 Thread Nabil
is it recommended to upgrade my production server from apache_1.3.28 to apache 2 I use with the first one php 432.. and it work like a charm!! But I tried to compile apache 2 with mysql and php on redhat 9 on a test server , but still have errors , and not managed ,, any suggestion? Best regards

[PHP] apache2 + php 4.3.2 on solaris not starting

2003-08-14 Thread Stacey Conrad
Hi, I have apache 2.0.47 + php 4.3.2 + mod_jk2 2.0.2 installed on a Solaris 9 box. php and mod_jk2 are both DSO modules. Yesterday, everything worked fine. Today I tried to add some virtual hosts to httpd.conf and when I tried to restart apache, everything blew up. Apache would not start, and i

[PHP] Too all who are stuck with PHP/Apache2 under RH8

2003-03-17 Thread Jason Young
Just a quick reiteration of something I found that probably most people already know.. but since I went through the painstaking trouble of removing the PHP and Apache RPMs and building them from scratch (I hate building sources), I wanted to make sure this is out there. If you're having problem

Re: [PHP] Apache2 & PHP4

2002-12-20 Thread Dries Verachtert
Hello, I use the following in my VirtualHost example: DocumentRoot /a/b/c/d/ ServerName a.be SetOutputFilter PHP SetInputFilter PHP I don't have AddType's for .html. I also still got the following: AllowOverride All This was needed to make the AddType in .htaccess file

[PHP] Apache2 & PHP4

2002-12-20 Thread Chase Urich
OK, so I've spent the last 2 or 3 hours looking on the net for this. Can anyone tell me the proper way (with Apache 2.0.40) to instruct apache to process .htm and .html files? I've tried: In /etc/httpd/conf/httpd.conf :: AddType application/x-httpd-php .php AddType application/x-ht

Re: [PHP] Apache2 and PHP4.2.3 - errors

2002-10-02 Thread Ionut Ciocirlan
I haven't tried php with apache 2 on linux yet, but the windows distribution of php has 2 dlls: php4apache.dll and php4apache2.dll; there's nothing in the documentation about the second dll whatsoever, neither any installation guide for Apache 2; the guide actually says using the php4apache.dll as

Re: [PHP] Apache2 and PHP4.2.3 - errors

2002-10-02 Thread Rasmus Lerdorf
PHP doesn't officially support Apache2 at this point. Go back to Apache1. On Thu, 3 Oct 2002, Chris Aitken wrote: > Hi all, > > I have recently upgraded to apache2 on my FreeBSD 4.6 box, and the upgrade > worked well, the daemon was running and serving pages etc. So I installed > the latest PHP

[PHP] Apache2 and PHP4.2.3 - errors

2002-10-02 Thread Chris Aitken
Hi all, I have recently upgraded to apache2 on my FreeBSD 4.6 box, and the upgrade worked well, the daemon was running and serving pages etc. So I installed the latest PHP build in my ports tree (4.2.3) and it compiled no problems, but when I added the required lines into my httpd.conf to make

Re: [PHP] apache2.x and php

2002-10-01 Thread Rasmus Lerdorf
You have it backwards. Apache 2.x can only have PHP as a shared module at this point, no static. -Rasmus On Tue, 1 Oct 2002, Anil Garg wrote: > Hi, > i came to know from someone that i can *not* make php a shared module in > apache 2.x .It works only in > 1.3x. > > If thats true can someone

[PHP] apache2.x and php

2002-10-01 Thread Anil Garg
Hi, i came to know from someone that i can *not* make php a shared module in apache 2.x .It works only in 1.3x. If thats true can someone point me to some link saying the same. thanx and regards anil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] Apache2

2002-08-16 Thread Bob Lockie
>Upgraded to Apache2, and now most of my php scripts won't work. No error msg >att all, just that nothing happens. > >Guess I missed some standard security setting, got any clues to this newbie? What does phpinfo() say? What does "httpd -l" say? -- PHP General Mailing List (http://www.php.

Re: [PHP] Apache2

2002-08-16 Thread Rasmus Lerdorf
It will be a while before Apache 2 is properly supported. Switch back to Apache 1.3.x for now. We are working on it and PHP 4.3 should be significantly better with Apache 2. -Rasmus On Fri, 16 Aug 2002, Björn Hilliges wrote: > Upgraded to Apache2, and now most of my php scripts won't work. No

[PHP] Apache2

2002-08-16 Thread Björn Hilliges
Upgraded to Apache2, and now most of my php scripts won't work. No error msg att all, just that nothing happens. Guess I missed some standard security setting, got any clues to this newbie? Thanks Björn Hilliges, Sweden. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] HOWTO: ODBC-PHP-Apache2

2002-07-25 Thread Andrew Hill
http://www.iodbc.org/odbc-php-apache2.html Please provide feedback and comments! Best regards, Andrew Hill Director of Technology Evangelism - OpenLink Software What is Virtuoso? http://www.openlinksw.com/virtuoso/whatis.htm -- PHP Ge

Re: [PHP] Apache2

2002-05-13 Thread Danny Shepherd
ut I don't see how how situation would require anything different. HTH Danny. - Original Message - From: "Frank Miller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 13, 2002 7:17 PM Subject: [PHP] Apache2 > All, >

[PHP] Apache2

2002-05-13 Thread Frank Miller
All, I've gotten some very good answers from the knowledgable people on this list so I thought I would ask a question that I've been wondering about and maybe other people have too. I'm running a Linux 7.2 server with MySQL, Php 4.20 and Apache 1.3.24. I followed some instruct

[PHP] Apache2/PHP: Undefined server variables

2001-09-23 Thread Art Boulatov
Hi, sorry if this is a dumb question (I think I've read the docs :) I 've just set up Apache-2.0.26-dev with php-4.0.8-dev both from CVS, and now when I try to access the server variables like: or I got "Undefined variable:" in the logs. The same is for: I played with php.ini with no eff