1830242 Members
2240 Online
109999 Solutions
New Discussion

PHP-Apache not working

 
Arturo Quesada
Advisor

PHP-Apache not working

Hi:

I have installed Apache 1.3.29, PHP-4.2.2 in HP-UX11.11. They are both installed statically.

All seems right but, when I try browse an .php page it doesn´t show the page. Apache doesn´t recognize PHP

I have copied a php.ini file at lib/php.ini but I don´t know if it is necessary.

8 REPLIES 8
Yogeeraj_1
Honored Contributor

Re: PHP-Apache not working

hi,

you should ensure that your PHP can been configured properly.

see if the attached doc can be any help.

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: PHP-Apache not working

attachment
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Arturo Quesada
Advisor

Re: PHP-Apache not working

Sorry:

I don´t have HP Web Suite. I just have Apache from apache.org and PHP from php.n
David Burgess
Esteemed Contributor

Re: PHP-Apache not working

Hi,

Take a look at httpd.conf and make sure the php references are uncommented. You will need to restart apache if you change the file.

If the php engine is not working your web browser will ask you if you want to save the file rather than display the web page.

When I set up apache and php on Solaris I recall having to compile php and then compile apache referencing the php module that I had built. I couldn't find packages that worked together at the time. Maybe you should look to build it this way.

Take a look at http://www10.brinkster.com/ssruprai/comphp.asp

It's for linux, but the principle will be the same.

Regards,

Dave.
David Burgess
Esteemed Contributor

Re: PHP-Apache not working

Another good site which I tend to use is phpbuilder :-

http://www.phpbuilder.com/manual/install.apache.php

Regards,

Dave.
Arturo Quesada
Advisor

Re: PHP-Apache not working

Hi David:

I think I have done all the things that appear in those documents but I'm still have the same problem.

Thanks
David Burgess
Esteemed Contributor

Re: PHP-Apache not working

Did you recompile? If not was version of the exe you got compiled with php? Where did you get it from?

Regards,

Dave.
Arturo Quesada
Advisor

Re: PHP-Apache not working

Thanks you all:

I've remove all directories and recompiled and it worked.