./configure --enable-embed #### 1) Download the PHP sources from php.net 2) tar zxf php-5.1.x.tar.gz 3) cd php-5.1.x 4) ./configure --enable-embed [any other options you want] 5) make 6) make install 7) install PHP::Interpreter