# php4 to php5

**URL:** <https://forum.virtualmin.com/t/php4-to-php5/27392>\
**Category:** Help! (Home for newbies)\
**Created:** [September 12, 2007, 10:39pm UTC](https://forum.virtualmin.com/t/php4-to-php5/27392 "2007-09-12T22:39:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Renato](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/858c86/32.png) [@Renato](https://forum.virtualmin.com/u/Renato)\
**Post date:** [September 12, 2007, 10:39pm UTC](https://forum.virtualmin.com/t/php4-to-php5/27392/1 "2007-09-12T22:39:11Z")

</div>

Hi There,

I am trying to change the default php version from 4 to 5 in one of my virtual server, but after I had saved the change (sucessfuly), I access again the very same option and it still showing me that the default php version is 4.

On the other hand, If I try to change the default php version to 5 at the Server Templates Option I get an error message saying:  
"Failed to save server template : Missing or invalid Apache user"

Any idea on how to fix it?

BTW, is there any option where I could disable/uninstall completely the php4 in my entire server / settings?

Thank you,\<br\>\<br\>Post edited by: Renato, at: 2007/09/13 05:39

---

<div class="post-metadata">

**Author:** ![Renato](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/858c86/32.png) [@Renato](https://forum.virtualmin.com/u/Renato)\
**Post date:** [September 17, 2007, 4:28pm UTC](https://forum.virtualmin.com/t/php4-to-php5/27392/2 "2007-09-17T16:28:49Z")

</div>

Ok,

If you have the same problem,  
(according to Jamie it is a bug and will  
be fixed in the next release)…

You have to access /etc/apache2/sites-availables  
and look for \<yourdomain\>.conf file

change the line:  
FCGIWrapper /home/\<your usename\>/fcgi-bin/php4.fcgi .php

to:  
FCGIWrapper /home/\<your usename\>/fcgi-bin/php5.fcgi .php

---

<div class="post-metadata">

**Author:** ![webinger](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/webinger/32/546_2.png) [@webinger](https://forum.virtualmin.com/u/webinger)\
**Post date:** [October 1, 2007, 11:43am UTC](https://forum.virtualmin.com/t/php4-to-php5/27392/3 "2007-10-01T11:43:16Z")

</div>

any ideas when it will work again?

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [October 1, 2007, 6:02pm UTC](https://forum.virtualmin.com/t/php4-to-php5/27392/4 "2007-10-01T18:02:11Z")

</div>

New version is coming out within the next couple of hours.

---

<div class="post-metadata">

**Author:** ![Renato](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/858c86/32.png) [@Renato](https://forum.virtualmin.com/u/Renato)\
**Post date:** [October 1, 2007, 6:26pm UTC](https://forum.virtualmin.com/t/php4-to-php5/27392/5 "2007-10-01T18:26:07Z")

</div>

FAN-TAS-TIC !

Thank you,

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:29am UTC](https://forum.virtualmin.com/t/php4-to-php5/27392/6 "2020-04-30T05:29:31Z")

</div>

Closed on April 30, 2020, 5:29am UTC


