I have deployed my PHP web application on Amazon Cloud. I installed PHP and mySql on the server. But my PHP installation does not support some of the features present in my default XAMPP installation on my development machine. Functions do not work The imagecreatefromstring function and the email sending function because the PHP installation on the server does not contain the required files that must be included to create an image from a string and send email.
I tried to manually install some rpm packages on the server, but they conflict with existing packages. Also I do not know Linux very well.
What should I do if I create a new installation of PHP on the server, and this time I think I should go with the installation of XAMPP for Linux, because the installation of XAMPP provides all the basic functions pre-installed.
Another way, if possible, is to manually place the necessary .php files for these two tasks in the appropriate directories. I don't know if this approach will work.
Please help if you have similar experience or knowledge about this. My scripts with this functionality work fine on a local Windows development machine.
linux php mysql amazon-ec2 xampp
Abhi
source share