Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to install PHP4 1

Status
Not open for further replies.
Jun 14, 1999
606
US
Is there a way on the IBM HTTP Server (powered by Apache).
I hope it works...
Unix was made by and for smart people.
 
Hello,
There is thread on this forum that list url to download the IBM's version of apache server.
 
I know, thanks... but I need PHP on it.

I have AIX 5.1L and installed IBM HTTP Server (Apache) 1.3.19 from IBM CDs, downloaded PHP 4 from BullFreeware.com and tried to install it to run on Apache, but my syntax on httpd.conf is not accepted by apachectl configtest.

TIA
I hope it works...
Unix was made by and for smart people.
 
Unix was made by and for smart people.

Well what is php.

2) if the one piece of code is tested and supported by big company and
3) other piece of code is freeware (who in the world) is going to test and support it.

I guess you guys will be doing that work.

may be try to do is remove ibm apache code and install everything freeware and it may work.
 
Thanks for your reply.

I´ve tried to install Apache and PHP -latest version at 2002-10-29- but no way... it doesn't accept my syntax for PHP Module. Any ideas?

I hope it works...
Unix was made by and for smart people.
 
Hi

I tried with IBM Http server and ended up with the problem, then uninstalled it. Then unzipped untarred this apache_1.3.12.tar.gz.

1. cd apache-1.13
2. ./configure
3.cd ..
4. Decompress the php4 (get it from 4. cd php4-4.2.2
5. ./configure (You can (de)select the separate modules if you want, like ./configure --without-mysql --with-apache=../apache-1.3
6. make
7. make install
8. Go back to Apache dir (cd ../apache-1.3)
9. ./configure --prefix=/10. make
11. make install
12. cp ../php-4.2.2/php-ini-dist /usr/local/lib/php-ini (edit to your wish)
13. setup /14. search and uncomment

"AddType application/x-httpd -php .php (note the .php)
15. Search Directory Index and add index.php
16. start apache ...apachectl start
17. to check the ph
18. create a file under / and append the following line
<? phpinfo ()? >
19. save it and give read permission.
20. in the browser type and there you are

JSiva Om Maha Ganapathiye Namaga!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top