I'm setting up a new server, and it came with PHP 5 CLI installed. Turns out that I need PHP 4 CLI in order to run some sites that aren't PHP 5 compatible yet. Custombuild said I couldn't have both installed as CLI, so I installed PHP 4 as CGI to see if that would work for my sites. The install worked perfectly, but PHP 4 CGI is still causing problems with some sites, so now I'm trying to switch to PHP 4 CLI and PHP 5 CGI, or at least PHP 4 CLI -- I can live without PHP 5 for the time being, if I have to. I just need to get these sites working properly.
So, I changed my options.conf file to read this:
And then I ran these commands:
I tried it once just like that, and I tried it again inserting "./build clean" after the update. Both times, the install fails at this point in the proceedings:
I don't even know what any of that means!
The operating system is CentOS 5.
Anybody have any ideas for me?
So, I changed my options.conf file to read this:
Code:
#PHP settings. default_php possible values - 4 or 5
default_php=4
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=no
zend=yes
And then I ran these commands:
Code:
./build update_data
./build php d
I tried it once just like that, and I tried it again inserting "./build clean" after the update. Both times, the install fails at this point in the proceedings:
Code:
/usr/bin/ld: /usr/local/lib/libltdl.a(ltdl.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libltdl.a(ltdl.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
I don't even know what any of that means!
The operating system is CentOS 5.
Anybody have any ideas for me?