Menu

Compiling PHP incl. required extensions

Help
Anonymous
2016-09-20
2016-09-20
  • Anonymous

    Anonymous - 2016-09-20

    Hi guys,

    I noticed that my question or problem is old, but I normally never compile anything myself cause I just cant always get errors I cant seem to solve.

    Would it be possible for someone to share his/her compiled PHP including the extensions?

    Well lets get to my terminal, I will tell and show you what I did.

    I am following this tut: http://blog.astaz3l.com/2015/02/25/php-install-from-source/

    And when they tell me to open a terminal and enter "/configure (options)" I get an error:

    bash ./configure --enable-pcntl --enable-sysvsem --enable-sysvshm --enable-sysvmsg
    configure: error: cannot find sources (README.GIT-RULES) in . or ..
    

    So I went looking on google and I found someone on Stackoverflow who had the same problem and got an answer that he needed to add the extensions --enable... to the php.spec file well after some searching I found in my installation it was called php7.spec.in but when I open the file it doesnt really specify how to properly add the extensions so it can be configured from that file.

    Am I on the right path?

     
  • James Shaver

    James Shaver - 2016-09-20

    I'm here simply as a fellow user. I'm not the developer, I just found this library useful, and I'm answering questions as a learning experience for myself. If I can figure out the answers to questions, then I'll know more about the software's abilities.

    That being said, your question seems more about the installation of PHP, rather than the usage of this crawler application. The blog you linked to is specifically regarding a LAMP (Linux Apache MySql PHP) installation. So the only relevance is the PHP portion.
    Speaking very broadly, the only way you could "install from source" with the PHPCrawler library included, would be to compile the whole LAMP system with the crawler included. So, zip all the files, and then unzip them.

    I'd start looking here for more information...
    https://www.apachefriends.org/index.html

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.