[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Qube3-All-Security-4.0.1-15959.pkg



>Hi Guys,
>
>I've installed this update on two machines and now PHP doesn't appear to be
>happy talking to mySQL.  The application I have installed which uses PHP and
>mySQL is phpBB.
>
>I have not installed any updates to PHP, just left it as Sun installed it so
>the Sun update should be updating what was originally there.
>
>I had installed a newer version of mySQL from packagemaster some time ago,
>but this update doesn't mention doing anything to mySQL so I didn't expect
>any problems.
>
>MySQL appears to be operational, but suddenly phpBB can't access its
>database.


Are php scripts working at all?

I can't swear to it being related, as I installed a number of patches at the same time as 15959.pkg, but I had PHP quit working completely (install a simply php script which just prints hello world, or phpinfo() or something to check.

As I said, php quit working after the installation of this pkg, but I tracked it down to srm.conf being altered - the lines

AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
#AddType application/x-httpd-php4 .php3
#AddType application/x-httpd-php4 .php4
#AddType application/x-httpd-php4 .php
#AddType application/x-httpd-php4-source .php4s
#AddType application/x-httpd-php4-source .php3s
#AddType application/x-httpd-php4-source .phps

had all disappeared from srm.conf - they should have been just under the comment line:

# PHP4 (backwards compatible with php3)

but they had magically vanished.  I reinstated them, restarted apache:

/etc/rc.d/init.d/httpd restart

and php was functional again.

hth

Greg Hewitt-Long

>
>Anyone else experienced similar problems?
>
>Everything else appears to be ok after Qube3-All-Security-4.0.1-15959.pkg.
>
>Cheers,  Malcolm
>
-- 
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970) 266-0195   FAX: (970) 266-0158