Forums
This topic is locked
Phakt (andODBC/JDBC) on Linux?
Posted 27 Nov 2001 17:34:05
1
has voted
27 Nov 2001 17:34:05 Robert Fentress posted:
I've gotten Phakt to work on my PC running Apache and mySQL, but this is just a development server. I will eventually need to move stuff onto a Linux server that currently doesn't support ODBC/JDBC. What do I need to do (or rather ask the server administrators to do) to get my php pages developed with Phakt to run on this Linux server? Also, how should I configure things in Ultradev to seamlessly move things from the development to the production server. Any advice or references to informative materials on the web would be greatly appreciated.Thanks,
Rob
Replies
Replied 27 Nov 2001 17:58:13
27 Nov 2001 17:58:13 Tim Green replied:
This is the way that I work most of the time.
All you need to do is to edit your database connections so that your remote server details are the correct ones for your Linux server, and then upload all of the files and folders in your web root to your production server.
If you are using an Access database you will need to have PHP compiled with ODBC, but apart from that most things should work with your host provider as is.
If you do get problems though, it is usually because:-
include_path() in their PHP.ini has been set to something other than the default value.
magic_quotes is turned off
or the Debug settings are set too high, thereby not allowing undeclared variables.
In the majority of cases though, all of these settings are correct.
There will be other possible issues that I have not outlined in this post. However, as this subject has been discussed fairly extensively on this forum, I suggest that you have a look to see what you can find.
All the best
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
All you need to do is to edit your database connections so that your remote server details are the correct ones for your Linux server, and then upload all of the files and folders in your web root to your production server.
If you are using an Access database you will need to have PHP compiled with ODBC, but apart from that most things should work with your host provider as is.
If you do get problems though, it is usually because:-
include_path() in their PHP.ini has been set to something other than the default value.
magic_quotes is turned off
or the Debug settings are set too high, thereby not allowing undeclared variables.
In the majority of cases though, all of these settings are correct.
There will be other possible issues that I have not outlined in this post. However, as this subject has been discussed fairly extensively on this forum, I suggest that you have a look to see what you can find.
All the best
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 27 Nov 2001 22:10:04
27 Nov 2001 22:10:04 Robert Fentress replied:
Thanks for the quick reply. I thought the server accessed the database through ODBC and thus that ODBC had to be installed on the server. I didn't realize that ODBC was only used on the client side. Seems to work now. Thanks a lot!
Rob
Rob
Replied 28 Nov 2001 17:42:13
28 Nov 2001 17:42:13 Tim Green replied:
Always a pleasure <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>