Yes, this works. Don't use AddType, core dumps galoreOriginally Posted by ispro
![]()
Yes, this works. Don't use AddType, core dumps galoreOriginally Posted by ispro
![]()
Can I use this tutorial for php as module? not as cgi
Thank's...
Regards,
Alex.
Apache1 does not support both php modules at the same time.Originally Posted by alex2k
If you really need php5 running as a module you need to setup second Apache and connect it with your first Apache via mod_proxy. However this is not the automated solution and you would need to setup all the php5 clients manually.
You also would need to check if the second Apache running... This is added complexity which would cause more outages than with this setup.
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
It works! thanx
Whole installation procedure was easy)
My hosting now supports PHP5!great!
Adam
Thank's for your answer ispro.
Another question:
I hear that phpsuexec not support chmod 777 for dir/files, is that right?
Or maybe you can explain what the limitation for phpsuexec
Thank's again...
Regards,
Alex.
Fantastic. It works!![]()
Last edited by patryk; 11-18-2005 at 06:57 AM.
Yes, phpsuexec not "like" the 777. Reason is simple. As all processes running under the user you needn't to allow group and other the same permissions. E.g. 755 under phpsuexec will work for you the same as 777 under mod_php (with some exceptions, but they are not affects 99.99% of the customers).Originally Posted by alex2k
P.S. Warning: if you are running mod_php and considering to switch to phpsuexec you need to know that there are many issues within the process. Most of them explained there and here on this forum. But you may always ask me to do it seamlessly for you incl. php5 install![]()
Last edited by ispro; 11-18-2005 at 07:09 AM.
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
I got PHP 4.4 installed using WHM , and PHP5 manually as described in this tutorial.
I want to add Postgres using WHM options , does it will broke my PHP5 installation?
Adam
No, it will not broke the PHP5 as it is independent.Originally Posted by Grooby
However you would need to recompile PHP5 if you need to add PostgreSQL support to it.
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Ispro, great information! Thanks for sharing.![]()
Can you tell me what "many issues" ?Originally Posted by ispro
is it easy to fix?
Thank's for all your answer.
Regards,
Alex.
Oh wow, thank you. That works!Originally Posted by Earendil
As said they could be fixed if you know what to fix.Originally Posted by alex2k
Several general downsides (cannot be fixed) are those:
no more .htaccess php_value/php_admin/php_flag allowed;
no PHP_AUTH;
However the phpsuexec way has too much positive security things, that these issues are not problem at all.
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Has anyone set this up using fastCGI instead of CGI? PHP CGI is notoriously slow compared to the apache module, but fastCGI gives it a hard run for its money.
So has anyone setup PHP 5 as a fastCGI?
fastcgi stores the script in ram. Do you really want to do that for all PHP scripts on the server? I don't, I charge too little as it is....
Michael