Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

On Solaris 10 install php as an apache module

7f66e6fa-a31d-4faa-924c-6d7c4ab2f661Nov 29 2015 — edited Nov 29 2015

Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.

Please any help is wellcome.


Some aditional info:

/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs


bash-3.2# g++ -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs

bash-3.2# isainfo -b
64

LD_LIBRARY_PATH_64=/usr/lib/64
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/lib/sparcv9:/lib:/usr/ccs/bin
PATH=/usr/local/lib:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/lib/sparcv9:/usr/ccs/bin

I execute ./configure with a mínimum of arguments by now:
./configure --with-apxs2=/usr/local/apache2/bin/apxs


But gmake gives me the next error:
gmake

ld: fatal: file main/: unknown file type
ld: fatal: file processing errors. No output written to .libs/libphp5.so
collect2: ld returned 1 exit status
gmake: *** [libphp5.la] Error 1

Any idea about how can be solved this error?

Thxs in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2015
Added on Nov 29 2015
0 comments
1,525 views