Re: RE: Having issues to compile cgi_main.c into php 5.6.4
| From: | Aziz Saleh | Date: | Mon, 19 Jan 2015 14:43:01 +0000 |
| Subject: | Re: RE: Having issues to compile cgi_main.c into php 5.6.4 | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-20397@lists.php.net to get a copy of this message | ||
On Mon, Jan 19, 2015 at 9:39 AM, Marin Perez, Natalia <
natalia.marin.perez@intel.com> wrote:
> Here is a script I created but I’m not sure if there would be a more
> simple way of doing it:
>
>
>
> #first create a backup of the configuration
>
> mkdir backup
>
> path_ini=$(php -i | grep "Loaded Configuration File" | awk '{print $NF}')
>
> cp $path_ini backup
>
> export http_proxy=http://proxy-chain.intel.com:911/
>
> export https_proxy=http://proxy-chain.intel.com:912/
>
> #install dependencies to compile the code
>
> sudo apt-get -f -y install build-essential autoconf automake libtool bison
> re2c libxml2 libxml2-dev gcc git
>
> git clone https://git.php.net/repository/php-src.git
>
> cd php-src/
>
> git pull
>
> #creating configure command
>
> ./buildconf
>
> #verifying configure options configuration and recompiling php
>
> configure_cmd=$(php -i | grep "Configure Command" | awk
> '{for(i=4;i<=NF;++i) printf("%s ", $i) }' | tr -d "'")
>
> if [ $configure_cmd="" ];then bash ./configure ; else bash
> $configure_cmd; fi
>
> sudo make
>
> sudo make install
>
> #creating backup of the php.ini file.
>
> cp backup/php.ini $path_ini
>
> #verifying version
>
> php –v
>
>
>
>
>
> *Best regards,*
>
> *Natalia MarÃn Pérez *[image:
>
> http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png]
>
> Platform Hosting
>
> Systems Engineer
>
> ( Contact Information
>
> <https://ease.intel.com/es/Phonebook/ViewEmployeeRec.aspx?wwid=11338730>
>
> Engage Platform Hosting @ goto/engageph
>
>
>
> *From:* Marin Perez, Natalia
> *Sent:* Monday, January 19, 2015 8:38 AM
> *To:* 'Aziz Saleh'
> *Cc:* php-install@lists.php.net
> *Subject:* RE: [PHP-INSTALL] RE: Having issues to compile cgi_main.c into
> php 5.6.4
>
>
>
> Hi Aziz,
>
>
>
> How would you recommend me to remediate the bug 68618?
>
>
>
> Thank you !
>
>
>
> *Best regards,*
>
> *Natalia MarÃn Pérez *[image:
>
> http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png]
>
> Platform Hosting
>
> Systems Engineer
>
> ( Contact Information
>
> <https://ease.intel.com/es/Phonebook/ViewEmployeeRec.aspx?wwid=11338730F擬çã"Ê
> J6á#”ˆ>
>
> Engage Platform Hosting @ goto/engageph
>
>
>
> *From:* Aziz Saleh [mailto:azizsaleh@gmail.com <azizsaleh@gmail.com>]
> *Sent:* Monday, January 19, 2015 8:37 AM
> *To:* Marin Perez, Natalia
> *Cc:* php-install@lists.php.net
> *Subject:* Re: [PHP-INSTALL] RE: Having issues to compile cgi_main.c into
> php 5.6.4
>
>
>
>
>
>
>
> On Mon, Jan 19, 2015 at 9:04 AM, Marin Perez, Natalia <
> natalia.marin.perez@intel.com> wrote:
>
> Hi all,
>
>
>
> Let me know if this is the right way to contact you.
>
>
>
> Thank you !
>
>
>
> *Best regards,*
>
> *Natalia MarÃn Pérez *[image:
>
> http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png]
>
> Platform Hosting
>
> Systems Engineer
>
> ( Contact Information
>
> <https://ease.intel.com/es/Phonebook/ViewEmployeeRec.aspx?wwid=11338730>
>
> Engage Platform Hosting @ goto/engageph
>
>
>
> *From:* Marin Perez, Natalia
> *Sent:* Friday, January 16, 2015 9:42 PM
> *To:* 'php-install@lists.php.net'
>
>
> *Subject:* RE: Having issuesto compile cgi_main.c into php 5.6.4
>
>
>
> Hi all,
>
>
>
> Could you please help me with the below question?
>
>
>
> “However, we do need to apply the patch (bug 68618) in a number of servers
> and recompiling php in all of our systems would be a problem, since most
> of the php installations are completed with the repositories or with
> rpm/deb packages.�
>
> Is there already a package that covers this bug ? (Bug 68618)
>
>
>
> *Best regards,*
>
> *Natalia MarÃn Pérez *[image:
>
> http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png]
>
> Platform Hosting
>
> Systems Engineer
>
> ( Contact Information
>
> <https://ease.intel.com/es/Phonebook/ViewEmployeeRec.aspx?wwid=11338730>
>
> Engage Platform Hosting @ goto/engageph
>
>
>
> *From:* Marin Perez, Natalia
> *Sent:* Friday, January 16, 2015 11:31 AM
> *To:* 'internals@lists.php.net'
> *Subject:* RE: Having issuesto compile cgi_main.c into php 5.6.4
>
>
>
> How long do you usually take to respond emails?
>
>
>
> Thank you !
>
>
>
> *Best regards,*
>
> *Natalia MarÃn Pérez *[image:
> http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png]ö|qeÀ¢”€�
> Û5D±õ
>
> Platform Hosting
>
> Systems Engineer
>
> ( Contact Information
>
> <https://ease.intel.com/es/Phonebook/ViewEmployeeRec.aspx?wwid=11338730>
>
> Engage Platform Hosting @ goto/engageph
>
>
>
> *From:* Marin Perez, Natalia
> *Sent:* Thursday, January 15, 2015 10:35 AM
> *To:* 'internals@lists.php.net'
> *Subject:* RE: Having issuesto compile cgi_main.c into php 5.6.4
>
>
>
> By the way, is there already a package that covers this bug ? (Bug 68618)
>
>
>
> And I just found out how to recompile with the git version:
>
> http://www.phpinternalsbook.com/build_system/building_php.html
>
>
>
> However, we do need to apply the patch in a number and recompiling php in
> all of our systems would be a problem, since most of the php
> installations are completed with the repositories or with rpm/deb packages.
>
>
>
> Any help would be highly appreciated
>
>
>
> *Best regards,*
>
> *Natalia MarÃn Pérez *[image:
>
> http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png]
>
> Platform Hosting
>
> Systems Engineer
>
> ( Contact Information
>
> <https://ease.intel.com/es/Phonebook/ViewEmployeeRec.aspx?wwid=11338730>
>
> Engage Platform Hosting @ goto/engageph
>
>
>
> *From:* Marin Perez, Natalia
> *Sent:* Thursday, January 15, 2015 9:17 AM
> *To:* 'internals@lists.php.net'
> *Cc:* Marin Perez, Natalia
> *Subject:* Having issuesto compile cgi_main.c into php 5.6.4
>
>
>
> Hi All,
>
>
>
> I’ve been trying to compile the new patch for bug 68618 (
>
> http://git.php.net/?p=php-src.git;a=commit;h=f9ad3086693fce680fbe246e4a45aa92edd2ac35
> ) into php 5.6.4 . However, I’m getting this error when I try to compile
> it.
>
>
>
> Do you know if there is any dependency I should take care of ? Thanks a
> lot for your help!.
>
> ...
>
> *Best regards,*
>
> *Natalia MarÃn Pérez *[image:
>
> http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png]
>
> Platform Hosting
>
> Systems Engineer
>
> ( Contact Information
>
> <https://ease.intel.com/es/Phonebook/ViewEmployeeRec.aspx?wwid=11338730>
>
> Engage Platform Hosting @ goto/engageph
>
>
>
>
>
> It seems like the bug https://bugs.php.net/bug.php?id=68618 was
> committed
> on 2014-12-30 09:30 UTC, which means any release after that date should
> include that fix.
>
Have you considered downgrading to Old Stable PHP 5.5.20 until a new
version becomes available. The only other choice I see is diffing the setup
files with the fix branch and adding that code in manually.