[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] update PHP 4.0.5
- Subject: Re: [cobalt-users] update PHP 4.0.5
- From: johan@xxxxxxxxxxxxxxx
- Date: Tue May 15 23:17:00 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I found this at http://webhostingtalk.com (under the Cobalt forum, thread is
called "PHP update for RaQ 4i" :
>>>>>>>>>>
I use this method on all my servers, in 10 mins you'll have 4.0.5 installed.
tar zxvf php4.0.4pl1.tar.gz
cd php-4.0.4pl1
./configure --with-mysql --with-apxs --with-zlib --with-ftp
make
make install
cd /etc/httpd/conf
pico httpd.conf
## change the loadmodule of php4 to:
LoadModule php4_module /usr/lib/apache/libphp4.so
## it could also be duplicate
## save httpd.conf
/etc/rc.d/init.d/httpd restart
## you can check if it runs through:
## telnet localhost 80
## HEAD / HTTP/1.0
## 2x enter
## read the Server: line.
>>>>
Haven't seen anything on that forum about the --with-mysql problem you've
mentioned below.
Rgrds,
Johan
>
> > Has someone experience with updating PHP 4.0.3pl1 to PHP 4.0.5
>
> Somewhat, but *not* yet on my RaQ3 where PHP is compiled with '--with-apxs'.
> Have to do that over the weekend... Will post my findings, if you're
> interested. I'll do it on a test machine first.
>
> I currently run a few plain RedHat boxen with apache and php compiled from
> source. The latest stable MySQL (3.23.37) is installed via rpm.
>
> I used to configure php with '--with-mysql'. This worked with any php
> version prior to 4.0.5. php 4.0.5 refused to make a MySQL connection when
> configured like that, but there was no error message when configuring! It
> just broke when it seemed to work fine.
>
> I had to do './configure --with-mysql=/usr' to get MySQL connections
> running. I didn't see any mention in the Change Log on php.net or anywhere
> else.
>
---------------------------------------------
This message was sent using M-Web Airmail.
http://airmail.mweb.co.za/