Ir al contenido principal.
Enlaces relacionados:  Press Room  Company  Clients  Contact us
Solsoft

Forum

Working with PHP Openisis


Author Message
Written on: 18. 01. 2005 [00:12]
shilpa_deodhar31@yahoo.com
Shilpa Deodhar
Topic creator
registered since: 31.12.1969
Posts: 0
Hi,

I m working on a website with CDS/ISIS backend
database and PHP on Linux. This has to be done using
Openisis. What u need and what works fine is

PHP version 4.0 and above (I have used PHP-4.2.2-17)
PHP-devel version 4.2.2-17.7.legacy (download rpm)
Openisis version 0.8.8 at
http://openisis.org/Doc/GetIt
PHP OpenIsis at http://solsoft.co.cr/descargas.html
CDS sample database at http://openisis.org/Doc/GetIt

I had many problems installing all these and didnt
knew which versions of each one to install and will
work, Braulio has helped me a lot doing that, thanks
to him. Given above are the correct working versions.

Now lets go installing step by step

1. Extract Openisis0.8.8 tar in a newly created
openisis directory.

2. Extract the sample cds database tar in the openisis
direstory.

3. Extract PHP Openisis tar in the openisis directory.

4. Now installing Openisis also be found at
"installation" at www.openisis.org but still I m
giving properly here.

5. Go to openisis directory, say "make"

6. As given in the manual the next step "make demo"
will not do anything. Forget abt it.

7. Say "make run" and u will see the contents of the
sample cds database.

8. Say "make test" and 2 output files will be created
- testout and textres

9. Now ur Openisis0.8.8 installation is complete

10. Now to install PHP Openisis - the INSTALL file can
be found in the /openisis/PHP OpenIsis directory where
PHP OpenIsis tar is extracted. But it has some errors.

11. Go to openisis directory, say "make shared"

12. This will create 2 files, libopenisis.so and
openisis.h

13. Say "cp sto/libopenisis.so /usr/lib" and
"cp openisis.h /usr/include"

14. Go to PHP Openisis directory in the openisis
directory.

15. Say "./compile". If php devel is not installed ,
"./compile" will give a message saying "You must
install php first. Make sure that phpize file is in
/usr/bin". Download the php-devel rpm package and
install it. If it is installed, "./compile" works fine
except some warnings which I got.

16. Edit php.ini which will be in /etc.

17. Set extension_dir = /usr/lib/php4 where isis.so is
found(I think it is already set to it)

18. In the list of extension = entries below add
extension=isis.so

19. Add below
[Isis]
isis.default_dir = /your/isis/db/default/dir
isis.default_database =
some_default_db_with_or_without_path

20. Save php.ini

21. Stop and restart the httpd service

22. Empty all the cache

23. Run a simple php script file calling the phpinfo()
function.

24. You hope to see the isis extension in the output
of phpinfo(). It also shows the OpenIsis library
support (http://www.openisis.org) enabled and the
default directory and the default database specified
in the php.ini file.


25. Congrats!!! You have successfully installed PHP
Openisis and now start with ur work!!! Any queries are
welcome, I will help to what I can.

ALL THE BEST!!!!

Regards
Shilpa







__________________________________
Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com

------------------------------------------
Posted to Phorum via PhorumMail
Written on: 18. 01. 2005 [12:18]
braulio
Braulio Solano Rojas
registered since: 16.05.2008
Posts: 2
Hi!

Thank you very much for doing this Shilpa.

There was once a Wiki at http://wiki.openisis.org/i/view/Php/WebHome, but I
think it is not working anymore. icon_frown.gif

I also have some stuff at http://solsoft.co.cr/openisis/, but it is in
Spanish. I will try to put there what you did.

Best regards,

B.

----- Original Message -----
From: "Shilpa Deodhar" <shilpa_deodhar31@yahoo.com>
To: "PHP-OpenIsis" <php@OpenIsis.org>; <shilpa_deodhar31@yahoo.com>
Sent: Monday, January 17, 2005 11:12 PM
Subject: Working with PHP Openisis


> Hi,
>
> I m working on a website with CDS/ISIS backend
> database and PHP on Linux. This has to be done using
> Openisis. What u need and what works fine is
>
> PHP version 4.0 and above (I have used PHP-4.2.2-17)
> PHP-devel version 4.2.2-17.7.legacy (download rpm)
> Openisis version 0.8.8 at
> http://openisis.org/Doc/GetIt
> PHP OpenIsis at http://solsoft.co.cr/descargas.html
> CDS sample database at http://openisis.org/Doc/GetIt
>
> I had many problems installing all these and didnt
> knew which versions of each one to install and will
> work, Braulio has helped me a lot doing that, thanks
> to him. Given above are the correct working versions.
>
> Now lets go installing step by step
>
> 1. Extract Openisis0.8.8 tar in a newly created
> openisis directory.
>
> 2. Extract the sample cds database tar in the openisis
> direstory.
>
> 3. Extract PHP Openisis tar in the openisis directory.
>
> 4. Now installing Openisis also be found at
> "installation" at www.openisis.org but still I m
> giving properly here.
>
> 5. Go to openisis directory, say "make"
>
> 6. As given in the manual the next step "make demo"
> will not do anything. Forget abt it.
>
> 7. Say "make run" and u will see the contents of the
> sample cds database.
>
> 8. Say "make test" and 2 output files will be created
> - testout and textres
>
> 9. Now ur Openisis0.8.8 installation is complete
>
> 10. Now to install PHP Openisis - the INSTALL file can
> be found in the /openisis/PHP OpenIsis directory where
> PHP OpenIsis tar is extracted. But it has some errors.
>
> 11. Go to openisis directory, say "make shared"
>
> 12. This will create 2 files, libopenisis.so and
> openisis.h
>
> 13. Say "cp sto/libopenisis.so /usr/lib" and
> "cp openisis.h /usr/include"
>
> 14. Go to PHP Openisis directory in the openisis
> directory.
>
> 15. Say "./compile". If php devel is not installed ,
> "./compile" will give a message saying "You must
> install php first. Make sure that phpize file is in
> /usr/bin". Download the php-devel rpm package and
> install it. If it is installed, "./compile" works fine
> except some warnings which I got.
>
> 16. Edit php.ini which will be in /etc.
>
> 17. Set extension_dir = /usr/lib/php4 where isis.so is
> found(I think it is already set to it)
>
> 18. In the list of extension = entries below add
> extension=isis.so
>
> 19. Add below
> [Isis]
> isis.default_dir = /your/isis/db/default/dir
> isis.default_database =
> some_default_db_with_or_without_path
>
> 20. Save php.ini
>
> 21. Stop and restart the httpd service
>
> 22. Empty all the cache
>
> 23. Run a simple php script file calling the phpinfo()
> function.
>
> 24. You hope to see the isis extension in the output
> of phpinfo(). It also shows the OpenIsis library
> support (http://www.openisis.org) enabled and the
> default directory and the default database specified
> in the php.ini file.
>
>
> 25. Congrats!!! You have successfully installed PHP
> Openisis and now start with ur work!!! Any queries are
> welcome, I will help to what I can.
>
> ALL THE BEST!!!!
>
> Regards
> Shilpa
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page - Try My Yahoo!
> http://my.yahoo.com
>

------------------------------------------
Posted to Phorum via PhorumMail
Written on: 18. 01. 2005 [12:36]
paul@malete.org
Klaus Ripke
registered since: 31.12.1969
Posts: 0
Hi

On Tuesday 18 January 2005 18:18, Braulio Jos=E9 Solano Rojas wrote:
> There was once a Wiki at http://wiki.openisis.org/i/view/Php/WebHome, b=
ut I
> think it is not working anymore. icon_frown.gif
had to take it off the net when severe security holes where found in TWik=
i
(and I found even attacks in the logs)

Well, actually the bug found is not hard to fix ...
anyway, it exposed such poor programming practice
(not properly passing args to external programs)
that there are probably more and
just one more time this tought me to basically
do everything myself if I want it done right.

That's why we are working on a malete+lua based Wiki icon_smile.gif


--
"Es gibt nichts gutes, ausser man tut es".
(there is nothing good unless you do it)
Erich K=E4stner

------------------------------------------
Posted to Phorum via PhorumMail



Forgot your password?

Please enter your username or email address. Instructions for resetting the password will be immediately emailed to you.
Reset Password

Return to login form 


Copyright © 2003-2009, Solsoft de Costa Rica S.A.
Declaración de privacidad