Sponsored Content
Top Forums Shell Programming and Scripting Solaris install php as an apache module Post 302961468 by lbslbs on Monday 30th of November 2015 02:36:09 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
libusb(3LIB)							Interface Libraries						      libusb(3LIB)

NAME
libusb - user-space USB device management library SYNOPSIS
cc [ flag... ] -I/usr/sfw/include file... -L/usr/sfw/lib -R/usr/sfw/lib -lusb [ library... ] #include <usb.h> DESCRIPTION
The libusb library contains interfaces for managing USB devices without a kernel driver. It is an open-source API supported on Linux, Mac- OS X, and NetBSD. See http://libusb.sourceforge.net. The current implementation is version 0.1.8 of the libusb API. Complete documentation for this library can be found at /usr/sfw/share/doc/libusb/libusb.txt. INTERFACES
The shared object libusb.so.1 provides the following public interfaces. See intro(3) for additional information on shared object inter- faces. usb_bulk_read usb_bulk_write usb_claim_interface usb_clear_halt usb_close usb_control_msg usb_find_busses usb_find_devices usb_get_busses usb_get_descriptor_by_endpoint usb_get_descriptor usb_get_string usb_get_string_simple usb_init usb_interrupt_read usb_interrupt_write usb_open usb_release_interface usb_reset usb_resetep usb_set_altinterface usb_set_configuration usb_set_debug usb_strerror FILES
/usr/sfw/lib/libusb.so.1 shared object /usr/sfw/lib/libusb_plugins implementation-specific libusb modules /usr/sfw/bin/libusb-config script to determine linking environment ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibusb, SUNWlibusbut, | | |SUNWlibugenusb | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
intro(3), attributes(5) http://libusb.sourceforge.net SunOS 5.10 14 Oct 2004 libusb(3LIB)
All times are GMT -4. The time now is 01:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy