[mapserver-users] FW: FGS Linux - PHP question

Chris Green chris.green at ibstv.co.uk
Mon Jan 10 13:34:02 EST 2011


Dear Mapserver users,

 

I sent the following to the foss-gis forum this morning, but got no
response. I'm wondering if any of you Mapserver experts can help me out with
this problem?

 

Earlier today I tried to re-install PHP, leaving the other FGS components
intact. I did this after unzipping PHP 5.2.17 and using the command:

 

# ./configure --with-apxs=/opt/fgs/www/bin/apxs --with-mysql 

 

 

However I get the error message:

 

"sorry I was unable to successfully run APXS. Possible reasons:

 

1. Perl is not installed;

2. Apache was not compiled with DSO support;

3. 'apxs' is not in your path"

 

So I failed to upgrade PHP (for mysql support), and I can't see why. Nor I
can find out if re-installing the whole FGS package gives me the option of
enabling mysql on the PHP component. As you may realise I am still learning
about Linux!

 

Can anyone help? In the end all I need is what I have already (FGS 5.4.0)
but with PHP enabled for mysql.

 

 

Chris

 

 

From: Chris Green [mailto:chris.green at ibstv.co.uk] 
Sent: 10 January 2011 06:38
To: 'foss-gis-suite at lists.maptools.org'
Subject: FGS Linux - PHP question

 

Hi list

 

I installed FGS Linux installer version 5.4.0 beta 4 in June 2010. It has
been working fine since then but now I am in the process of upgrading my web
site to incorporate a MySQL database and I encountered a PHP problem that I
am not sure of the best way to fix. The PHP version that came with FGS is
5.2.5 and by using info.php I can see that it is not configured to support
MySQL. 

 

As I see it my choices are:

 

1.       Upgrade the existing PHP 5.2.5 to incorporate MySQL support

2.       Re-install FGS using the current version, which I see incorporates
PHP base 5.2.9 (I assume this is configured to support MySQL???)

 

Maybe there are other options, but being fairly inexperienced in Linux I am
looking for the easiest method with least disruption to the existing
website. Can anyone offer me any advice?  

 

Chris Green

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110110/a7e3eb48/attachment.html


More information about the mapserver-users mailing list