Is there a way to tell what ./configure options were used when php what built for centos 7? I need to recompile my own, but would like to keep it as close as possible to the original.
I looked in the phpinfo() but did not see it there.
Any help would be apetiated!
PHP ./configure
Re: PHP ./configure
If you want to keep it close to original, I would suggest to get the source, get the PHP source tarball with the referenced get_sources.sh script, make your modifications to the spec and rebuild the rpm.
If you really want to do this outside rpm, you can check the build log server for hints.
If you really want to do this outside rpm, you can check the build log server for hints.
Re: PHP ./configure
Running php -r "phpinfo();" tells you the configure command that was used to build it but rebuilding the SRPM would be safer and better.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: PHP ./configure
Perfect! Thanks guys for the good info. I'm going to look into the source and modifying the get_sources.sh file.
I think this may end up way easier then I expected!
I think this may end up way easier then I expected!
Re: PHP ./configure
> Running php -r "phpinfo();" tells you the configure command ...
@TrevorH: this have been removed in recent package because source of to much confusion, and was only relevant about the tested SAPI (and some modules are build shared in 1 SAPI and available on others)
@vitamin: I'm curious to know why you think you need to build your own. What option is missing ?
Remi.
P.S. more details about this http://blog.famillecollet.com/post/2010 ... -or-PEBKAC
@TrevorH: this have been removed in recent package because source of to much confusion, and was only relevant about the tested SAPI (and some modules are build shared in 1 SAPI and available on others)
@vitamin: I'm curious to know why you think you need to build your own. What option is missing ?
Remi.
P.S. more details about this http://blog.famillecollet.com/post/2010 ... -or-PEBKAC
Re: PHP ./configure
I was having trouble with unixODBC and php-odbc. I needed to use http://www.microsoft.com/en-us/download ... x?id=36437 and it says it has strict requirement for unixODBC 2.3.0 and centOS 7 comes with 2.3.1. But I found another workaround over the weekend and no longer need to recompile php. Everything seams to be working fine now though.