Building PHP From Source

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
robertwolfe
-


Joined: 21 Sep 2018
Posts: 4
Location: Southaven, MS USA

PostPosted: Fri Sep 21, 2018 7:55 pm    Post subject: Building PHP From Source Reply with quote

Hi all! I have available prebuilt 64-bit binaries. I would be happy to provide the link to download my prebuilt binaries (that I use with Abyss under CentOS 7.5).
However, should you wish to build your own from source, you can do so using the following configure command:

Code:
./configure --prefix=/opt/php73 --with-mysqli --with-gd --enable-fpm  --enable-mbstring --with-mysql --with-mcrypt --enable-sockets --with-penssl --with-gmp --with-gettext --with-pdo_mysql

Then when you run 'make install' after running 'make', PHP (v7.3 in this case) will install in the /opt/php73 directory. This method is good when you have differing version of PHP installed for different web sites (as I do). Please note, too, that the necessary header files will also need to be present when building from source.
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 821

PostPosted: Wed Oct 03, 2018 10:50 am    Post subject: Re: Building PHP From Source Reply with quote

robertwolfe,

Thank you for your message. Your post gave us an idea about a series of articles about how to build PHP on other platforms from scratch.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group