Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: chrislaurie on May 09, 2006, 10:43:59 PM

Title: php misses interbase support.
Post by: chrislaurie on May 09, 2006, 10:43:59 PM
I'm trying to install the ibwebadmin package http://www.ibwebadmin.net/ and I'm getting the following error:

Your php installation misses the interbase support!
Recompile php and configure --with-interbase[=DIR]
or edit your php.ini to load interbase.so respectively interbase.dll.

Is it possible to add this support to php and if so how? I'm weary of creating my own version of SME just fo this.
Title: php misses interbase support.
Post by: chrislaurie on May 11, 2006, 10:36:59 PM
It looks easy:

Since many distributions do not compile InterBase support into php, it's a good idea to check out how to achieve this. If you do not have the php sources, get them here. Untar them in your prefered sources location and configure them like this:
./configure --with-interbase=/opt/interbase --with-apxs
Make sure you give the right InterBase root directory as option. (/opt/interbase here)
Then issue:

make
make install

When installing is finished, open the php.ini configuration file (located in /usr/local/lib/), and check if these lines exist (uncomment/modify them if necessary):

magic_quotes_sybase = On   ; Use Sybase-style magic quotes (escape ' with '' instead of \')
extension=php_interbase.so

Is it possible to convince the SME devs to make this change?
Title: php misses interbase support.
Post by: MSmith on May 12, 2006, 05:04:52 AM
You can go to the Bug Tracker and log this as a feature request.  Or you can just install CentOS and do your "make install".
Title: What will this do for me?
Post by: Agent86 on May 13, 2006, 02:34:43 AM
What will this do for me?

I'm having trouble with my SME server www.foolishlys.com

I'm told by serveral people that for some reason the ftp portion of the server for allowing the php script to set permissions for some folder is not working correctly for some reason.

Here is the topic:
It's an aution site, and when a new user registers and logs in to add a new listing
I appears to complete the task, however no new item was listed.
For example:
add new listing to computers(0) and complete the task
auction now shows computers(1) indicating there was a new item listed in that category.
However when navigating to that category there is no new item to view.

I'm told this is somthing to do with the ftp permission or something, for some reason it's not letting the php script create a folder and give it permissions etc.

Thats what I'm told anyhow by serveral who have evaluated the problem

This script is generic and works on mostly all Linux/Unix and Windows server as reported by many.

What would be different in SME is there something I can change to make this script work.

Please advise
Thanks

Please register with the site and attempt to add a listing you will see what I mean, and fyi the html editor protion in the add listing section only works with IE so you must use IE to add a listing, I'll work on this part some other time, but for now I just want to get the script working as it was intended and designed to do.

Just as a quick note: this script is generic and works perfectly on almost all servers reported, so there must be something holding it back

Is what you are talking about here a possible fix or is this not related to my topic at hand ????

Please advise thanks