Re: [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?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux