Environment: LinuxUbuntu2.6.27-7-server + Apache/2.2.9 (Ubuntu) + PHP/5.2.6-2ubuntu4. 6withsuhosin-pattern & gt; has been using source code compilation to install PHP, today in Ubuntu run directly use the apt-getinstallphp5 command to install php5, after installation has been unable to find php5 execution program, use the find command can not be found
Environment: Linux Ubuntu 2.6.27-7-server + Apache/2.2.9 (Ubuntu) + PHP/5.2.6-2ubuntu4. 6 with Suhosin-Patch
1> I have been using the source code to compile and install PHP. Today, I am using the apt-get install php5 command to install php5 directly on Ubuntu. After installation, I cannot find the php5 execution program, the find command cannot be found.
Later I found that I needed to install another program: apt-get install php5-cli
After installation, You can see php5 in/usr/bin!
2> when developing PHP extensions using C, if you use the dynamic link library to compile the extension module, you need to use phpize. This tool is not installed by default when you use apt-get install php5, install phpize: apt-get install php5-dev