Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-27 Thread ioan...@btinternet.com
. But main problem is getting php to work with Apache. Please let me know if there is anywhere else I should look. I took the time to read the php installation notes carefully and the Apache notes (which seemed to be mostly about meeting someone in a computer fair to check their fingerprint, I

Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-27 Thread ioan...@btinternet.com
...though phpinfo seems to work fine without this handler. ioan...@btinternet.com wrote: php now also works with Apache, I think I was missing from httpd.conf within IfModule mime_module /IfModule: AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps

[PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-26 Thread ioan...@btinternet.com
I have a working apache 2.2.11 server and php 5.2.9 installed. APACHE CONFIGURATION Files are in: C:/Program Files/Apache Software Foundation/Apache2.2/ Apache https.conf is amended to add at the end of the LoadModule lines (not between any tags): LoadModule php5_module C:/PHP

Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-26 Thread ioan...@btinternet.com
/ loads as the index.html file which is in the same folder? Pathetic notes on installation of Apache. J. ioan...@btinternet.com wrote: I have a working apache 2.2.11 server and php 5.2.9 installed. APACHE CONFIGURATION Files are in: C:/Program Files/Apache Software Foundation/Apache2.2/ Apache

[PHP] PHP and Apache configuration

2009-01-19 Thread R B
Hello, I need that every time someone access one image file in my server, then redirect to a php file. I make this well with: Redirect 301 imagefile.jpg scriptfile.php But i need that the file scriptfile.php can only be accessed by this redirect command. If someone try to access directly from

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Kyle Terry
On Mon, Jan 19, 2009 at 11:28 AM, R B rbp...@gmail.com wrote: Hello, I need that every time someone access one image file in my server, then redirect to a php file. I make this well with: Redirect 301 imagefile.jpg scriptfile.php But i need that the file scriptfile.php can only be

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Richard Heyes
... This may be of some help. It's from the Apache website and only allows access if the Referer header is sent by the browser and is www.yourdomain.com, ie. Direct access is not permitted: ### SetEnvIf Referer ^http://www.yourdomain.com; local_referal

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Kyle Terry
On Mon, Jan 19, 2009 at 11:38 AM, Richard Heyes rich...@php.net wrote: ... This may be of some help. It's from the Apache website and only allows access if the Referer header is sent by the browser and is www.yourdomain.com, ie. Direct access is not permitted:

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread ceo
I doubt that you can use re-direct and do what you want, since a re-direct does just that: re-direct the USER to the URL. What you *could* do is get rid of the re-direct and just include('scriptfile.php'); by using ForceType on imagefile.jpg to be application/x-httpd-php Then

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread R B
I like this apache solution, but if i put SetEnvIf Referer ^http://www.yourdomain.com; local_referal Then i can access the file putting this path in the URL: http://www.yourdomain.com/xyz/scriptfile.php And i don´t want the script to be access by the url. That is the main problem. Thanks On

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Török Alpár
2009/1/19 R B rbp...@gmail.com I like this apache solution, but if i put SetEnvIf Referer ^http://www.yourdomain.com; local_referal Then i can access the file putting this path in the URL: http://www.yourdomain.com/xyz/scriptfile.php And i don´t want the script to be access by the url.

Re: [PHP] PHP and Apache

2008-06-24 Thread David Robley
R B wrote: The people that will install this system, don´t have programming knowledge. They have a website, buy don´t have knowledge of configurations. If i add all the lines, it don´t works, unless the last line is the correct for that particular server. Why not just read the

[PHP] PHP and Apache

2008-06-23 Thread R B
Hello, I´m developing a PHP system that needs one of these lines in the .htaccess, depending of the server configuration: AddHandler application/x-httpd-php .xyz or AddHandler application/x-httpd-php4 .xyz or AddHandler application/x-httpd-php5 .xyz How can i detect on the fly which line i

Re: [PHP] PHP and Apache

2008-06-23 Thread Wolf
R B [EMAIL PROTECTED] wrote: Hello, I´m developing a PHP system that needs one of these lines in the .htaccess, depending of the server configuration: AddHandler application/x-httpd-php .xyz or AddHandler application/x-httpd-php4 .xyz or AddHandler application/x-httpd-php5

Re: [PHP] PHP and Apache

2008-06-23 Thread R B
The people that will install this system, don´t have programming knowledge. They have a website, buy don´t have knowledge of configurations. If i add all the lines, it don´t works, unless the last line is the correct for that particular server. Why not just read the manual and add the

Re: [PHP] [PHP 4.4.5 / Apache 2.2.3] Abrupt and unrepeatable Segmentationfault (11)

2006-12-01 Thread Jan Schröter
Chris wrote: If nobody provides information then try the -internals list, they'll probably be able to help a bit more. Thanks a lot! I've done so, because it's very urgent. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [PHP 4.4.5 / Apache 2.2.3] Abrupt and unrepeatable Segmentation fault (11)

2006-11-30 Thread Jan Schröter
Hi all! I'm having trouble with my server(s) for some weeks now and did not find any solution for now. My System is Opensuse 10.1 (32 bit) with Apache 2.2.3 and PHP 4.4.5-dev as apache module (latest stable CVS, but wasn't the solution). Im having abrupt segmentation faults in my Apache errorlog

Re: [PHP] [PHP 4.4.5 / Apache 2.2.3] Abrupt and unrepeatable Segmentation fault (11)

2006-11-30 Thread Chris
Jan Schröter wrote: Hi all! I'm having trouble with my server(s) for some weeks now and did not find any solution for now. My System is Opensuse 10.1 (32 bit) with Apache 2.2.3 and PHP 4.4.5-dev as apache module (latest stable CVS, but wasn't the solution). Im having abrupt segmentation

[PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Laszlo Nagy
Hello All, I had a problem with a Win2003 server, IIS6 and PHP 5.1.2. The MS SQL extension was not working. I did not get an answer, but some people suggested me to use Apache. Now I installed Win 2000 server, Apache 2.0.55 and PHP 5.1.2. The same computer has Microsoft SQL Server installed

Re: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Wolf
This setup nagged me for a bit too, until I found the solution... The DLL files in C:\php need to be put into system32 directory. Once that happens they work like a charm, but until then, you are plagued with issues. I have my path set for C:\php and everything as well, but it was not until

RE: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Ing. Edwin Cruz
Try changing your direcive extension_dir: extension_dir=C:/PHP/ext instead of extension_dir=C:\PHP\ext -Mensaje original- De: Laszlo Nagy [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 26 de Abril de 2006 04:01 a.m. Para: php-general@lists.php.net Asunto: [PHP] PHP 5 + Apache 2

Re: [PHP] PHP and Apache

2006-01-16 Thread Erik Saline
? 'locate php' give? And from those locates: ls -laF filenameoflocate My Guess: you will have a: /usr/bin/php /usr/local/bin/php /path/to/apache/modules/libphp(45).php Once that is figured out, what about the extenstions? is there any thing in your php.ini that specifies

Re: [PHP] PHP and Apache

2006-01-16 Thread Rodolfo Andrade
www.google.com or http://fedoraproject.org/wiki/ But it's in test yet. Best regards Rodolfo Andrade - Original Message - From: Erik Saline To: Curt Zirzow ; php-general@lists.php.net Sent: Monday, January 16, 2006 3:06 PM Subject: Re: [PHP] PHP and Apache Where do I find fc5? Erik

Re: [PHP] PHP and Apache

2006-01-16 Thread Erik Saline
-general@lists.php.net Sent: Monday, January 16, 2006 3:06 PM Subject: Re: [PHP] PHP and Apache Where do I find fc5? Erik On Sun, Jan 15, 2006 at 09:34:40AM -0800, Erik Saline wrote: Using Fedora Core 4 using the already Apache and Mysql. I tried using the already installed PHP

[PHP] PHP and Apache

2006-01-15 Thread Erik Saline
Using Fedora Core 4 using the already Apache and Mysql. I tried using the already installed PHP but mysql support was not setup or shown when using phpinfo(). I recompiled PHP with the following. './configure' '--with-mysqli=/usr/bin/mysql_config' '--with-mysql=/usr/bin/mysql_config'

Re: [PHP] PHP and Apache

2006-01-15 Thread Curt Zirzow
those locates: ls -laF filenameoflocate My Guess: you will have a: /usr/bin/php /usr/local/bin/php /path/to/apache/modules/libphp(45).php Once that is figured out, what about the extenstions? is there any thing in your php.ini that specifies an extension_dir and/or extension=something.so

[PHP] PHP and Apache 2.2.0

2005-12-16 Thread Kevin McBride
Hello, I hope I am not repeating something that was discussed on this list before. I am curious to know if there are plans to make a module for Apache 2.2.0. I couldn't find it in the anonymous CVS, but if it's already there, can someone point to me where it is? - KJM -- PHP General Mailing

[PHP] PHP mysql Apache install on FC3

2005-08-04 Thread robert
Hello, I am not quite sure if this is the correct mailing list to post this question, but here I go anyway. I have a vanilla Fedora Core 3 installation, and I am trying to run a php script through a local website that has calls into a MySQL database. I can run this script at the command

Re: [PHP] PHP mysql Apache install on FC3

2005-08-04 Thread Vidyut Luther
Look into the SELinux settings for your system, if you have that enabled, by default PHP is not allowed to get that file via the user nobody. If you look into /var/log/messages you'll see some selinux messages. You either need to disable selinux, or set your policy...http://

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-14 Thread Burhan Khalid
John Swartzentruber wrote: On 3/13/2005 3:55 PM John Swartzentruber wrote: On 3/11/2005 11:57 AM John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-14 Thread John Swartzentruber
On 3/14/2005 6:03 AM Burhan Khalid wrote: John Swartzentruber wrote: When I run phpinfo(), it says my mysqli API client version is 3.23.58. When I run php -i from the command line it says it is 4.1.10a. The latter is correct. What would cause the discrepancy? The server has been stopped and

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-14 Thread Richard Lynch
When I run phpinfo(), it says my mysqli API client version is 3.23.58. When I run php -i from the command line it says it is 4.1.10a. The latter is correct. What would cause the discrepancy? The server has been stopped and started many times, and PHP rebuilt a few times, so it isn't a browser

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-14 Thread John Swartzentruber
is determining which MySQL it should use. Also knowing the difference between PHP via a browser (via apache) and PHP on the command line would give me some clues. I don't understand why the client API version for mysqli is different according to how PHP is accessed. -- PHP General Mailing List

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-14 Thread Richard Lynch
a browser (via apache) and PHP on the command line would give me some clues. I don't understand why the client API version for mysqli is different according to how PHP is accessed. Suppose, just for the sake of argument, that your Apache had mod_auth_mysql compiled into it. Also suppose

Re: [PHP] PHP causes Apache segmentation fault? [SOLVED]

2005-03-14 Thread John Swartzentruber
knowing the difference between PHP via a browser (via apache) and PHP on the command line would give me some clues. I don't understand why the client API version for mysqli is different according to how PHP is accessed. Suppose, just for the sake of argument, that your Apache had mod_auth_mysql compiled

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-13 Thread John Swartzentruber
On 3/11/2005 11:57 AM John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the mysqli examples. The last one I tried didn't

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-13 Thread John Swartzentruber
On 3/13/2005 3:55 PM John Swartzentruber wrote: On 3/11/2005 11:57 AM John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-11 Thread Burhan Khalid
John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the mysqli examples. The last one I tried didn't work. The problem appears

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-11 Thread John Swartzentruber
On 3/11/2005 10:33 AM Burhan Khalid wrote: John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the mysqli examples. The last

[PHP] PHP causes Apache segmentation fault?

2005-03-10 Thread John Swartzentruber
I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the mysqli examples. The last one I tried didn't work. The problem appears to be this line: $row =

Re: [PHP] PHP based Apache admin tool?

2004-12-28 Thread John Nichel
Brian Dunning wrote: Is there any such thing as a PHP based GUI tool for administering Apache? I've searched high low and found nothing. - Brian I don't know of any php based ones, but there's webmin; Perl based. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General

[PHP] PHP based Apache admin tool?

2004-12-27 Thread Brian Dunning
Is there any such thing as a PHP based GUI tool for administering Apache? I've searched high low and found nothing. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP+Oracle+Apache

2004-11-14 Thread Evgeniy Sudyr
Good day, I use Apache2+PHP5+Oracle8 under WindowsXP I want use php with Oracle. I uncommented strings in php.ini: ;extension=php_oci8.dll ;extension=php_oracle.dll ;extension=php_dbase.dll Now when I start apache it say me that this extensions are not present in extensions dir (But they are

[PHP] PHP or Apache problem?

2004-10-07 Thread william van der wee
Hi all, I'am using SuSe 9.1 with Apache and PHP. In order to get access to MS SQL server I installed freeTDS ODBC driver. Everything ok, except I can't get it in a PHP webpage. I use in my PHP scripts odbc_connect. ISGL is working. When I look in apache error_log it say: /usr/sbin/httpd2

Re: [PHP] PHP or Apache problem?

2004-10-07 Thread Curt Zirzow
* Thus wrote william van der wee: Hi all, I'am using SuSe 9.1 with Apache and PHP. In order to get access to MS SQL server I installed freeTDS ODBC driver. Everything ok, except I can't get it in a PHP webpage. I use in my PHP scripts odbc_connect. ISGL is working. When I look in apache

[PHP] PHP 4.3.8 + Apache 1.3.31 + Oracle 9.2.0.4 Segmentation Fault

2004-08-24 Thread Francisco Puente XFMP (QA/EMC)
Hi all, I'm trying to get apache + php to work with Oracle on Debian(Woody). I've managed to install Oracle 9.2.0.4 on Debian Woody, it's working fine from the command line. I've compiled Apache/PHP both from the sources with the following parameters. PHP: ./configure --enable-gd

[PHP] PHP and Apache 2

2004-08-08 Thread Rosen
Hi, What is the reason, thath in the installation manual of PHP writes: WARNING: Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. Thanks, Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Apache 2

2004-08-08 Thread Thomas Goyne
On Sun, 8 Aug 2004 16:20:55 +0300, Rosen [EMAIL PROTECTED] wrote: Hi, What is the reason, thath in the installation manual of PHP writes: WARNING: Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. Thanks, Rosen http://www.zend.com/lists/php-dev/200406

[PHP] PHP and Apache Authentication

2004-06-04 Thread Glenn MacGregor
Hi All, I am trying to protect portions of my website. I am using pache 2.x and php4.X. I don't want to use apache authentication within the Directory directive because I can't utilize sessions if I do that. So I want to use PHP to authenticate from a postgresql database. This works fine on

Re: [PHP] PHP and Apache Authentication

2004-06-04 Thread Matt Matijevich
[snip] Is there a way to configure apache to include something in every response? [/snip] I think you could use a autoprepend in your php.ini file http://www.php.net/reserved.variables there is a mention of it on the user comments on this page -- PHP General Mailing List

[PHP] php cgi, apache suexec, filesystem problems

2004-05-21 Thread Peter Risdon
Hi, I am having a lot of problems with any PHP routines that have to access the filesystem - things like exec(), shell_exec(), system(), backticked shell commands, copy(), move_uploaded_file() and so on. I have a non-standard setup with CLI, CGI and mod_php all installed. These scripts are

[PHP] PHP 4.3.4, Apache w/ mod_ssl Compile Help

2004-04-05 Thread trlists
Hi Folks ... A small problem here ... I just rebuilt Apache 1.3.29 with mod_ssl. When doing apachectl startssl I get: [Mon Apr 5 12:19:53 2004] [warn] Loaded DSO libexec/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) I

Re: [PHP] PHP 4.3.4, Apache w/ mod_ssl Compile Help

2004-04-05 Thread trlists
On 5 Apr 2004 [EMAIL PROTECTED] wrote: When doing apachectl startssl I get: [Mon Apr 5 12:19:53 2004] [warn] Loaded DSO libexec/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Sorry, I just realized there is a

[PHP] PHP and Apache 2

2004-03-13 Thread trlists
but the remainder of your message suggests multithreading (which is different from prefork as I read the Apache docs -- right?) is even more problematic. It sounds like this is what's behind the recommendation at http://us2.php.net/install.apache2 which says Do not use Apache 2.0 and PHP in a production

Re: [PHP] PHP and Apache 2

2004-03-13 Thread Rasmus Lerdorf
not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. But the same page says The following versions of PHP are known to work with the most recent version of Apache 2.0:, so I'm not quite clear on what's being recommended. I think that is pretty clear. It says

Re: [PHP] PHP and Apache 2

2004-03-13 Thread trlists
On 13 Mar 2004 Rasmus Lerdorf wrote: I think that is pretty clear. It says that it works but we do not consider it production quality. OK, thanks. That is what I thought it meant but I wanted to be sure. As for whether your particular install will work? I have no idea. Maybe, maybe not.

Re: [PHP] PHP and Apache Using up all memory

2004-03-07 Thread Raditha Dissanayake
it, I would save the write/read to/from disk of the big file. Output buffering is off in php.ini: output_buffering = Off So that does not seem to be it. Maybe the problem should be address on Apache instead of PHP? Thanks, Juan - Original Message - From: Raditha Dissanayake [EMAIL PROTECTED

[PHP] PHP and Apache Using up all memory

2004-03-06 Thread Juan E Suris
Hi! I have a problem with PHP and Apache, where Apache uses up a huge amount of memory. What happens is that I have a PHP script that creates a file on the fly and sends it directly to the broswer (as an attachment, so that the user can save it). The problem is that when the file is big

Re: [PHP] PHP and Apache Using up all memory

2004-03-06 Thread Raditha Dissanayake
Hi Juan, What you can do is to switch off output buffering. If it is a really large file you might want to generate the file offline and deliver it using the more conventional hyperlink. all the best Juan E Suris wrote: Hi! I have a problem with PHP and Apache, where Apache uses up a huge

Re: [PHP] PHP and Apache Using up all memory

2004-03-06 Thread Juan E Suris
it as I create it, I would save the write/read to/from disk of the big file. Output buffering is off in php.ini: output_buffering = Off So that does not seem to be it. Maybe the problem should be address on Apache instead of PHP? Thanks, Juan - Original Message - From: Raditha

[PHP] PHP on Apache 2.0.48

2004-02-15 Thread XMG
I know that use of PHP with Apache 2.x.x is discouraged. I use 1.3.29 for my main site. Currently I am doing some testing with SSL connections and because Apache 2.0.48 is already installed on my Redhat 8.0 server and configured with SSL I have been using that (for testing). All my testing

[PHP] PHP and Apache 2 (Was: Ver 5.0 Questions ...)

2004-01-22 Thread Thomas Svenson
Mark Charette wrote: If you read through the archives you'll find it isn't so much that PHP is the problem per se, but many of the PHP modules. If you use the multi-threading model of Apache 2 (the raison d'etre for using Apache 2 for most people) then all the modules have to be thread-safe,

Re: [PHP] PHP and Apache 2 (Was: Ver 5.0 Questions ...)

2004-01-22 Thread Chris Shiflett
, there are really no conflicts or problems with running PHP on Apache 2. However, Rasmus still feels strongly about using Apache 1.3 until 2 has been around for a long time (1.3's stability is hard to match), unless you have a compelling reason to upgrade. So, I'm not sure what documentation

RE: [PHP] PHP and Apache 2 (Was: Ver 5.0 Questions ...)

2004-01-22 Thread Thomas Svenson
Chris Shiflett wrote: So, I'm not sure what documentation you're referring to exactly, nor am I sure that there would be a lot of support in updating it. This one: -8. Warning Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. -8. You

[PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
Hi all, I'm getting this error on a well tested and used CMS script: ** CODE warning: main(): URL file-access is disabled in the server configuration in /var/www/localhost/htdocs/ellasattic.co.uk/error.php on line 19. warning: main(http://ellasattic.co.uk/index.php): failed to open stream: no

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Richard Davey
Hello Nick, Friday, January 16, 2004, 12:39:16 PM, you wrote: NW Line 19 is a simple include() but uses 'http://' rather than a local NW path (i cannot change this)... allow_url_fopen is almost certainly disabled in your php.ini file. -- Best regards, Richard

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
* and then Richard Davey declared Hello Nick, Friday, January 16, 2004, 12:39:16 PM, you wrote: NW Line 19 is a simple include() but uses 'http://' rather than a local NW path (i cannot change this)... allow_url_fopen is almost certainly disabled in your php.ini file. Yes, that

Re[2]: [PHP] PHP or Apache Problem?

2004-01-16 Thread Richard Davey
Hello Nick, Friday, January 16, 2004, 12:47:43 PM, you wrote: NW I'm getting this now: NW Parse error: parse error in http://ellasattic.co.uk/index.php on line 1 NW ### CODE NW ?php NW // $Id: index.php,v 1.68 2003/09/30 17:00:49 dries Exp $ NW ### END CODE NW What? - how can that be? - is

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
* and then Richard Davey declared Why do you have code comments OUTSIDE of the php tags? I can't say for sure, but it wouldn't surprise me if it caused it. I dont. That's just in my email to tell where the code begins ;-) line 1 is just ?php -- Nick W -- PHP General Mailing List

Re[2]: [PHP] PHP or Apache Problem?

2004-01-16 Thread Richard Davey
Hello Nick, Friday, January 16, 2004, 2:31:46 PM, you wrote: NW I dont. That's just in my email to tell where the code begins ;-) NW line 1 is just NW ?php Heh :) Do other scripts work fine? i.e. is it just that one that dies? -- Best regards, Richard

[PHP] PHP and Apache MultiViews

2003-12-10 Thread Styx
Hi all! I've got a problem when using this combination. Everything works fine for browsers that send Accept: */* requests, but some web spiders say Accept: text/* and get 406 error since the actual type is application/... I worked this around by using type-map and creating .var files for each

[PHP] PHP and Apache MultiViews

2003-12-10 Thread Styx
Hi all! I've got a problem when using this combination. Everything works fine for browsers that send Accept: */* requests, but some web spiders say Accept: text/* and get 406 error since the actual type is application/... I worked this around by using type-map and creating .var files for each

[PHP] php and apache

2003-11-12 Thread Jen
was successful. You may now add content to this directory and replace this page. Now, maybe I'm just not putting test.php in the right directory? I'm not sure. Apache is running from d:/apache/apache/ and PHP is located in d:/php/. Any help would be appreciated! Thanks. -- PHP General

Re: [PHP] php and apache

2003-11-12 Thread John Nichel
on this system was successful. You may now add content to this directory and replace this page. Now, maybe I'm just not putting test.php in the right directory? I'm not sure. Apache is running from d:/apache/apache/ and PHP is located in d:/php/. Any help would be appreciated! Thanks. Make sure you

Re: [PHP] php and apache

2003-11-12 Thread Boyan Nedkov
on this system was successful. You may now add content to this directory and replace this page. Now, maybe I'm just not putting test.php in the right directory? I'm not sure. Apache is running from d:/apache/apache/ and PHP is located in d:/php/. Any help would be appreciated! Thanks. read

[PHP] php Losing apache environment vars

2003-11-10 Thread Keith Greene
links that make up the menu. I have never seen this behavior, and was wondering if anyone has seen anything like it before, and possibly found a solution. We are running php 4.3.2, Apache 1.3.26 on FreeBSD 4.5. Any help would be very appreciated. Keith -- PHP General Mailing List (http

Re: [PHP] php Losing apache environment vars

2003-11-10 Thread Keith Greene
this behavior, and was wondering if anyone has seen anything like it before, and possibly found a solution. We are running php 4.3.2, Apache 1.3.26 on FreeBSD 4.5. Any help would be very appreciated. Keith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] php and apache...single sign on

2003-09-17 Thread Mike Klein
I would like to piggyback on an Apache realm/dialog authentication and feed these credentials to a mysql connection (or connection to anything else) in my php scripts. Is there a way using the php Apache apis (seems like no) or via apache itself to make these credentials available/visible

RE: [PHP] php and apache...single sign on

2003-09-17 Thread Jay Blanchard
[snip] I would like to piggyback on an Apache realm/dialog authentication and feed these credentials to a mysql connection (or connection to anything else) in my php scripts. Is there a way using the php Apache apis (seems like no) or via apache itself to make these credentials available

[PHP] PHP and Apache

2003-06-30 Thread Mike At Spy
Recently, I had Apache upgraded on my linux redhat 7.3 server from 1.2.3 to 1.3.27. PHP stopped working when trying to process html files with php in them. In the httpd.conf file, I have AllowOverride set to All. In the Virtual Host settings I have 'AddType application/x-httpd-php .html'.

[PHP] PHP And Apache

2003-01-26 Thread Beogradjanin
Zdravo php-general, Hi I'm having ptoblem how do I aneble PHP on apache..?? I've read Hot to install but Apche changed httpd.conf on new version of Apache server. Help Thanks +++Info About this E-mail+ +Poruka je napisana u 12:45:19 + +Dana Sunday, January 26

[PHP] PHP 4.3.0 - Apache 2 Problem - Missing phpinfo() Info

2003-01-25 Thread Kenneth Lerman
phpinfo() on PHP Version 4.2.2 with Apache/1.3.24 has a block which called Apache Environment which does not appear in PHP 4.3.0/Apache2. This block of info has (in part): DOCUMENT_ROOT /usr/local/apache/htdocs_best-emts HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application

[PHP] php/sendmail/apache/linux...

2003-01-24 Thread Bruce Douglas
hey... I'm sure the question has been answered a 1000 times!!! I'm trying to create a simple app to send email via PHP, using the mail function. I'm using RedHat(Linux 8.0 , Sendmail), PHP(4.2.2), Apache (2.0.40). I'm using the following piece of code

[PHP] PHP 4.3 Apache 2

2003-01-01 Thread Scott Seidl
Does the new release of PHP 4.3 have official support with Apache 2.x or is it still considered developmental? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 4.3 Apache 2

2003-01-01 Thread Rasmus Lerdorf
It is still experimental. On Wed, 1 Jan 2003, Scott Seidl wrote: Does the new release of PHP 4.3 have official support with Apache 2.x or is it still considered developmental? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 4.3 Apache 2

2003-01-01 Thread Tyler Longren
Yup, still experimental. But from what I've experienced, they work just fine together. I run Apache 2.0.43 and PHP 4.3.0 together without any problems what so ever. When you compile php with apache 2, remember to: ./configure --with-axps2 instead of ./configure --with-apxs tyler

[PHP] PHP 4.2.3, Apache 2.0.40, gettext(), and web don't work

2002-12-09 Thread Dubravko Kakarigi
PHP 4.2.3 compiled with gettext(), with Apache 2.0.40. A call to bindtexdomain() when viewed through the web generates PHP Fatal error: Call to undefined function: bindtextdomain() in ... When I run the same script from the command line, as in php -f index.php, it works fine. Any ideas?

RE: [PHP] PHP 4.2.3, Apache 2.0.40, gettext(), and web don't work

2002-12-09 Thread Roedel, Mark
] PHP 4.2.3, Apache 2.0.40, gettext(), and web don't work PHP 4.2.3 compiled with gettext(), with Apache 2.0.40. A call to bindtextdomain() when viewed through the web generates PHP Fatal error: Call to undefined function: bindtextdomain() in ... When I run the same script from

[PHP] PHP and Apache

2002-12-04 Thread Vicente Valero
Excuseme my confussion, I meant PHP 4.2.3. So you suggest me PHP 4.2.3 and Apache 1.3.x??

Re: [PHP] PHP and Apache

2002-12-04 Thread Adam Williams
Yes On Wed, 4 Dec 2002, Vicente Valero wrote: Excuseme my confussion, I meant PHP 4.2.3. So you suggest me PHP 4.2.3 and Apache 1.3.x?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Apache

2002-12-04 Thread Marcus Fazzi
You need Apache 2.0.40 fo uses with PHP 4.2.3, for use with 2.0.43 use PHP 4.3.0 RC2 Excuseme my confussion, I meant PHP 4.2.3. So you suggest me PHP 4.2.3 and Apache 1.3.x?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Apache Cocoon???

2002-11-04 Thread HA, Hai
Hello experts, I am hoping to build a website to host a sizeable document and add functionality to allow readers to submit comments and general feedback. The main document is currently stored as a series of XML pages and I have succeeded in publishing these documents in HTML with Apache Cocoon.

Fw: [PHP] php on apache on win2k

2002-09-27 Thread Sascha Braun
- Original Message - From: Sascha Braun [EMAIL PROTECTED] To: Vic [EMAIL PROTECTED] Sent: Friday, September 27, 2002 10:02 AM Subject: Re: [PHP] php on apache on win2k Hi Vic, the Apache DLL resides in the php/sapi folder. But if you use Apache Version 2000 and above you have

[PHP] php on apache on win2k

2002-09-26 Thread Vic
I used to have php 4.2.3 on iis on 200 and xp and it worked fine, but I decided o now go with apache for open source's sake and the sake of my sanity. Well right now my sanity is in question, php tells me that I have to manually config the apache conf file - no prob here done this many times;

[PHP] PHP or Apache problem?

2002-09-12 Thread Aaron Gould
I have recently installed Apache 2.0.40 with PHP 4.2.3 on a development server... When I type the IP address of the server into my browser, all I see is PHP code. However, when I type the IP address, with the index.php, it works perfectly! Why would one work and not the other? 192.168.1.1

RE: [PHP] PHP or Apache problem?

2002-09-12 Thread MET
The detailed answer, I have no idea. The simple answer, currently there compatibility is NOT stable, but will be soon ~ Matthew -Original Message- From: Aaron Gould [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 9:35 AM To: PHP-GENERAL Subject: [PHP] PHP or Apache

[PHP] PHP And Apache

2002-09-11 Thread Glenn
Can anyone tell me if the latest version of PHP works with the latest Apache web server? When I try to build the server it says its not, but I wondered if there were any patches or changes I could make for them to work properly? Thanks, glenn -- PHP General Mailing List

Re: [PHP] PHP And Apache

2002-09-11 Thread Rasmus Lerdorf
Use the latest Apache 1.3.x and the latest PHP. Works just fine. Apache 2.0.x is a completely different beast. -Rasmus On Wed, 11 Sep 2002, Glenn wrote: Can anyone tell me if the latest version of PHP works with the latest Apache web server? When I try to build the server it says its

Re: [PHP] PHP And Apache

2002-09-11 Thread Glenn
ok then... thanks Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Use the latest Apache 1.3.x and the latest PHP. Works just fine. Apache 2.0.x is a completely different beast. -Rasmus On Wed, 11 Sep 2002, Glenn wrote: Can anyone

[PHP] PHP and Apache

2002-09-06 Thread Tim Haynes
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. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >