Re: [SLE] updating to PHP5



Hi,

I did it just yesterday, because, well, I am need opposite, a PHP4 for old
software, while running PHP 5 for my stuff. I have installed XAMP (which have
bot PHP4 & PHP 5 which can switched with command line)

http://www.apachefriends.org/en/index.html

The problem is::

Running xamp and SuSE apache/PHP simultaneosly is an awkward process to say at
least, even if you specify different ports numbers, because, for example, PHP
module from xamp for whatever reason can connect only to mysql from xamp and
NOT from SuSE.

Anyway, just give a try.


Thanks, Andrei

Hi, Ricardo,

1) ftp://ftp.gwdg.de/linux/suse/projects/apache is an anonymous ftp dir
managed by SuSE staff where you can download latest apache with all
accessories like mod_perl and mod_php. Please note you CANNOT install
php-5.1.x alone, you have to update the rest of apache installation
INCLUDING libapr.

Understood. I'm wondering if installing a new Apache instance could be an
option. I've learnt over the years and the help of many people at Novell
forums not to mess with the default installation but create/install new
instances to have the desired work done. It is a quite simple task to
install/run a second or third Apache instance/server in the same Netware
6.5 box (for instance). I don't know how to do that in a SuSE box yet.

As far as I know, SLES 9 doesn't need PHP for its default configuration.
Thus, it seems possible to remove PHP4, install a new Apache instance, PHP5
and to bind both of them. I'm guessing the problems could arise with
dependencies out of the Apache software and PHP by themselves. You spoke
about that in next point.

Please, have you ever managed to install to Apache instances in the same
SuSE box? Thanks.

2) SLES 9 as far as I know is based on SuSE 9.0. I have looked at the
Apache project dir, and unfortunately, there is NO builds for SuSE 9.0,
the last is 9.3. You can try to install 9.3 rpms on SLES 9 but I am not
sure it will work, they have been (probably, not 100% sure) compiled with
different version of gcc.

So, basically, you have 3 solutions:

1) Build PHP 5 RPMs yourself (I have tried, it was nightmare, with no
result because of too many dependencies).

2) Wait for SLES 10.

3) Use OpenSuSE 10.0 or 10.1RC1. I have no idea what you are looking in
SLES what is not present in OpenSuSE.

I'm running at the moment a couple of OpenSuSE 10.1 beta8 boxes, pending
update to RC1, where PHP 5.1.2 runs without a glitch, the same do the PHP
dependent installed applications: phpMyAdmin and MediaWiki. Moodle is in
its way.

What I'm looking in SLES not present in OpenSuSE is the integration with
commercial Novell packages as eDirectory, eGuide, QuickSearch, Netstorage
or Virtual Office. iFolder is also a must, but as far as I know it has
moved to FOSS. And, perhaps, support. SLES or OES seem our best options at
the moment.

I've spent more than twelve years working with NW servers. And I feel
myself really comfortable with them. But it seems Novell is moving toward
Linux, so do I!

All what I need right now is to run PHP 5.x in a SLES box. It seems it is
not an easy task. I must recognize it is a frustrating situation for me as
far as this same requirement is easily covered with my plain old NW6.5
boxes.

It is surely my lack of skills in this Linux arena what is causing this
mess. Hopefully you or other gays and gals can help me to workaround this
issue. Thanks.

With my best regards,

Ricardo

--
Ricardo Rodríguez
XEN, Resources Management

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • RE: [PHP] Question before upgrading to 5
    ... We only use php for intranet applications I create, ... so the server is basically dead at nights, which is when I do most of my ... so your going to shut down apache on ... install of apache would allow you to do. ...
    (php.general)
  • RE: Problem with apache, php and mysql after FC4 upgrade: SegmentationFault ...
    ... the config options are that php/apache is seeing for php... ... this will install in the default dirs.... ... i'm curious to know if the rpms for php with FC4 are somehow screwed up... ... > Group apache ...
    (Fedora)
  • Re: Can not get Php (4.4 - Windows) configured to open secure URLs (https)
    ... to do something more in php or in Apache httpd.conf? ... To use the CSR and key generation functions from PHP, you will need to install an openssl.cnf file. ... The Windows environment variable OPENSSL_CONF is set to C:\OpenSSL\bin\openssl.cnf (and that is where I have installed OpenSSL. ...
    (comp.lang.php)
  • Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*
    ... Now, i am working on a network management system using php4,mysql and apache, ... so that our form variables could be send to php ... >> Can someone queue me in on what I missed on the MySQL capability install? ... Faculty Of Computer Science, ...
    (Debian-User)
  • Re: php postgres issues
    ... http.config is set up to add the php module ... make install apache13 port ... apache rc script restart ... > presented with a menu to select the options for PHP such as PostgreSQL, GD, ...
    (freebsd-questions)