A Small Orange Forums: Easier PHP 5 - A Small Orange Forums

Jump to content

  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Easier PHP 5 Rate Topic: ***** 1 Votes

#1 User is offline   -ASO- Tim

  • Former Head Orange
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,238
  • Joined: 14-March 04

Posted 31 August 2006 - 08:37 PM

Good news for those using PHP 5: we're going to make it easier for you to use. The big change is that we'll be getting rid of the need for a customer php5.fcgi file. It's a cause of hassle for a lot of people because there are proper permissions and linebreaks to deal with. This change will make it work without any modification to your account. Any file using the .php5 extension will simply work with PHP 5.

This change is going to happen tomorrow afternoon. The reason for the delay is for those user who have customized their php5.fcgi file to run a custom php.ini or some other change. If you're needing to make use of that file, you'll need to add the following line to your .htaccess file in your public_html directory:

CODE
Action  application/x-httpd-php5 /php5.fcgi


This will also make it easier to default PHP 5 for all .php files on your account. You'll simply add this line to your .htaccess file and that will be all that's needed:

CODE
AddType application/x-httpd-php5 .php


We hope this makes the change easier to deal with. Please remember that we are not installing custom extensions in PHP 5, so you may need to continue to use PHP 4 if there's a particular extension you need. Of course, the majority of those extensions are offered through equivalent PEAR modules, which are pure PHP and don't require any special compilation on our side. I'd recommend using them, if you're able to.

Update: This is now in place on all servers
Owner/Manager
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>

Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
0

#2 User is offline   Jeremy Banks

  • Customer #1647
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,567
  • Joined: 27-January 05

Posted 31 August 2006 - 08:42 PM

Thank you!
Eh.
0

#3 User is offline   eXaulz

  • Moderately Sized Orange
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 12-November 05

Posted 31 August 2006 - 09:27 PM

Awesome. 8)

This post has been edited by eXaulz: 31 August 2006 - 09:27 PM

Raymond Nuņez
eXcommunity

IPB Image

0

#4 User is offline   Orien

  • Very Large Orange
  • PipPipPipPipPip
  • Group: Members
  • Posts: 594
  • Joined: 30-June 06

Posted 31 August 2006 - 10:05 PM

This should be good news to lots of customers. wink.gif
0

#5 User is offline   Matt Light

  • Very Large Orange
  • PipPipPipPipPip
  • Group: Members
  • Posts: 620
  • Joined: 30-April 05

Posted 01 September 2006 - 12:03 AM

QUOTE
Tim' date='Aug 31 2006, 6:37 PM' post='55026']This will also make it easier to default PHP 5 for all .php files on your account. You'll simply add this line to your .htaccess file and that will be all that's needed:

CODE
AddType application/x-httpd-php5 .php5
I think that should be:
CODE
AddType application/x-httpd-php5 .php


0

#6 User is offline   -ASO- Tim

  • Former Head Orange
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,238
  • Joined: 14-March 04

Posted 01 September 2006 - 12:54 AM

Yup, that was dumb of me :X
Owner/Manager
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>

Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
0

#7 User is offline   Matt Light

  • Very Large Orange
  • PipPipPipPipPip
  • Group: Members
  • Posts: 620
  • Joined: 30-April 05

Posted 01 September 2006 - 01:17 AM

At least you proved that you are human... unless you were programmed to make mistakes intentionally in order to seem human wink.gif
0

#8 User is offline   z3rb

  • Move all 'Zig'. For great justice.
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,372
  • Joined: 16-June 05

Posted 01 September 2006 - 01:35 AM

woot
IPB Image
0

#9 User is offline   mir

  • Small Orange
  • PipPip
  • Group: Members
  • Posts: 34
  • Joined: 20-April 06

Posted 01 September 2006 - 01:47 AM

With this change, can .htaccess be used for custom php settings?
(I guess IT IS NOT as it is still not an apache module, but just confirm)

And, will the mcrypt extension continue to work?
(it's currently available with php5 on the server I am hosted on)

This post has been edited by mir: 01 September 2006 - 01:50 AM

0

#10 User is offline   oldcustomer

  • Very Large Orange
  • PipPipPipPipPip
  • Group: Members
  • Posts: 714
  • Joined: 21-December 05

Posted 01 September 2006 - 04:06 AM

Nice. This is the only good thing about hosting at 1and1 (I have an account there, until I move it over) and now ASO has it too!

*goes to see if php5 has pspell*
0

#11 User is offline   -ASO- Tim

  • Former Head Orange
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,238
  • Joined: 14-March 04

Posted 01 September 2006 - 12:55 PM

QUOTE(mir @ Sep 1 2006, 2:47 AM) View Post

With this change, can .htaccess be used for custom php settings?
(I guess IT IS NOT as it is still not an apache module, but just confirm)


No, but that's why you'd use your own custom php.ini file, which actually gives you some extra options to work with.

QUOTE
And, will the mcrypt extension continue to work?
(it's currently available with php5 on the server I am hosted on)


PHP 5 should have no custom modules installed like that. It will be removed on the next upgrade, just to warn you.
Owner/Manager
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>

Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
0

#12 User is offline   Logan

  • Very Large Orange
  • PipPipPipPipPip
  • Group: Members
  • Posts: 482
  • Joined: 04-December 04

Posted 01 September 2006 - 01:18 PM

Has the "easier PHP 5" been implemented on all of the servers yet? Also, you should probably update your first post with the fix that Matt posted.
0

#13 User is offline   mir

  • Small Orange
  • PipPip
  • Group: Members
  • Posts: 34
  • Joined: 20-April 06

Posted 01 September 2006 - 01:38 PM

QUOTE
Tim' post='55067']

QUOTE
And, will the mcrypt extension continue to work?
(it's currently available with php5 on the server I am hosted on)


PHP 5 should have no custom modules installed like that. It will be removed on the next upgrade, just to warn you.

I have requested you while signup for sqlite+mcrypt. You said you can't add sqlite with PHP4 (mcrypt was availabe with PHP4), but you could add mcrypt with PHP5 (which has sqlite built-in).

Now you say that those will be removed. (actually it isn't available now, the phpinfo doesn't show mcrypt)

Won't you install it?

0

#14 User is offline   -ASO- Tim

  • Former Head Orange
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,238
  • Joined: 14-March 04

Posted 01 September 2006 - 01:57 PM

No, as stated, we're maintaining a common image across all servers with PHP 5 for now, as it makes my job with updating a *lot* easier.
Owner/Manager
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>

Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
0

#15 User is offline   mir

  • Small Orange
  • PipPip
  • Group: Members
  • Posts: 34
  • Joined: 20-April 06

Posted 01 September 2006 - 02:00 PM

Now, my script doesn't work.
It was working fine (as mcrypt was available)

0

#16 User is offline   -ASO- Tim

  • Former Head Orange
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,238
  • Joined: 14-March 04

Posted 01 September 2006 - 02:00 PM

QUOTE(Logan @ Sep 1 2006, 2:18 PM) View Post

Has the "easier PHP 5" been implemented on all of the servers yet? Also, you should probably update your first post with the fix that Matt posted.


I will be starting in a little while after I finish doing some other stuff first.
Owner/Manager
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>

Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
0

#17 User is offline   mir

  • Small Orange
  • PipPip
  • Group: Members
  • Posts: 34
  • Joined: 20-April 06

Posted 01 September 2006 - 02:06 PM

QUOTE
Tim' post='55075']
No, as stated, we're maintaining a common image across all servers with PHP 5 for now, as it makes my job with updating a *lot* easier.

So, you make me to leave ASO?

0

#18 User is offline   tfone

  • Tiny Orange
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 28-August 06

Posted 01 September 2006 - 02:23 PM

I get this error

"Forbidden
You don't have permission to access /php5.fcgi/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "
0

#19 User is offline   tfone

  • Tiny Orange
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 28-August 06

Posted 01 September 2006 - 02:36 PM

So is anyone going to help? Of am I on my own on this one?
0

#20 User is offline   -ASO- Tim

  • Former Head Orange
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,238
  • Joined: 14-March 04

Posted 01 September 2006 - 04:06 PM

I'm just putting this into effect now.

Ok, finished up and everything appears to be running A-OK. Please post here if you run into any trouble.
Owner/Manager
A Small Orange Software
<a href="http://www.timdorr.com" target="_blank">timdorr.com</a>

Looking for quick support? <a href="https://www.asmallorange.com/help//index.php?_m=tickets&_a=submit" target="_blank">Submit a support ticket</a>
0

  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users