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, No

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: http://www.php.ne

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 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 help

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Bastien Koert
On Fri, Nov 27, 2009 at 11:20 AM, Ashley Sheridan 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 help me on >> th

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 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 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 M

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 sit

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 suddenly not working

2009-10-27 Thread Jason Lixfeld
wa PHP, ashita wa Java, sono ato sekai desu. From: a...@ashleysheridan.co.uk To: gargari...@hotmail.com CC: li...@cmsws.com; phps...@gmail.com; jason-lists@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,

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
.ca; > php-general@lists.php.net > Date: Tue, 27 Oct 2009 16:20:45 +0000 > 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,

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Ashley Sheridan
> > Date: Tue, 27 Oct 2009 07:59:16 -0700 > > From: li...@cmsws.com > > 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 w

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
.@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 > >> wrote: > >>&

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
.@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 > >> wrote: > >>&

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 >> 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 t

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 > 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 unr

Re: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Bastien Koert
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld 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 I'm not sure > where to l

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 f

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 H

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? ini_set('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 th

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 + 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/Ap

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 php5.WHAT?

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, 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

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 t

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: ht

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 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 as

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 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
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, I

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

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 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 Mail

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 1

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 > > /var

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"]

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 me?

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? Yes there is. Works without problems. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-04-24 Thread -{ Rene Brehmer }-
Because someone that's subscribed to the list has a full mailbox ... I get it too ... all the time ... just like the address harvesters masquerading as banks ... "Advance Credit Suisse Bank" <[EMAIL PROTECTED]> and "Information Desk" <[EMAIL PROTECTED]> Rene According to historical records, on S

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

2004-04-24 Thread -{ Rene Brehmer }-
Sure you can :) ... I've been doing it for a very long time now ... works alot better than FAT32 actually ... much faster... The programs don't care about the file system, that's for the OS to deal with. Only pure DOS programs have problems with the NTFS ... for all other programs they can't see w

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 (http://ww

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/ ---

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 p

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

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

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
washy | 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 > > >

Re: [PHP] PHP & Apache 2

2003-10-30 Thread Becoming Digital
wishy washy | 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

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 inte

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

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 4.

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 d

[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 info

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] 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 R

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 n

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 hav

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 ref

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 > > Fra

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: $link_id = mysql_connect("localhost", "username", "password"); $result = mysql_list_dbs($link_id); $nu

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: 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 conne

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: $link_id = mysql_connect("localhost", "username",

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: "; $result2 = mysql_list_tables($db_data[0]); $num_rows2 = mysql_num_rows($result2);

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 o

RE: [PHP] php/apache timeout

2003-03-11 Thread M.A.Bond
HI, Yes I was having this problem, it's probably not php timing out, but your browser. To stop this move the execution of your sql. I assume you do something like this: ... ... You need to move this as follows: Html code This starts sending the page to the browser, before runnin

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

2003-01-31 Thread John W. Holmes
> $name = ab; > Notice: Use of undefined constant ab - assumed 'ab' in > c:\inetpub\wwwroot\sdd\pages\name&age.php on line 3 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 example..

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: > #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 Aaron Stephan William Boeren
> > 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

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() i

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 binar

Re: [PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread Paul Welty
This is the first in an excellent series of articles on this topic: http://www.macdevcenter.com/pub/a/mac/2001/12/07/apache.html HTH, Paul On 11/11/02 5:06 PM, "Gregory Hernandez" <[EMAIL PROTECTED]> wrote: > hello everyone. > > would anyone point me to a site or online article with details

Re: [PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread Tracy Finifter Rotton
Check out Marc Liyange's site at http://www.entropy.ch/software/macosx/welcome.html He has a lot of Mac software pre-compiled and ready for installation, including PHP installs for Jaguar. -- tracy On 11/11/02 2:06 PM, "Gregory Hernandez" <[EMAIL PROTECTED]> wrote: > hello everyone. > > would

Re: [PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread John Nichel
Come on guys, it's not that hard to look. http://www.php.net/manual/en/install.macosx.php http://www.mysql.com/doc/en/Mac_OS_X.html Gregory Hernandez wrote: hello everyone. would anyone point me to a site or online article with details regarding the installation of PHP, Apache, and MySQL on M

Re: [PHP] PHP / Apache 2.0.39 issues

2002-07-27 Thread electroteque
geez i thought they had it right this time , i had the same problem with php 4.2.1 , i downloaded the latest snapshot and just copied over the php_functions.c from there and the install worked after that "Bob Lockie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > > >Hello again..

RE: [PHP] PHP / Apache 2.0.39 issues

2002-07-26 Thread Frank S. Kicenko
Yes I found it... thank you! -Original Message- From: Aaron Gould [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 9:56 AM To: Frank S. Kicenko; [EMAIL PROTECTED] Subject: Re: [PHP] PHP / Apache 2.0.39 issues Searching the list archives will reveal the answer. I've answered

RE: [PHP] PHP Apache Module AND command Line

2002-06-05 Thread Ray Hunter
: [EMAIL PROTECTED] Subject: Re: [PHP] PHP Apache Module AND command Line On Thursday 06 June 2002 01:26, Steve Buehler wrote: > Is there doc somewhere to would tell how to install PHP as a command line > interpreter (like perl) without messing up the installation of PHP that is > insta

Re: [PHP] PHP Apache Module AND command Line

2002-06-05 Thread Jason Wong
On Thursday 06 June 2002 01:26, Steve Buehler wrote: > Is there doc somewhere to would tell how to install PHP as a command line > interpreter (like perl) without messing up the installation of PHP that is > installed as a module in/for Apache? Manual -> Installation -> Servers-CGI/Commandline

RE: [PHP] php apache log analysers/website stats

2002-05-24 Thread Ray Hunter
Do a search on google and you will find plenty to keep you busy with... Thanks, Ray Hunter -Original Message- From: John Ngo [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 8:47 PM To: [EMAIL PROTECTED] Subject: [PHP] php apache log analysers/website stats hey does anybody kn

Re: [PHP] PHP&Apache config to not require "?"

2002-05-21 Thread Jason Wong
On Wednesday 22 May 2002 00:37, Timothy J. Luoma wrote: > Hello PHP'ers > > I am currently using the very cool PHPSlideshow(1) > > This gives me URLs that look like this: > > http://www.tntluoma.com/show.php?directory=nursery/ > > I would like to be able to have simpler URL like this: > >

Re: [PHP] PHP,Apache disabled FTP?

2002-05-18 Thread r
CTED]> To: "r" <[EMAIL PROTECTED]> Sent: Saturday, May 18, 2002 7:29 AM Subject: Re: [PHP] PHP,Apache disabled FTP? > More information about the ftp daemon would be needed > for us to make an informed opinion. Neither PHP, nor > Apache is, or ever has been, and ftp daemo

Re: [PHP] PHP,Apache disabled FTP?

2002-05-18 Thread r
Hey, Thank you for replying. Nope am not using IIS, I just have a plain win2k machine that used to ftp without any problems before.now i cant even find ftp.dll but can find ftp://ftp.exe I am unable to connect to 5 sites owned by the company i work for but am able to connect to them when i go

RE: [PHP] PHP,Apache disabled FTP?

2002-05-18 Thread Dan Hardiker
>> I have reciently setup apache and PHP and now FTP does not work! I am >> running a win2k pro machine, is this because of PHP or >> APACHE or what? [..] > Unless you did something totally off the wall I seriously doubt Apache > or PHP are affecting your FTP server. Unless your using IIS to serv

RE: [PHP] PHP,Apache disabled FTP?

2002-05-18 Thread Craig Vincent
> I'm a newbie so please forgive the question, > I have reciently setup apache and PHP and now FTP does not work! > I am running a win2k pro machine, is this because of PHP or > APACHE or what? > am going crazy and have searched google like crap without any damn > answer...then went to microsoft.c

Re: [PHP] [PHP/Apache] Transparent Subdomains ?

2001-12-15 Thread Shane Wright
If there are no other virtual hosts on your box, you could leave Apache as is (unrecognised hostnames will go to the default site), and do the dynamic processing in PHP using the $REQUEST_URI variable... as for the crazy-page.php thing, you could set up a custom error handler page that points

Re: [PHP] PHP & APACHE Authenticate

2001-12-13 Thread Rasmus Lerdorf
Are you sure you want to send an external POST request to a PHP script on the same server? That doesn't make a whole lot of sense to me. Why not simply include file1_1.php4 directly from file_1.php4. However, assuming you have some logical reason for wanting to do this, it is rather simple.

Re: [PHP] PHP/Apache/Interbase/Linux

2001-12-11 Thread Douglas McKenzie
Theres a mail archive on the php site that you can search through if I remember correctly Todd Cary wrote: >I just updated my Linux 7.1 to Linux 7.2 and apparently the version of >Apache that I was running was replaced. When I execute phpinfo(), >Interbase is not listed. In the /tmp/php.ini,

RE: [PHP] PHP/Apache/Windows 2000 - Does not send mail

2001-10-23 Thread Nick Richardson
You need to make sure you have a few things configured on you SMTP Virtual server. Start IISAdmin and right click on 'Default SMTP Virtual Server' then choose properties. Ok, from here, things might not match perfectly because i'm running Windows XP (no i didn't pirate it, i work for microsoft).

Re: [PHP] php+apache 2

2001-10-02 Thread Stig Venaas
On Wed, Oct 03, 2001 at 01:32:13AM +0200, Jiri Mikulas wrote: > sapi_apache2.c: In function `php_input_filter': > sapi_apache2.c:248: too many arguments to function `ap_get_brigade' I haven't looked that much at the code, you could perhaps try to simply remove the last parameter... Not sure how w

Re: [PHP] PHP/Apache configuration for Win NT

2001-08-22 Thread paul . eaton
AIL PROTECTED]> on 08/21/2001 05:09:56 PM Please respond to Julie Meloni <[EMAIL PROTECTED]> To: Paul Eaton/Harlequin@Harlequin cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP/Apache configuration for Win NT pegc> ScriptAlias /php/ "C:/Php/" pegc> AddType applica

Re: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Neil Freeman
You appear to have a typo in your httpd.conf: Action application/x-httpd-php /Php/php.exe should be as follows: (note the ") Action application/x-httpd-php "/Php/php.exe Hope that helps, Neil [EMAIL PROTECTED] wrote: > *** > This

Re: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Julie Meloni
pegc> ScriptAlias /php/ "C:/Php/" pegc> AddType application/x-httpd-php .php .phtml .html pegc> AddType application/x-httpd-php-source .phps pegc> Action application/x-httpd-php /Php/php.exe Check for mismatched cases in httpd.conf. Julie Meloni [EMAIL PRO

RE: [PHP] PHP/Apache security question

2001-07-07 Thread ..s.c.o.t.t..
"users", then any files that have the group read/write/exec permissions set could possibly be "vulnerable" to other user's scripts. > -----Original Message- > From: Aaron Bennett [mailto:[EMAIL PROTECTED]] > Subject: RE: [PHP] PHP/Apache security question >

RE: [PHP] PHP/Apache security question

2001-07-07 Thread Aaron Bennett
Aaron Bennett [EMAIL PROTECTED] -Original Message- From: ..s.c.o.t.t.. [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 07, 2001 4:33 PM To: Php-General Subject: RE: [PHP] PHP/Apache security question of course that's possible... it's not default, but it's very possible i think it'

RE: [PHP] PHP/Apache security question

2001-07-07 Thread ..s.c.o.t.t..
of course that's possible... it's not default, but it's very possible i think it's an apache module called suEXEC that will run the script with the script owner's name.group, not apache.apache > -Original Message- > From: [EMAIL PROTECTED] > Subject: [PHP] PHP/Apache security question >

  1   2   >