package - Move PHP binaries to another server

415

I have a PHP installation that I did by compiling from the sources on a RHEL6 server. All is fine and working.

My question is:

Can I copy the "php installation" to another server and have it run without compiling on that other server ?

*I already did, however, it's missing libraries in /usr/lib64, etc... Do I just copy them one by one over ? Or i RE-Download all the mcrypt modules and so on with YUM.... (Il would like to not do that and juste have a php package of my own to deploy on other servers...)

Or could I just do a in house php (my own compiled one) packaged in a RPM ?

Thanks !

People are also looking for solutions to the problem: php - Show multiple values from a row when dropdown box is used from mysql database

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.