note 110730 added to faq.build
| From: | richard at bpr-s dot de | Date: | Wed, 28 Nov 2012 21:48:54 +0000 |
| Subject: | note 110730 added to faq.build | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192180@lists.php.net to get a copy of this message | ||
When you have installed PHP5 as a package from your distribution source list, such as yast or apt
and want to upgrade the probably out of date PHP5 version make sure:
1. Apache-develope tools are installed so that you have APXS(2)
2. make a clean install which means:
make distclean
./configure --with-apxs2=/usr/sbin/apxs2 and other options
make && make test && make clean install
This will take a while, the make test basically tests your php installation if it passes all the bug
reports, as of now about 8600.
Those thre lines will take a while longer! So dont panic, but read the output!
This should ensure, that you have .so files again (because of the APXS and that you have established
a relation between the apache and php. Obviously you needed to deinstall the mod_php5 first. I would
highly recommend to train this and verify that you have all the required kernel source files and
compiler stuff on a virtual machine before doing that on your productive server!
----
Server IP: 69.147.83.199
Probable Submitter: 86.164.142.88
----
Manual Page -- http://www.php.net/manual/en/faq.build.php
Edit -- https://master.php.net/note/edit/110730
Del: integrated -- https://master.php.net/note/delete/110730/integrated
Del: useless -- https://master.php.net/note/delete/110730/useless
Del: bad code -- https://master.php.net/note/delete/110730/bad+code
Del: spam -- https://master.php.net/note/delete/110730/spam
Del: non-english -- https://master.php.net/note/delete/110730/non-english
Del: in docs -- https://master.php.net/note/delete/110730/in+docs
Del: other reasons-- https://master.php.net/note/delete/110730
Reject -- https://master.php.net/note/reject/110730
Search -- https://master.php.net/manage/user-notes.php