Operating System - HP-UX
1829161 Members
11275 Online
109986 Solutions
New Discussion

Compiling problems on PHP installation

 
Knud
Occasional Advisor

Compiling problems on PHP installation

Hello,
I have a problem on PHP installation.
I followed the manual here http://www.php.net/manual/en/install.unix.php#install.unix.apache but I did only the PHP steps, because apache is still on the machine.
It works all fine, untill this happens:

# make
Make: No arguments or description file. Stop.
# make install
Make: Don't know how to make install. Stop.

"make" is the step for compiling the source, isn't it?
I installed a newer version of gcc via swinstall, but there was the same error on "make".

Is there a step I did wrong or did I forget something?

Thanks for your help.
2 REPLIES 2
Kasper Hedensted
Trusted Contributor

Re: Compiling problems on PHP installation

Hi Knud,

Did you remember to run the ./configure command ?

Cheers,
Muthukumar_5
Honored Contributor

Re: Compiling problems on PHP installation

As said before, you have not configured php with configure script there in source directory. There is a file called INSTALL will be available to give more information about installation.

You can very well know about configuration information as, ./configure --help | more. Any opensource product, there will be a default installation step as,

1. ./configure (will create makefile)
2. make

3. make install

hth.
Easy to suggest when don't know about the problem!