Welcome, Guest
Please Login or Register.
Lost Password?
Re: Re: Re: Re: Re: Success with installtion PHP5 on Debian with Virtualmin? (1 viewing)
Post Reply

TOPIC: Re: Re: Re: Re: Re: Success with installtion PHP5 on Debian with Virtualmin?

#3809
Dirk (User)
Posts: 38
graphgraph
Success with installtion PHP5 on Debian with Virtualmin? 2007/02/13 13:41  
Hi,
did anybody succeed with installing PHP5 (either instead or extra to PHP4) resulting in a working installation on Debian?
I succeeded with PHP5, but afterwards, mySQL was broken again...
I tried this: http://wiki.phpaction.de/index.php/Linux:debian-PHP4-PHP5
but this wasn't successful. First problem when restarting the Apache2 server was a problem with php_value max_memory in the site config files. However, even after uncommenting it, the Apache2 was starting again, but without proper PHP support.
I needed to rollback installation to a working installation.

Any ideas?


Dirk
  The administrator has disabled public write access.
#3826
Dirk (User)
Posts: 38
graphgraph
Re: Success with installtion PHP5 on Debian with Virtualmin? 2007/02/16 16:39  
Upgrading to the latest release 3.35 of VirtualMin pro on Debian again throws an error:

require virtual-server/postinstall.pl failed :

Undefined subroutine &virtual_server::init_config called at /usr/share/webmin/virtual-server/virtual-server-lib.pl line 5.
Compilation failed in require at /usr/share/webmin/virtual-server/postinstall.pl line 3.

Dirk
  The administrator has disabled public write access.
#3827
Dirk (User)
Posts: 38
graphgraph
Re: Success with installtion PHP5 on Debian with Virtualmin? 2007/02/16 16:43  
sorry the post before should be an addition to another of my posts, please ignore..

I wanted to ask here regarding PHP5 and MySQL. When I try to install php5-mysql I receive the following dependency problems:
php5-mysql: Depends: libmysqlclient15off (>= 5.0.24-2) but it is not installable
Depends: php5-mysqli (= 5.1.2-1vm3.5) but it is not going to be installed

libmysqlclient15off is only available in debian unstable. Does it mean PHP5 is not ready yet for Debian 3.1?
  The administrator has disabled public write access.
#3845
Dirk (User)
Posts: 38
graphgraph
Re: Re: Success with installtion PHP5 on Debian with Virtualmin? 2007/02/17 13:51  
Should I install libmysqlclient15off from unstable to get PHP5 with MySQL to work?


Dirk
  The administrator has disabled public write access.
#3941
Dirk (User)
Posts: 38
graphgraph
Re: Re: Re: Success with installtion PHP5 on Debian with Virtualmin? 2007/02/28 16:16  
Hi,
as written here: http://www.virtualmin.com/forums/message-view?message_id=36166
its the plan to have PHP5 running out of the box of Virtualmin Pro - at least thats what I understood. When will it be available for Debian?

regards dirk
  The administrator has disabled public write access.
#3942
Joe (Admin)
Posts: 4213
graph
Re: Re: Re: Re: Success with installtion PHP5 on Debian with Virtualmin? 2007/03/01 00:52  
Hey Dirk,

I have experimental php5 packages already in the Debian repo, and I believe mod_fcgid is available from Universe (those are the two pieces needed). You're more than welcome to give it a try now (and we'll help if anything blows up). Support in Virtualmin seems to be pretty good at this point for selecting between versions.

You'd use apt-get to install all of the php5 packages you want (the obvious list is php5, php5-mysql, php5-cgi, php5-cli, php5-gd, php5-pgsql, php5-xmlrpc), and mod_fcgid (assuming its available in universe--let me know if it's not and I'll try to make it available in our repo this week).

Once those are installed, make sure you're running the latest webmin-virtual-server version, and then switch the PHP execution type for one or more domains to mod_fcgid ("FCGId (run as virtual server owner)" in the server templates or in the "Website options" for domains that already exist).

The Virtualmin support is thought to be working well (we aren't getting any bug reports from the people who are using it). So this will all be getting setup during install in the next couple of releases of install.sh and the virtualmin-base package.
  The administrator has disabled public write access.
#4476
Dirk (User)
Posts: 38
graphgraph
Re: Re: Re: Re: Re: Success with installtion PHP5 on Debian with Virtualmin? 2007/04/07 11:58  
Hi Joe,
this is still pending, as far as I can see. When I try to install php5_mysql, the following dependencies are not met:

The following packages have unmet dependencies:
php5-mysql: Depends: libmysqlclient15off (>= 5.0.24-2) but it is not installable
Depends: php5-mysqli (= 5.1.2-1vm3.5) but it is not going to be installed

Is there an outlook, when PHP5 really will work out of the box?

Dirk
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.