1752781 Members
6316 Online
108789 Solutions
New Discussion юеВ

Can't install install.sh

 
SOLVED
Go to solution
mwagiru2
Advisor

Can't install install.sh

While trying to install the ZendCoreForOracle-v1.5.0-Linux-x86.tar in my HP-UX box I get Permission denied even though I have root access.
After untar-ing the .tar archive, there's an install.sh file which i should run by entering
./install
Why do I get the error " Permission denied" ?
Install.sh has 777 permission.
9 REPLIES 9
mwagiru2
Advisor

Re: Can't install install.sh

bash-3.2# ./install.sh
./install.sh: ./php: Execute permission denied.
melvyn burnard
Honored Contributor

Re: Can't install install.sh

that appears ot be meant for a Linux OS and not HP-UX
Are you sure you should be putting this on an HP-UX server?
The permission denied issue is often caused when something is compiled on a different architecture.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Peter Godron
Honored Contributor
Solution

Re: Can't install install.sh

Hi,
and welcome to the forums !

You need to type ./install.sh

1. Are you sure you have got the right software set for your machine :
ZendCoreForOracle-v1.5.0-Linux-x86.tar sounds like a Linux version for a 86 type processor.

2. http://edin.no-ip.com/html/?q=zend_core_oracle_debian_stable_installation

3. check through the install.sh file

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
Pete Randall
Outstanding Contributor

Re: Can't install install.sh

./install.sh: ./php: Execute permission denied.

You're getting permission denied on "./php", not on ./install.sh. The install script apparently executes php from the current directory and it is either not there or the permissions or wrong.

Aside from that, I doubt very highly that you are going to be successful installing software which is not intended for this platform.

And then there's the question of why you're using the bash shell - definitely not recommended for root!!!


Pete

Pete
mwagiru2
Advisor

Re: Can't install install.sh

model
9000/800/rp3440
uname
HP-UX
mwagiru2
Advisor

Re: Can't install install.sh

I've tried locating php, can't find it!!
Is there a php depot ?and where can i get it?
Pete Randall
Outstanding Contributor

Re: Can't install install.sh

Even if you find a php source, it is still highly (99.999%) unlikely that this software that was compiled for use on an X86 based Linux machine is going to work on a PA-RISC based HP-UX box.

You're wasting your time.


Pete

Pete
mwagiru2
Advisor

Re: Can't install install.sh

Enabling Oracle extension
The Oracle extension for PHP currently supports Oracle version 8.1.6.
Oracle 8.1.6 client side libraries are required to use the extension.
In order to enable the extension, perform the following steps:

a) Uncomment the following line in /opt/hpws/apache/conf/php.ini

extension=oci8.sl

This tells PHP to load the Oracle extension on startup.
The 'extension_dir' directive in php.ini file points to the location
where oci8.sl can be found. It is set to the following default value:
/opt/hpws/apache/php/libs/php/extensions/


b) Uncomment and set appropriate values for the following variables in
apachectl:

export ORACLE_HOME = /path/to/oracle-8.1.6/client/side/libraries
export SHLIB_PATH=$SHLIB_PATH:$ORACLE_HOME/lib
export LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl
export ORACLE_SID=ConnectionName

** Note that the LD_PRELOAD variable is only required for PA-RISC systems.

The next section provides additional information on these variables.
mwagiru2
Advisor

Re: Can't install install.sh

...problem solved