[PHP] php apache module before read a file recursively scan full path

2010-06-14 Thread Vincenzo D'Amore
Hello, I have performance problems during execution of php code. With strace I have recorded system calls which are called by apache httpd and what I have is quite singular. It seems that php apache module before read file recursively scan with lstat all the path (please also see attached file).

Re: [PHP] PHP APACHE SAVE AS

2009-12-02 Thread Julian Muscat Doublesin
Hello Everyone, I solved the mysql issue too. thanks for your help. I had to change the root the the extnsion directory as it was set to the linux style. Also found out that for windows it is always best to use C:/ instead of C:\ This works in some situations and in others it does not. On Fri,

[PHP] PHP APACHE SAVE AS

2009-11-27 Thread Julian Muscat Doublesin
Hello Everyone, I have installed PHP, Apache and MySQL on a Windows 7 machine :(. I would prefer linux or unix :) These have been setup and working correctly. However when I access a php page. I get the save as dialog. Has anyone ever experinced such a situation. Can anyone please

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Tanveer Chowdhury
That means its not recognizing the php code and thats why its giving the download prompt. why not install xampp or wamp. On Fri, Nov 27, 2009 at 4:24 AM, Julian Muscat Doublesin opensourc...@gmail.com wrote: Hello Everyone, I have installed PHP, Apache and MySQL on a Windows 7 machine

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Lester Caine
Julian Muscat Doublesin wrote: Hello Everyone, I have installed PHP, Apache and MySQL on a Windows 7 machine :(. I would prefer linux or unix :) These have been setup and working correctly. However when I access a php page. I get the save as dialog. Has anyone ever experinced such a

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Jonathan Tapicer
You are probably missing something like this in the apache httpd.conf: LoadModule php5_module c:/PHP/php5apache2_2.dll PHPIniDir c:/PHP/php.ini AddType application/x-httpd-php .php DirectoryIndex index.php index.html index.html.var Regards, Jonathan On Fri, Nov 27, 2009 at 6:24 AM, Julian

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Julian Muscat Doublesin
Hi, Just to update every one. This solution below worked perfectly. Thank you very much Jonathan. I have one other question though. Can anyone help me on the folowing. Database Error: Unable to connect to the database:The MySQL adapter mysql is not available. Thank you Julian On Fri, Nov 27,

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Ashley Sheridan
On Fri, 2009-11-27 at 17:10 +0100, Julian Muscat Doublesin wrote: Hi, Just to update every one. This solution below worked perfectly. Thank you very much Jonathan. I have one other question though. Can anyone help me on the folowing. Database Error: Unable to connect to the database:The

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Bastien Koert
On Fri, Nov 27, 2009 at 11:20 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2009-11-27 at 17:10 +0100, Julian Muscat Doublesin wrote: Hi, Just to update every one. This solution below worked perfectly. Thank you very much Jonathan. I have one other question though. Can anyone

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Jim Lucas
Bastien Koert wrote: On Fri, Nov 27, 2009 at 11:20 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2009-11-27 at 17:10 +0100, Julian Muscat Doublesin wrote: Hi, Just to update every one. This solution below worked perfectly. Thank you very much Jonathan. I have one other

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread kranthi
as jim stated you'll get a undefined function error if php_mysql extension is not loaded. in this case probably the MySql server is not running, or not running on the default port (most likely the former) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP+Apache suddenly not working

2009-10-27 Thread Jason Lixfeld
I have no doubt that this is due to an update that was done on my system at some point, but unfortunately I can't pinpoint where. The upshot is that PHP is completely unresponsive for me when run from Apache and I'm not sure where to look. I recognize that this isn't an apache support

Re: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Bastien Koert
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld jason-lists@lixfeld.ca wrote: I have no doubt that this is due to an update that was done on my system at some point, but unfortunately I can't pinpoint where.  The upshot is that PHP is completely unresponsive for me when run from Apache and

Re: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Ashley Sheridan
On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote: On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld jason-lists@lixfeld.ca wrote: I have no doubt that this is due to an update that was done on my system at some point, but unfortunately I can't pinpoint where. The upshot is that

Re: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Jim Lucas
Ashley Sheridan wrote: On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote: On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld jason-lists@lixfeld.ca wrote: I have no doubt that this is due to an update that was done on my system at some point, but unfortunately I can't pinpoint where.

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
-general@lists.php.net Subject: Re: [PHP] PHP+Apache suddenly not working Ashley Sheridan wrote: On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote: On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld jason-lists@lixfeld.ca wrote: I have no doubt that this is due to an update

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
-general@lists.php.net Subject: Re: [PHP] PHP+Apache suddenly not working Ashley Sheridan wrote: On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote: On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld jason-lists@lixfeld.ca wrote: I have no doubt that this is due to an update

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Ashley Sheridan
To: a...@ashleysheridan.co.uk CC: phps...@gmail.com; jason-lists@lixfeld.ca; php-general@lists.php.net Subject: Re: [PHP] PHP+Apache suddenly not working Ashley Sheridan wrote: On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote: On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld jason

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
Date: Tue, 27 Oct 2009 16:20:45 + Subject: RE: [PHP] PHP+Apache suddenly not working On Tue, 2009-10-27 at 19:16 +0300, Yuri Yarlei wrote: Hi all, If the basic functions of php not work, maybe the extension for php5 or 4 are disabled, or the library is missing, sometimes

Re: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Jason Lixfeld
@lixfeld.ca; php-general@lists.php.net Date: Tue, 27 Oct 2009 16:20:45 + Subject: RE: [PHP] PHP+Apache suddenly not working On Tue, 2009-10-27 at 19:16 +0300, Yuri Yarlei wrote: Hi all, If the basic functions of php not work, maybe the extension for php5 or 4 are disabled, or the library

Re: [PHP] PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Virgilio Quilario
Hi all, I wrote a PHP script running in Apache which takes more than 30 seconds to complete. It uses set_time_limit() to extend the time it is allowed to run. The script generates thumbnails from a list of images. Upon completion, the script redirects the browser to another page using HTTP

Re: [PHP] PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Marc Venturini
Thanks for your contribution Virgil. Unfortunately my file is not index.php (nor anything else declared in a DirectoryIndex directive). I'm planning to fix the issue using a lock to test that the script is not already running before starting it again, but I would like to find out the explanation

[PHP] PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-10 Thread Marc Venturini
Hi all, I wrote a PHP script running in Apache which takes more than 30 seconds to complete. It uses set_time_limit() to extend the time it is allowed to run. The script generates thumbnails from a list of images. Upon completion, the script redirects the browser to another page using HTTP

[PHP] PHP Apache - Consuming Too much memory

2009-03-05 Thread Shota Gedenidze
Php and apache memory problem. I have apache and php, recently added APC module to php, and after that each apache process consumes 30-100 mb of resident memory. Operating System is Linux. Does anybody have Idea how to optimize php to consume less memory? Your help is greatly appreciated, Thank

Re: [PHP] PHP Apache - Consuming Too much memory

2009-03-05 Thread Chris
Shota Gedenidze wrote: Php and apache memory problem. I have apache and php, recently added APC module to php, and after that each apache process consumes 30-100 mb of resident memory. Operating System is Linux. Does anybody have Idea how to optimize php to consume less memory?

RE: [PHP] PHP/Apache configuration failure

2007-01-11 Thread Ford, Mike
On 10 January 2007 16:28, Bruce A. Julseth wrote: I can't get Apache to restart after I've configured for PHP. I've upgraded my installation to 5.2. Now, Apache 2.2.3 runs fine without any PHP additions. [...] 4) I made the following changes to Httpd.conf After the last entry in the

[PHP] PHP/Apache configuration failure

2007-01-10 Thread Bruce A. Julseth
I can't get Apache to restart after I've configured for PHP. I've upgraded my installation to 5.2. Now, Apache 2.2.3 runs fine without any PHP additions. 1) I added my PHP directory, C:/PHP5, to my PATH 2) I copied php.ini-recommended to my C:/windows directory and renamed it php.ini 3) I made

[PHP] PHP / Apache + Error 500

2006-01-25 Thread Thomas
Hi there! I am sitting with something of a mystery and was wondering if there is someone out that might have dealt with this before: I have developed a site that runs well and fine on my machine (XP/Apache2/PHP5/MySQL5). I am using PEAR::HTML_Template_Flexy as well as Cache_Lite. The site has

RE: [PHP] PHP / Apache + Error 500

2006-01-25 Thread Albert
Thomas wrote: I had a look at the Apache log file I got from the SP ... no clue. All I know is that they use Apache 1.x/PHP5/Linux/MySQL(v4?). Did you look at the access_log or error_log? The error_log should give you an indication of why it is happening. Do you try to access system files or

Re: [PHP] PHP / Apache + Error 500

2006-01-25 Thread Jochem Maas
Thomas wrote: Hi there! I am sitting with something of a mystery and was wondering if there is someone out that might have dealt with this before: I have developed a site that runs well and fine on my machine (XP/Apache2/PHP5/MySQL5). I am using PEAR::HTML_Template_Flexy as well as

RE: [PHP] PHP / Apache + Error 500

2006-01-25 Thread Thomas
@lists.php.net Subject: Re: [PHP] PHP / Apache + Error 500 Thomas wrote: Hi there! I am sitting with something of a mystery and was wondering if there is someone out that might have dealt with this before: I have developed a site that runs well and fine on my machine (XP/Apache2/PHP5/MySQL5). I am

Re: [PHP] PHP / Apache + Error 500

2006-01-25 Thread Gerry Danen
Interestingly, I installed mod_security the other day and noticed error 500 show up. As it turns out, mod_security generates those when they block nasties. Gerry On 1/25/06, Thomas [EMAIL PROTECTED] wrote: Hi there! I am sitting with something of a mystery and was wondering if there is

Re: [PHP] PHP, Apache, Windows 2003

2005-04-22 Thread Ryan J. Cavicchioni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, What is the exact error message the Apache is giving you? Reynier Perez Mira wrote: Hi list: Recently I installed Windows 2003 Server. Now I try to install Apache 2.0.48 and PHP 5.0.4. First I install PHP 5.0.4 from source binary to

Re: [PHP] PHP, Apache, Windows 2003

2005-04-22 Thread Ryan J. Cavicchioni
Hello, What is the exact error message the Apache is giving you? - Ryan Reynier Perez Mira wrote: Hi list: Recently I installed Windows 2003 Server. Now I try to install Apache 2.0.48 and PHP 5.0.4. First I install PHP 5.0.4 from source binary to Win32 downloaded from www.php.net

[PHP] PHP, Apache, Windows 2003

2005-04-22 Thread Reynier Perez Mira
Hi list: Recently I installed Windows 2003 Server. Now I try to install Apache 2.0.48 and PHP 5.0.4. First I install PHP 5.0.4 from source binary to Win32 downloaded from www.php.net http://www.php.net/ . It's means that php5apache2.dll is include in this packet. Well when I try to config the

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-16 Thread Raditha Dissanayake
Michael Leung wrote: Hi All, My problem is finally solved by totally off SELinux Security Policies. I told you so :-)) Thank you very verry much the helps from yours! I know this is not very safe solution, but at the leasy my script can work yours, Michael -- Raditha Dissanayake.

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-15 Thread Michael Leung
Hi All, My problem is finally solved by totally off SELinux Security Policies. Thank you very verry much the helps from yours! I know this is not very safe solution, but at the leasy my script can work yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-14 Thread Michael Leung
Yes, I have restarted my Apache. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-14 Thread Richard Lynch
Michael Leung wrote: Yes, apache can do read/write in /tmp. I can't su to apache. But I created another account in apache group(userid test1). I have such tests by using that account. I can do mv , cp , create new file. After those successful test, I have modified httpd.conf to make

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Richard Lynch
Michael Leung wrote: I have faced the upload file permission denied for weeks. I can't write a new file/create a directory. I did a test in PHP standalone (Linux shell). The operation is very normal. But what *USER* were you when you did that test?! Were you the same user PHP runs as, IE,

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Michael Leung
Hi all, the user is apache for PHP. the directory is owned by apache user. I am 100% certain for the directory name. yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Richard Lynch
And apache user can read/write /tmp? What files are in /tmp? su to apache and see if you can read the uploaded files, and mv them to the directory. Michael Leung wrote: Hi all, the user is apache for PHP. the directory is owned by apache user. I am 100% certain for the directory name.

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Michael Leung
Hi, Yes, apache can do read/write in /tmp. I can't su to apache. But I created another account in apache group(userid test1). I have such tests by using that account. I can do mv , cp , create new file. After those successful test, I have modified httpd.conf to make apache web server run

[PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Michael Leung
Hi all, I have faced the upload file permission denied for weeks. I can't write a new file/create a directory. I did a test in PHP standalone (Linux shell). The operation is very normal. But in web environment, I got this error message: Warning: move_uploaded_file()

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Andre Dubuc
Dear Michael, I spent the better part of today trying to get a file upload script to work too. Same sort of problem: local linux works ok, but web - nope. Looking at your error message, it might be the renaming of the temp file that is barfing. if (($_FILES[pix][size] 0)($_FILES[pix][size]

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Michael Leung
Hi Andre, thank you, I have hided my html path in the message. I have replace my real path with '/var/www/html/'. the error message should be like this. Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpjsLZfC' to '/var/www/html/test/icons.zip' in

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Travis Conway
Ha! Sorry for that Fedora 3 is causing all kinds of havoc. I would stay away for a while. Trav - Original Message - From: Michael Leung [EMAIL PROTECTED] To: Andre Dubuc [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, December 12, 2004 7:25 PM Subject: Re: [PHP] PHP Apache

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Michael Leung
Hi all, I am more believing this is a kind of apache configure problem. If that's Fedora 3 problem, I can't do this kind in command line. Therefore, if I bypassed Apache, my problem is solved. Moreover, my system is highly OOP , I can't fall back into PHP 4. yours, Michael -- PHP General

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Raditha Dissanayake
Yes, this kind of script is working in my pervious old server. But after I have upgraded the OS to Fedora 3 with PHP 5.0.2 and Apache 2. Then as I mentioned in my previous mail SELinux is to blame. Uninstall it or disable it. (pass selinux=0 when you boot). -- Raditha Dissanayake.

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Travis Conway
What user did you run your command line as? Trav - Original Message - From: Michael Leung [EMAIL PROTECTED] To: Travis Conway [EMAIL PROTECTED] Cc: Andre Dubuc [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, December 12, 2004 8:01 PM Subject: Re: [PHP] PHP Apache Upload file Permission

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-12 Thread Raditha Dissanayake
Michael Leung wrote: Hi all, I have faced the upload file permission denied for weeks. I can't write a new file/create a directory. I did a test in PHP standalone (Linux shell). The operation is very normal. But in web environment, I got this error message: Something that just occurred to

[PHP] PHP Apache Version

2004-04-30 Thread Mike R
Is there a version of Apache 2+ that now works with PHP? Last I checked, the were incompatible, but recently someone I ran into claimed that the bugs have been for such a setup. :) Thanks, -MIke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Apache Version

2004-04-30 Thread Richard Harb
Friday, April 30, 2004, 3:21:41 PM, thus was written: Is there a version of Apache 2+ that now works with PHP? snipped Yes there is. Works without problems. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php/apache/mysql on ntfs

2004-04-24 Thread Andy B
hi... we are upgrading test servers to xp home and want to know if its possible to run php/apache/mysql and all that sort of stuff on ntfs or does the servers have to run fat32?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread Andy B
does anybody have any idea why this message keeps coming up every time i send a msg to the list?? im sort of confused now - Original Message - From: [EMAIL PROTECTED] To: Andy B [EMAIL PROTECTED] Sent: Saturday, April 24, 2004 7:17 AM Subject: NDN: [PHP] php/apache/mysql on ntfs Sorry

Re: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread -{ Rene Brehmer }-
what FS it is anyway, since it's not for them to worry about ... Rene According to historical records, on Sat, 24 Apr 2004 07:18:40 -0400 Andy B wrote about [PHP] php/apache/mysql on ntfs: hi... we are upgrading test servers to xp home and want to know if its possible to run php/apache/mysql

Re: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread -{ Rene Brehmer }-
Apr 2004 07:28:07 -0400 Andy B wrote about Fw: [PHP] php/apache/mysql on ntfs: does anybody have any idea why this message keeps coming up every time i send a msg to the list?? im sort of confused now - Original Message - From: [EMAIL PROTECTED] To: Andy B [EMAIL PROTECTED] Sent: Saturday

Re: Fw: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread Curt Zirzow
* Thus wrote Andy B ([EMAIL PROTECTED]): does anybody have any idea why this message keeps coming up every time i send a msg to the list?? im sort of confused now I've gotten so used to them now, that I consider them receipts that my messages have been posted to everyone :) Curt -- I used to

Re: [PHP] PHP Apache Log Stats and viewer?

2004-02-27 Thread Michael Kunze
Michal Migurski wrote: It's not PHP, but it's probably exactly what you're looking for: http://www.mrunix.net/webalizer/ http://awstats.sf.net - much better -- Michael Kunze http://www.smrealms.de/ Don't Steal. The government hates competition -- PHP General Mailing List

[PHP] PHP Apache Log Stats and viewer?

2004-02-26 Thread Karl Timmermann
Hi, I am looking for a PHP program to dynamically read big apache log files (over 500 MBs) and show interesting stats and graphs. Does anything like this exist? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Apache Log Stats and viewer?

2004-02-26 Thread Jim Serio
At 08:17 PM 2/26/2004, you wrote: Warning. I would NOT use Webalizer. This guy went commercial around 1999 and it's well known that the free version (demo) contains code to call-home on every use. Beware. Talk to me - what do you mean? I can't find any references on that, and the fact that the

Re: [PHP] PHP Apache Log Stats and viewer?

2004-02-26 Thread Michal Migurski
I am looking for a PHP program to dynamically read big apache log files (over 500 MBs) and show interesting stats and graphs. Does anything like this exist? It's not PHP, but it's probably exactly what you're looking for: http://www.mrunix.net/webalizer/

[PHP] PHP Apache

2004-01-31 Thread Ash
Hi friends of PHP, I am new to PHP and just created a code. I tried it out on a php enabled site and it worked, oh joy! I then installed apache 2.0.48. All was good. I then downloaded and installed php 4.3.4.exe, the auto install version. I chose apache in the bullet menu thing but when it

RE: [PHP] PHP Apache

2004-01-31 Thread Anti-Gulu
Hi Ashley, I think you didn't told Apache to parse PHP. You have to add the following lines into the httpd.conf: | LoadFile C:/www/apache/bin/php4ts.dll | LoadModule php4_module C:/www/apache/bin/php4apache2.dll | AddType application/x-httpd-php .php .php4 .php3 .phtml (without |, replace the

[PHP] PHP+Apache Question

2004-01-30 Thread Ashley M. Kirchner
This has probably been asked before, but I want to know from those actually running (Red Hat) Fedora: how well does the stock PHP (4.3.x) work with the stock httpd (Apache 2.x)? Are PHP developers still concerned about that combination? Should I not bother and roll my own source? -- W |

Re: [PHP] PHP+Apache Question

2004-01-30 Thread Raditha Dissanayake
Hi, Many linux users still believe in compiling from source. and many php developers still believe php 4.x works better with apache 1.3x Ashley M. Kirchner wrote: This has probably been asked before, but I want to know from those actually running (Red Hat) Fedora: how well does the stock

[PHP] PHP Apache Build Problem

2004-01-16 Thread pw
Hello, I am trying to build php-4.3.3 into apache_1.3.28 as a module. I configure php --with-apache=/apache/source/path and the php make process puts the source for mod_php4 into /apache/source/path/src/modules/php4/ /apache/source/path/src/include/ap_config.h:77:28: ap_config_auto.h: No such

Re: [PHP] PHP Apache Build Problem (Correction to original question)

2004-01-16 Thread pw
/apache/source/path/src/modules/php4/ /apache/source/path/src/include/ap_config.h:77:28: ap_config_auto.h: No such file or directory This goes away if I run 'configure' once for apache. Then I carry on as in the previous post. Sorry about my editing. Peter -- PHP General Mailing List

Re: [PHP] PHP Apache 2

2003-10-31 Thread Dean E. Weimer
- Original Message - From: Fernando Melo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, 30 October, 2003 08:53 Subject: RE: [PHP] PHP Apache 2 And when will it be considered stable? It's been a while since Apache 2 was released. PHP needs to speed up for its own good

[PHP] PHP Apache 2

2003-10-30 Thread Fernando Melo
Hi everyone, I would like to use apache 2 in a production environment, but initially there seemed to be some issues with the PHP module. Does anybody know if it is ok use it now or is it still buggy with apache 2? Fern -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Apache 2

2003-10-30 Thread Eugene Lee
On Thu, Oct 30, 2003 at 11:22:38AM +0200, Fernando Melo wrote: : : I would like to use apache 2 in a production environment, but initially : there seemed to be some issues with the PHP module. Does anybody know : if it is ok use it now or is it still buggy with apache 2? The combination of PHP

RE: [PHP] PHP Apache 2

2003-10-30 Thread Fernando Melo
And when will it be considered stable? It's been a while since Apache 2 was released. PHP needs to speed up for its own good. -Original Message- From: Eugene Lee [mailto:[EMAIL PROTECTED] Sent: 30 October 2003 11:55 To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP Apache 2 On Thu, Oct 30

RE: [PHP] PHP Apache 2

2003-10-30 Thread Filip de Waard
On Thu, 2003-10-30 at 14:53, Fernando Melo wrote: And when will it be considered stable? It's been a while since Apache 2 was released. PHP needs to speed up for its own good. Maybe soon, maybe never. This question is covered in a lot of FAQ's on the web. Please search google if you are

Re: [PHP] PHP Apache 2

2003-10-30 Thread Becoming Digital
| www.amazon.com/o/registry/EGDXEBBWTYUU - Original Message - From: Fernando Melo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, 30 October, 2003 08:53 Subject: RE: [PHP] PHP Apache 2 And when will it be considered stable? It's been a while since Apache 2 was released. PHP

[PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I'm forwarding this from the php-windows group. (I sent it to both with the hopes someone with information would see this). I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Marek Kilimajer
check your mysql.default_socket setting in php.ini Frank Tudor wrote: I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: ?php //list_db.php $link_id =

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: snip It worked like a charmbut guess what. I can't create a connection string to my database. Now I have to find a solution to get this website to work with globals on and mysql. Register globals has nothing to do with making a connection to MySQL. Post your code for the

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: ?php //list_db.php $link_id = mysql_connect(localhost, username, password); $result =

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: I did set my php.ini file in the etc dir and it worked fine. But there was no mysql listed when I did a phpinfo.php page. You installed all of this from RPM's, right? Did you install the php-mysql RPM? # rpm -q php-mysql So more specifically, when I ude my php.ini file i

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: Yes to the php-mysql rpm, But listen I think it was the way it built the initial appach php mysql configurations I don't think the php.ini refects an accurate setup of my php mysql setup. Frank Let's get away from the php.ini for a moment. Being that you did everything from

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: Thanks for the response. Ok with php.ini in the ect directory I get a Call to undefined function: mysql_connect() Without the php.ini file all my functions fail, because Mandrake linux has all the latest and greatest apache php and mysql stuff. so during that build (which

[PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test environment it is function city and of course register globals were on. Now I have Taked my PHP.INI-DIST set the globals to on and

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Jay Blanchard
[snip] I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test environment it is function city and of course register globals were on. Now I have Taked my PHP.INI-DIST set the globals to

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: ?php //list_db.php $link_id = mysql_connect(localhost, username, password); $result = mysql_list_dbs($link_id);

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
When I remane my php.ini file I get /var/lib/mysql/mysql.sock When I take the .old of the the end of my php.ini.old and put in my etc directory i don't see any mysql stuff listed. Frank --- Marek Kilimajer [EMAIL PROTECTED] wrote: check your mysql.default_socket setting in php.ini Frank

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I did set my php.ini file in the etc dir and it worked fine. But there was no mysql listed when I did a phpinfo.php page. So more specifically, when I ude my php.ini file i have globals on but mysql_connect failures When I don't use php.ini files I get globals set to off and mysql access in

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Jay Blanchard
[snip] ...please snip replies [/snip] Your php.ini should be in /etc/apache/ Once you have it there restart your Apache server. Now, let's creat a MySQL connection string in a seperate file (not in the php.ini, which acording to some of the stuff I have read you have done. Also there should

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
Thanks for the response. Ok with php.ini in the ect directory I get a Call to undefined function: mysql_connect() Without the php.ini file all my functions fail, because Mandrake linux has all the latest and greatest apache php and mysql stuff. so during that build (which doesn't use the

[PHP] Re: [PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
Also, On the phpinfo.php MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient ARE MISSING. When I run a phpinfo.php page I get all my config info with my php.ini file put in the etc dir i get no mention of the above mysql

[PHP] php+apache+accelerator

2003-08-14 Thread Uros Gruber
Hello! I installer php and apache on many computers. I also try some of accelerators (phpaccelerato and turckmmcache). And I found some strange bahaviour about apache server. I didn't find any solution yet. Here is the problem. Apache server gets core dump whenever I have any php_admin... stuff

[PHP] PHP/Apache - Problem with REMOTE_USER var.

2003-06-09 Thread Pavel Janda
Hello everyone, I have installed apache and PHP (using Windows :o(() on two computers, where httpd.conf and php.ini seem to be same. But, on one mashine is variable REMOTE_USER working well and on the second it is empty all the time, however apache auth.-function works well on both of them. (The

[PHP] php/apache timeout

2003-03-11 Thread Hilmi Hilmiev
Hi, We are using Apache/PHP and using ORACLE as the database. When I submit the page with hugs database when the server side script (PHP) running I am getting an error Page not found. But on the background it is adding records to the database. Though I modified all the configuration in

Re: [PHP] php/apache timeout

2003-03-11 Thread Chris Hayes
At 18:40 11-3-03, you wrote: We are using Apache/PHP and using ORACLE as the database. When I submit the page with hugs database when the server side script (PHP) running I am getting an error Page not found. But on the background it is adding records to the database. Though I modified all the

RE: [PHP] php/apache timeout

2003-03-11 Thread M.A.Bond
March 2003 17:41 To: [EMAIL PROTECTED] Subject: [PHP] php/apache timeout Hi, We are using Apache/PHP and using ORACLE as the database. When I submit the page with hugs database when the server side script (PHP) running I am getting an error Page not found. But on the background it is adding

Re: [PHP] PHP Apache

2003-01-31 Thread Justin French
strings must be wrapped in quotes $name = 'ab'; Justin on 31/01/03 8:45 PM, Aaron Stephan William Boeren ([EMAIL PROTECTED]) wrote: The script: ?php #start variables $name = ab; $age = 16; #start script echo Hi, my name is $name and I'am $age years old.; ? -- PHP General Mailing

RE: [PHP] PHP Apache

2003-01-31 Thread John W. Holmes
$name = ab; Notice: Use of undefined constant ab - assumed 'ab' in c:\inetpub\wwwroot\sdd\pages\nameage.php on line 3 rant Honestly, do you read the error messages or do you just post them to the list? You need to stop using us for the easy answer and do a little looking yourself. For

[PHP] PHP Apache

2003-01-30 Thread Aaron Stephan William Boeren
Hi, Maby you could help me on why I get this message when using variables: Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php on line 15 I have PWS being used, PHP 4.3.0 Apache 2.0.34. OS is Windows 2k If you could help that would be great because I need it for testing

Re: [PHP] PHP Apache

2003-01-30 Thread 1LT John W. Holmes
Maby you could help me on why I get this message when using variables: Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php on line 15 Because you have an undefined variable. You have a variable that has not been assigned a value. Assign it a default value or use isset() in

[PHP] PHP apache module question

2002-11-14 Thread Mike D
I am trying to execute a php script from the command line but came to realize that I can't locate any php binary file. I thought there had to be a php bin file in order for php to work or am i missing something? NOTE: i have looked in /usr/bin/, /usr/local/bin/ and ran locates but found

Re: [PHP] PHP apache module question

2002-11-14 Thread BigDog
When you compile php + apachemany people have php as a DSO. So there is no actual binary file in a bin directory that is called. You can also have php as a module that is in the apache core, where it is loaded automatically in apache (not a DSO). You can run php as a cgi which uses the

  1   2   >