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]
So you should have ini files in /etc/php5/php.d/
for example if you do
rpm -ivh php5-mysql-5.2.0-CLI_CGI.rhe4x.1.0.2.i386.rpm you should have :
can php5 share ionCube setup for php4 or is that a seperate setup also.
php4 ini files are in /etc/php.ini and etc/php.d/
php5 ini files are in /etc/php5/php.ini and /etc/php5/php.d/
Using suPHP you can also define a php.ini file per domains.
So you can have ioncube for php4 and not php5 or php5 and not php4 or for both !
Also ioncube can just be added in the directory you need it !
So for example if you have in html/ all files parsed by php5 then you just have to put the corresponding ioncube loader, if you have, for example, a directory called html/app-php4/ which parse all php files with php4 then you just need to put there the ioncube loader for php4.4.4
etc…
With suphp you can define what you want !
just use :
suPHP_AddHandler and AddHandler in the vhost config file and in an htaccess file !