Adding PHP to Apache on Linux - page 12
Supercharging Your Web Pages
The apache-devel RPM included in the original Red Hat 6.1 distribution contains a broken version of the apxs script, which will prevent you from using it with PHP (or any other module). It's possible that a later redistribution of 6.1 (such as CDs made and passed around by a Linux user group) may have this problem fixed�but just in case, check /usr/sbin/apxs. If somewhere near line 81 you see
my $CFG_LIBEXECDIR = 'modules';
then change 'modules' to '/usr/lib/apache'. Next, look for lines that look like this:
my $CFG_LD_SHLIB = 'gcc';
my $CFG_LDFLAGS_SHLIB = q(-shared);
If the lines in your /usr/sbin/apxs script look something like this, and the $CFG_LIBEXECDIR line has been corrected, you should be in good shape to build PHP. You can find more details in the ./php/php3/INSTALL.REDHAT file included in the PHP distribution.
- Skip Ahead
- 1. Supercharging Your Web Pages
- 2. Supercharging Your Web Pages
- 3. Supercharging Your Web Pages
- 4. Supercharging Your Web Pages
- 5. Supercharging Your Web Pages
- 6. Supercharging Your Web Pages
- 7. Supercharging Your Web Pages
- 8. Supercharging Your Web Pages
- 9. Supercharging Your Web Pages
- 10. Supercharging Your Web Pages
- 11. Supercharging Your Web Pages
- 12. Supercharging Your Web Pages
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.