RE: [PHP-INSTALL] RE: Having issues to compile cgi_main.c into php 5.6.4
[email protected] ("Marin Perez, Natalia") Mon, 19 Jan 2015 14:44:37 +0000
| Newsgroups | php.install |
|---|---|
| Message-ID | <18D32043D74171488403B9FE173B07542D0249CB@CRSMSX102.amr.corp.intel.com> |
Hi Azis, I’m not sure if it is my intel email that is blocking your email but they appear as blank. I have also copied my personal email just in case. Best regards, Natalia Marín Pérez [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<http://goto/engageph> From: Aziz Saleh [mailto:[email protected]] Sent: Monday, January 19, 2015 8:43 AM To: Marin Perez, Natalia Cc: [email protected] Subject: Re: [PHP-INSTALL] RE: Having issues to compile cgi_main.c into php 5.6.4 On Mon, Jan 19, 2015 at 9:39 AM, Marin Perez, Natalia <[email protected]<mailto:[email protected]>> 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 [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<http://goto/engageph> From: Marin Perez, Natalia Sent: Monday, January 19, 2015 8:38 AM To: 'Aziz Saleh' Cc: [email protected]<mailto:[email protected]> 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 [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<http://goto/engageph> From: Aziz Saleh [mailto:[email protected]] Sent: Monday, January 19, 2015 8:37 AM To: Marin Perez, Natalia Cc: [email protected]<mailto:[email protected]> 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 <[email protected]<mailto:[email protected]>> wrote: Hi all, Let me know if this is the right way to contact you. Thank you ! Best regards, Natalia Marín Pérez [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<http://goto/engageph> From: Marin Perez, Natalia Sent: Friday, January 16, 2015 9:42 PM To: '[email protected]<mailto:[email protected]>' 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 [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<http://goto/engageph> From: Marin Perez, Natalia Sent: Friday, January 16, 2015 11:31 AM To: '[email protected]<mailto:[email protected]>' 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 [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<http://goto/engageph> From: Marin Perez, Natalia Sent: Thursday, January 15, 2015 10:35 AM To: '[email protected]<mailto:[email protected]>' 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 [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<http://goto/engageph> From: Marin Perez, Natalia Sent: Thursday, January 15, 2015 9:17 AM To: '[email protected]<mailto:[email protected]>' 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 [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<http://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.
image004.jpg
(image/jpeg, 1 KB) - not displayed
image005.jpg
(image/jpeg, 1 KB) - not displayed
image006.jpg
(image/jpeg, 1 KB) - not displayed
image007.jpg
(image/jpeg, 1 KB) - not displayed