Re: php/apache??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wondered if I did or not... the problem was I "fixed" the short open tag 
second.. so I dunno :)

but to support legacy scripts (.php3) I would need to do something like 
what I did... also, it looks like any file that ends in php might get 
processed twice by the PHP processor??? it will get PRE and POST 
processed.. right?

Also.. does anyone have some sort of cool alias or rewrite rule to make it 
so you can put scriptname.phps and it will automatically open 
scriptname.php in the source viewer??

I'll take a look at that migration guide... I already decided to put each 
"vhost" in a separate file in /etc/httpd/virtual.d/* similar to the way the 
php module gets loaded.. it makes adding/removing them a LOT easier :)

Tommy

--On Thursday, October 17, 2002 10:10 PM +0100 Joe Orton 
<jorton@redhat.com> wrote:

> Hi,
>
> On Wed, Oct 16, 2002 at 02:22:39PM -0600, Tommy McNeely wrote:
> ..
>> PHP does not work by default??
>>
>> I had to add the following...
>>
>> /etc/httpd/conf.d/php.conf
>> --------------------------
>>
>>  AddType application/x-httpd-php .php4 .php3 .phtml .php .asp
>>  AddType application/x-httpd-php-source .phps
>
> I'm not sure why you needed that? PHP scripts work without this.
>
>> And I had to change the /etc/php.ini
>> ------------------------------------
>>
>> short_open_tag = On
>>
>> Why would I have to do this? RedHat has always been sooo good about
>> working  out of the box?? I didnt see anything about changing PHP not to
>> work in the  Release notes (checking again)
>
> Yes, the short_open_tag change was made fairly late in the release
> cycle, and got missed out of the Apache 2.0 migration guide, sorry about
> that.  I recommend reading the 2.0 migration guide anyway, it provides a
> host of other useful tips:
>
> /usr/share/doc/httpd-2.0.40/migration.html
>
> Regards,
>
> joe
>
>
>
> --
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
Tommy McNeely      --     Tommy.McNeely@Sun.COM
Sun Microsystems - IT Ops - Broomfield Campus Support
Phone:  x50888 / 303-464-4888   --  Fax:  720-566-3168
Pager:  800-200-5968 / 2005968@skytel.com



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux