[PHP] Re: PHP and Apache

2008-06-23 Thread Jon Drukman

R B 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 .xyz

How can i detect "on the fly" which line i have to use?




AddHandler application/x-httpd-php5 .xyz



AddHandler application/x-httpd-php4 .xyz



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP and Apache 2.2.0

2005-12-18 Thread Kevin McBride

Manuel Lemos wrote:

I built PHP 5.1 with Apache 2.2 following these instructions and it
works:

http://ww.php.net/manual/en/install.unix.apache2.php



Seems to work now... maybe Apache meant that the 2.0 vs. 2.2 module info
was valid only for precompiled binaries...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP and Apache 2.2.0

2005-12-17 Thread Manuel Lemos

Hello,

on 12/17/2005 04:58 PM Kevin McBride said the following:

Use the same as for Apache 2.0 .



I get "garbled code" errors; tried it before I even posted to the list.

Here's an excerpt from the Apache download page:

Apache 2.2 add-in modules are not compatible with Apache 2.0 or 1.3 
modules. If you are running third party add-in modules, you will need
to obtain new modules written for Apache 2.2 from that third party 
before you attempt to upgrade from Apache 2.0.


I built PHP 5.1 with Apache 2.2 following these instructions and it works:

http://ww.php.net/manual/en/install.unix.apache2.php

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP and Apache 2.2.0

2005-12-17 Thread Kevin McBride

Manuel Lemos wrote:


Use the same as for Apache 2.0 .



I get "garbled code" errors; tried it before I even posted to the list.

Here's an excerpt from the Apache download page:

Apache 2.2 add-in modules are not compatible with Apache 2.0 or 1.3 
modules. If you are running third party add-in modules, you will need
to obtain new modules written for Apache 2.2 from that third party 
before you attempt to upgrade from Apache 2.0.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP and Apache 2.2.0

2005-12-17 Thread Manuel Lemos

Hello,

on 12/16/2005 12:36 PM Kevin McBride said the following:

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?


Use the same as for Apache 2.0 .


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP and Apache 2.2.0

2005-12-16 Thread Kevin McBride

belia wrote:

Hi,

You can download at http://www.apachelounge.com/download/


I am using Linux, not Windows, so the content there will not work.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP and Apache 2

2004-08-08 Thread Aidan Lister
Hi Rosen,

It doesn't hurt to use google you know.

[Q:]
Is there going to be a version of PHP 4.x which is declared stable for use
with Apache 2.x or, is this feature going to be reserved for PHP5?

[A:]
The development of the Apache 2 module is completely disconnected from the
PHP 5 efforts. I think that these efforts have slowed down to a halt, mostly
because of lack of interest in the PHP development community, mostly because
the only reliable way of using PHP and Apache 2 together is using the
prefork MPM, which is effectively very similar to Apache 1. Good Apache 2
connectivity is going to come at some point, but I'm not exactly sure when
it would be.


Basically PHP isn't threadsafe, and Apache2 uses threads.

I hope that helps.


"Rosen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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



[PHP] Re: PHP and Apache

2003-09-09 Thread jsWalter
I have a complete setup and testing procedure for windows class machines.

Hope it can help you.

   www.torres.ws/dev/php

Walter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP and Apache

2003-09-09 Thread Chris Hayes
At 16:58 9-9-03, you wrote:
Hi

After installing Apache then PHP, i was told by php that apache wasnt
configured, so i followed the instructions in the install.txt file. But
everytime i view the files through the local host but i only see the
written code, So how do i get this to work, assuming that Apache isnt
giving the details to php to decode.
I am using Win XP
Apache 1.3.23
MYSQL 3.23.49
PHP 4.1.1
any ideas on how i can solve this and do you need any more info?
Thanks
Did you edit the Apache httpd.conf file? If so, what lines did you add?
Did you restart Apache after that?
Did Apache start successfully then?
How come PHP tells you Apache is not configured?? That's weird. What's the 
message?
Do you use http://localhost/path/file.php ? Or is the file called .htm?

http://nl.php.net/manual/en/install.windows.php

PS please start a new message when mailing to this list: rpelying to an 
existing thread means some people will see it appear in that thread

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: PHP and Apache

2003-09-09 Thread Ray Mordy
Hi

After installing Apache then PHP, i was told by php that apache wasnt
configured, so i followed the instructions in the install.txt file. But
everytime i view the files through the local host but i only see the
written code, So how do i get this to work, assuming that Apache isnt
giving the details to php to decode.

I am using Win XP
Apache 1.3.23
MYSQL 3.23.49
PHP 4.1.1

any ideas on how i can solve this and do you need any more info?
Thanks



Ray Mordy
I.T CTC PLUS
www.Ctcplus.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP and Apache 1.3.12

2001-08-01 Thread Richard Lynch

Making mod_so active should be a case of using --enable-shared when you
configure Apache.

Getting mod_so active and using the DSO install is probably the easiest and
coolest way at this time.

>I have already uncommented the lines in my httpd.conf file which read:
>
>> AddType application/x-httpd-php .php
>> AddType application/x-httpd-php-source .phps

You also need to either:

1. If you compiled as DSO, uncomment the AddModule and LoadModule about PHP
2. If you compiled as Static, you didn't manage to get the new httpd running
A. Perhaps you skipped make install in the Apache compilation process
B. Perhaps you skipped stopping/starting Apache
C. Maybe you tried to "restart" Apache, but it didn't really happen...
3. If you compiled as CGI, you need to add Alias and Action lines to your
httpd.conf



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]