PHP5 CGI rpm?
PHP5 CGI rpm?
Hi,
Is there a PHP5 CGI rpm from ART?
I found this one,
http://www.serverpeak.com/index.php?page=Software
But it will not compile for FC2 it gives the following error,
configure: error: Cannot find rfc822.h. Please check your IMAP installation.
error: Bad exit status from /var/tmp/rpm-tmp.79051 (%build)
I'd like to leave PHP4 on the system but use PHP5 for somethings that require it.
Thanks
Is there a PHP5 CGI rpm from ART?
I found this one,
http://www.serverpeak.com/index.php?page=Software
But it will not compile for FC2 it gives the following error,
configure: error: Cannot find rfc822.h. Please check your IMAP installation.
error: Bad exit status from /var/tmp/rpm-tmp.79051 (%build)
I'd like to leave PHP4 on the system but use PHP5 for somethings that require it.
Thanks
Is Stuart from serverpeak?
If so the rpm on the site is built for RH Enterprise but he does say it should build for FC2.
When I run the command "rpmbuild --rebuild --define 'dist fc2' php5-cgi-5.0.3-3.sp.src.rpm" I get the above errors.
Any ideas on fixing Stuarts or would it take long for you to build one? My system is FC2 running Plesk 7.5.2.
Thanks
If so the rpm on the site is built for RH Enterprise but he does say it should build for FC2.
When I run the command "rpmbuild --rebuild --define 'dist fc2' php5-cgi-5.0.3-3.sp.src.rpm" I get the above errors.
Any ideas on fixing Stuarts or would it take long for you to build one? My system is FC2 running Plesk 7.5.2.
Thanks
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
I haven't touched my php5 rpm in a while, last time I did test it out, it broke both squirrelmail and horde. However I haven't tested it against the latest squirrelmail (1.4.4) so its possible that those issues have been fixed.
On the second question, yes stuart's (perlboy) company is serverpeak. I don't really have any plans to do a cgi php 5 rpm, generally I only do projects like that under hire.
As for building it on your own, I'd say your build environment is incomplete. I suggest that when you set up a system for building rpms you select the "Everything" option when choosing packages to install. That would ensure you don't run into problems like this.
On the second question, yes stuart's (perlboy) company is serverpeak. I don't really have any plans to do a cgi php 5 rpm, generally I only do projects like that under hire.
As for building it on your own, I'd say your build environment is incomplete. I suggest that when you set up a system for building rpms you select the "Everything" option when choosing packages to install. That would ensure you don't run into problems like this.
I removed php-mbstring and php-domxml with the nodeps option and then upgraded php using the php5 rpms.
Edit: php isn't working at all. I will continue to investigate.
Edit: php isn't working at all. I will continue to investigate.
Last edited by Jason Lee on Sat May 21, 2005 2:47 pm, edited 2 times in total.
I just verified with a clean image on a 1and1 server. I ran the plesk updater to update to PSA 7.5.3 and then yum update php with the atomic-unstable channel. It complains about php-mbstring ... like the other Jason said. So you should remove those rpm's (with nodeps) before updating.
Additionally you need to change /etc/httpd/conf.d/php.conf and replace instances of "php4" with "php5"
Also apache complained that the https port 443 was in use. So i just restarted the server and it started normally.
Other than those issues... no problems
It doesn't break webmail.
----
so ummm... maybe one day we could see a MySQL 4.1 RPM with PHP5 and MySQLi? Because doing it by hand... not easy...
Additionally you need to change /etc/httpd/conf.d/php.conf and replace instances of "php4" with "php5"
Also apache complained that the https port 443 was in use. So i just restarted the server and it started normally.
Other than those issues... no problems
It doesn't break webmail.
----
so ummm... maybe one day we could see a MySQL 4.1 RPM with PHP5 and MySQLi? Because doing it by hand... not easy...
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
That rpm is based on a rh9 design, which didnt have the mbstring or domxml packages, so for now you'll have to do that workaround for testing. Once were sure its going to work with PSA and all associated app vault rpms, then I'll get to work on updating it to the newer design (with mcrypt, etc). If I remember correctly the problems I was having were with composing messages in squirrelmail and horde.