Fedora 17 PHP 5.3 downgrade
I am trying to install php_gtk2 on Fedora 17. Unfortunately, I can't compile it - always ends with error. I searched the Internet and a lot of people report such errors with PHP 5.4.
I installed Fedora 16 which is with PHP 5.3 and php_gtk2 compiles without any issues. Is there any easy way to downgrade PHP from 5.4 to 5.3 using yum without compiling php. Thank you |
you know posting the error would help
but i am guessing it is do to fedora 17 using gcc4.7 install gcc 4.6 or 4.5 along side 4.7 then build php |
I still believe it is php issue. Here is the build error
Code:
/home/k.kirev/php-gtk/main/phpg_support.c: In function 'phpg_init_object': |
that error looks like a now fixed bug with gcc 4.7
the June 14 update to php 5.4.4 ( or in SVN) "should" build in gcc 4.7 on fedora 17 ???????? welcome to using fedora Things like this are VERY common .Fedora is often to new to build and use a lot of programs At least with out some hacking as to downgrading to php5.3 put an exclude in the fedora-update.repo for php and manually install the old 16 php 5.3 but building php with gcc 4.6 and not 4.7 also should fix the issue you can have more than one version installed side by side just do some research . I have gcc 4.6,4.1 and 3.3 installed at this time |
Downgrade to php 5.3 worked for us.
Thanks for the help. I hope it will be fixed soon in php 5.4 |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 07:41 AM. |