All working, it was the reference in /etc/php5/php.ini that was needed…
As to modules, apart from the normal, we need mbstring (china), mcrypt and mhash for some users, pgsql as it is the normal db that we use for real transactional applications cause at the end of the day mysql is just plain too lightweight, and snmp for a monitoring package we are testing the integration of with openmanage and Ubersmith…
Well happy to know we have found and resolved your problems.
I was sure sure it should work :-p
So there is a definate issue with this approach to use PHP5.x.x with iworx…
And for the records, iworx doesn’t have something to do with an installation of phpx/mysqlx/httpdx etc…
Interworx use his own php/mysql/httpd server, and so until you don’t touch the interworx ones, you can install/hack/tweak what you want on your system
This would be a very cool add-on for Iworx.
It would be nice to have a Package Option with PHP 4/PHP5/PHP 4 & 5 when you create a new siteworx account or edit it.
We’ve succesfully installed this on FC3, FC4 & CentOS 4 servers, and it it’s performing very well.
Pascal’s links dont seem to be functioning at the moment, but we do have the SRPM’s on our boxes, so if anyone does need them, I’m sure there wouldn’t be objections for us to supply you a link.
i am looking to run both php4 and php5 on my centos server is this the best way to go and does it work ok.
all the links for srpms appear to be down though.
thank you
it does not create the /usr/lib/php5 directory so i am missing the content of the folder.
tried 3 times now still the same.
any ideas how to fix this problem
For your info we have used these SRPM (from iworx/carathosting) on our centos5 box and everythng was fine
PHP 4.4.4
PHP 5.2.0
suPHP 0.6.2
Pascal gave us these SRPMS
Then in /etc/httpd/conf.d/domain.conf we’ve added these lines
suPHP_Engine on
suPHP_UserGroup account account
suPHP_AddHandler x-httpd-php5 .php
suPHP_AddHandler x-httpd-php .php
suPHP_ConfigPath /etc/php5 (or cpy php.ini in /home/account/domain.com/ and define this path to allow the client to have his own php.ini)
SetEnv PHPRC /etc/php5/ (idem)
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php5 .phtml
AcceptPathInfo On
here by default the php process will be done with PHP5 (it could be with php4)
Then we just have to create a .htaccess file in the directory we want php4 or php5 (it so allow to have a directory with php5 and an other with php4 under the same domain) and add these lines
AddHandler x-httpd-php .php .php4 .php3
or
AddHandler x-httpd-php5 .php .php5
Then in /etc/httpd/conf.d/domain.conf we’ve added these lines
here by default the php process will be done with PHP5 (it could be with php4)
Then we just have to create a .htaccess file in the directory we want php4 or php5 (it so allow to have a directory with php5 and an other with php4 under the same domain) and add these lines
Paul[/quote]
Thank you
my main problem is that the /usr/lib/php5 and contents is not created for some reason every thing else seems to be there.
not sure why at present.
my main problem is that the /usr/lib/php5 and contents is not created for some reason every thing else seems to be there.
not sure why at present.[/quote]
Did you try wth our SRPM ?
What is your OS ? 32 or 64 bits ?
Did you use the “with xxx” option when rebuilding the rpm ?
Did you have some errors when recreating the rpm ?
What rpms did you install (rpm -qa | grep php ) ? and how ?
If you give the SRPM I could check it to see where the pbm is