Solaris install php as an apache module


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Solaris install php as an apache module
# 1  
Old 11-30-2015
Solaris install php as an apache module

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:
Code:
 /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs

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

Code:
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:
Code:
./configure --with-apxs2=/usr/local/apache2/bin/apxs

But gmake gives me the next error:
Code:
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.

Last edited by Franklin52; 11-30-2015 at 08:03 AM.. Reason: Please use code tags
# 2  
Old 11-30-2015
Moderator's Comments:
Mod Comment This thread duplicates the thread Compile PHP as an Apache module on Solaris.

Continue any further discussion on this topic there.

This thread is closed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Install Apache 2.4.20 on Solaris 10 --- Error "ld: fatal: file ab.o: wrong ELF class: ELFCLASS32"

I am following the "Compilling and Installing" guide from Apache > HTTP Server > Documentation > Version 2.4 page The configure running OK: # export CC="gcc -m64" # ./configure \ --prefix=/usr/local/apache2/httpd-2.4.20 \ --with-port=80 \ --with-mpm=worker \ --enable-mods-shared=most \... (0 Replies)
Discussion started by: jhuang
0 Replies

2. Solaris

Compile PHP as an Apache module on Solaris

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... (0 Replies)
Discussion started by: lbslbs
0 Replies

3. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies

4. Solaris

Install apache 2.2.22 on Solaris 10

Hi all, This is Solaris 10 OS I received this error on Server, -bash-3.00$ /usr/local/apache2/bin/httpd -v ld.so.1: httpd: fatal: libaprutil-1.so.0: open failed: No such file or directory Killed -bash-3.00$ How to resolve this dependencies which are not resolved? ... (0 Replies)
Discussion started by: manalisharmabe
0 Replies

5. Solaris

Upgrade Apache to new version? Solaris 10, goal:PHP

Hello, I have been searching on unix.com and google in general. I can't find what I am looking for. Maybe too dumb of a question. I've downloaded and installed the sunfreeware package for PHP 5.3.6 and made sure all dependencies are satisfied. Apache 2.2.8 is currently installed and... (2 Replies)
Discussion started by: CSLibrary
2 Replies

6. Solaris

Apache Install error on Solaris 10 x86

I am trying to install apache on a sun server (Solaris 10 x86) but when I execute the compile i have the following error; configure failed for srclib/apr Can anybody help with this. Thanks for the usual help oh-daa (2 Replies)
Discussion started by: oh-daa
2 Replies

7. Solaris

PHP install on Solaris 10

Hi all, I have been looking for setup instructions for PHP5 on Solaris 10. The only thing I've managed to find is how to compile it for Solaris 9. To be honest I dont want to compile it. I've setup Apache and MySql so PHP is the last thing I need and I can't seem to find anything clear... (5 Replies)
Discussion started by: flood
5 Replies

8. UNIX for Dummies Questions & Answers

PHP & Apache & MySQL install how-to ?

how do i install php & mysql with apache on suse linux ??? apache was installed and configured when i installed linux. all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/ so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies

9. UNIX for Dummies Questions & Answers

get error while compiling apache with php module

hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha. i do it as the follow steps after untar'ed them in the same directory, 1) cd apache_1.3.22 ./configure 2) cd php-4.0.6 ./configure --with-mysql=/usr/local/mysql \ --with-apache=../apache_1.3.22 \... (2 Replies)
Discussion started by: jApHEth
2 Replies

10. UNIX for Dummies Questions & Answers

apache, php on solaris

Hi, our spark 5, os 2.8, solaris 8, came with Apache. But this Apache is some kind of bastardized wrapper that has no configuration files, nothing. So, I got the real version of Apache that is configurable. That is so I can configure it with PHP-4. I installed this new Apache version but now I... (6 Replies)
Discussion started by: softarch
6 Replies
Login or Register to Ask a Question