Intstalling PHP 5

0 views
Skip to first unread message

peterjford

unread,
Feb 1, 2007, 7:47:22 PM2/1/07
to OC PHP
I have to install PHP 5 to make some code that the company is already
using work. Our new servers have PHP 4.3.x and apache 2.x. Is there
anything special I have to do about PHP 4 being installed already? I
think the only thing I have to do is remove any references to it in
the httpd.conf file and install PHP 5 and it will be fine, but I don't
want to get any surprises. Also, if I look at the phpinfo() would
that tell me all I have to include when I do the ./configure for PHP
5? I have a bad feeling that they used a bunch of unconventional
libraries and plugins and I am going to have a hard time getting it to
work.

In a semi related question, why would someone use port 9785 for a web
site? An attempt at security?

Peter J. Ford

losthit...@gmail.com

unread,
Feb 2, 2007, 11:20:13 AM2/2/07
to OC PHP
I don't regularly install PHP a bunch of times but documenting the
current state of PHPinfo() would be a good idea before proceeding.
Maybe also backup the php.ini file itself. Especially since you are
skeptical of previous developers. This way you can view any out of the
ordinary configurations done before you proceed. You can change any
extensions not included if you forget during the ./config by editing
the php.ini file. I think just installing PHP5 would set any settings
needed in apache. There might be minimal manual edits of Apache config
such as those listed in link below.

http://us2.php.net/manual/en/install.unix.apache2.php

Never heard of using port 9785. Only port 80 or port 8080. Maybe
someone else knows. Perhaps at the time, something else was on port 80
and they did not know how to remove it from the port ... dunno.

On the topic of PHP installs, Zend released Zend Core Beta 2 (comes
with PHP 5.2rc2) . I did the Windows install to test out. Like the web
interface for admin the PHP install and other parameters. It is free
but unsure if there is a charge down the road for this.

Supported platforms of Zend Core.

* Linux SLES 9 on x86, x86-64
* Linux RHEL 4 on x86, x86-64
* Windows 2000, XP, 2003, Vista

- Show quoted text -

Craig Gardner

unread,
Feb 7, 2007, 9:57:39 PM2/7/07
to peterjford, OC PHP
Try using the yum installer.

yum search php ( will search for php packages)
yum install [package-name] (should be run as root)

man pages will help a lot more though.

Let me know if you have any problems with that and I'll see what I can do to help.
Craig

peterjford

unread,
Feb 13, 2007, 3:26:45 PM2/13/07
to OC PHP
I found and installed 5.0.4. It was the version on our old server and
all of the helper programs were easily available for it. I will
probably upgrade it in the future but for now at least it is working.


Reply all
Reply to author
Forward
0 new messages