need help with php.

Odhiambo Washington odhiambo at gmail.com
Wed Oct 20 09:43:08 UTC 2010


On Wed, Oct 20, 2010 at 5:34 AM, Alejandro Imass <ait at p2ee.org> wrote:

> On Mon, Oct 18, 2010 at 11:31 PM, Gary Kline <kline at thought.org> wrote:
> >
> > Ok, I've done everything I can think of and still my php5 fails.
> > Several pages use a php counter [[that I wrote years ago.  That is
> > the main thing that is busted.  Anybody up to helping me with this
> > one?
> >
>
> Did you happen to upgrade to 5.3? It breaks a lot of code that used to
> run finr in 5.2. If you did upgrade, try downgrading to 5.2, it will
> we a pain though, use portmaster if possible IMO.
>

Downgrading from 5.3 to 5.2 wasn't quite a pain, unless I missed something.

1. pkg_delete -f php5-\*
2. rm -rf /usr/local/lib/php/*
3. cp /dev/null /usr/local/etc/php/extensions.ini
4. cd /usr/ports/lang/php52 && make config && make install clean
5. cd /usr/ports/lang/php52-extensions
6. pkgdb -F
7. apachectl configtest
8. /usr/local/etc/rc.d/apache22 stop && /usr/local/etc/rc.d/apache22 start
9. less /var/log/httpd-error.log - check for any clues that apache might be
affected.
10. ps ax | grep httpd



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


More information about the freebsd-questions mailing list