Home > Article > Backend Development > Compile and install PHP5.3 development environment under Ubuntu12_PHP tutorial
This article shares with you the methods and steps for compiling and installing the PHP5.3 development environment under Ubuntu12. It is very detailed and recommended. For everyone, friends who need it can refer to it.
Recently, the project encountered a cheating thing. A source code must use PHP5.3, but now the version that comes with Ubuntu is 5.4. After downgrading, various strange problems will occur. In the end, there is no way but to step by step. Compiling PHP5.3 on Ubuntu12.04server by yourself is more complicated than sharing it.
Install Apache2.2
The code is as follows:
Then install MySQL5.5
The code is as follows:
Then comes the compilation dependency environment:
The code is as follows:
Related lib support library:
The code is as follows:
Installation:
The code is as follows:
Then install cli and dev:
The code is as follows:
Finally enable Apache2 support:
The code is as follows:
Finally it’s done~
The above is the entire content of this article, I hope you all like it.