mailing lists
2006-Sep-08 12:18 UTC
[CentOS] I am running RHEL 4.4 and CentOS 4.4, I dont run Apache only Lighttpd. How do I compile php from php.srpm without apache support?
I am running RHEL 4.4 and CentOS 4.4, I dont run Apache only Lighttpd. How do I compile php from php.srpm without apache support? Well I have been compiling php from srpm like this forever rpmbuild -ba --target=i686 php.spec But today it somehow bugged me, I dont use apache on this server. But its asking me to install httpd and httpd-devel to compile. Isnt there a syntax to skip the apache stuff? Thx
Barry Brimer
2006-Sep-08 12:50 UTC
[CentOS] I am running RHEL 4.4 and CentOS 4.4, I dont run Apache only Lighttpd. How do I compile php from php.srpm without apache support?
> Well I have been compiling php from srpm like this forever > rpmbuild -ba --target=i686 php.spec > > But today it somehow bugged me, I dont use apache on this server. But > its asking me to install httpd and httpd-devel to compile. > > Isnt there a syntax to skip the apache stuff?You need to edit the spec file and remove references to httpd and apxs and then compile again. Barry