Compile Apache2, PHP5 and mysql 4.1 with altered settings

Hi Fellow mac users!
I would liek to install those environments on my new MBP 17", like I used to be with my own written compile scripts on my linux boxes. Is this possible?
If some are there some issues I must be aware of? Found nothing relevant from my friend Google, only bumped to the MAMP installations. Any help would be appreciated and feedback will alse be provide from my side just to provide info to others.
TIA
RoZeeL

The hardest part is getting the software to install on top of the Apple versions instead of some default install location like /usr/local. Your best bet is to download the packages from Apple at:http://developer.apple.com/opensource/index.html
In theory, when you build and install these packages, they should get squirrelled into the correct locations.
You might also want to look at MAMP: http://www.mamp.info/

Similar Messages

  • PHP5 and MySQL 5 Compatibility

    I host my websites on a reseller account for a webhost that is about to upgrade their server technology to PHP5 and MySQL 5. Both PHP and MySQL is now at version 4."something." :-) My question is this, I have websites that were built using MX Kollection Pro 3.7.1 and ADDT 1.0. Has anyone came across any compatibility issues with using PHP5 and MySQL 5. At this point, I don't think I will have issues using PHP5 - but not sure. But the MySQL 5 is uncharted territory for me.
    I really don't want to have a website that will not function properly due to the upgrade. I hope someone has come across using those technologies, so let me know if you have had any problems. I exclusively use ADDT for my new websites. MX Kollection is for managing my older websites. I only use the PHP/MySQL combination for my websites.
    Also, to write my database tables, I use PhpMyAdmin to create the tables. It is easy for me to login to my hosting account and use that program to write my tables. I then used Kollection or ADDT to write the scripts as far joining tables and stuff like that.

    Thank you! I have sites hosted on two different accounts. Most on a multi account that allows me to host other domains and a "real" reseller account. Once the reseller account makes the change and everything still looks right, I will then cancel my multi account but not before migrating everything to the reseller account. I was scared that my websites would not work and was at a standstill on what I should do next. Thanks for the info!

  • Apache2/php5.2/mysql for Drupal

    Hello,
    there is a little bit here and there about the topics in the subject but it seems that that triplet is enough important to deserve special attention in its own topic.
    Basic questions:
    I am assuming that everything can practically be done using the command line. Am I wrong?
    How do I get rid of the original apache2 (or any other application) installation? What is the directory structure of a "Mac" and why is it not posted somewhere on the Apple's website?
    Does anybody know why the GD image module is not available in the php that comes out the Apple Mac pro Box? What is the rational part of it?
    Specific questions:
    How do I install apache2? Is this enough?
    extract it somewhere (/usr/local/src/)
    then:
    sudo ./configure --enable-layout=Darwin --enable-mods-shared=all
    sudo make
    sudo make install
    Is the Darwin layout suppose to rewrite the "house" settings? I does not seem like it!
    How do I install mysql? Is this correct?
    Install the binaries from mysql.com and then
    Install mysql libraries for php
    http://support.apple.com/kb/TA25017
    How do I remove the original php?
    Should php-5.2.6 have GD support already installed?
    I hope that somebody out there knows this stuff because apple is giving me too much trouble.
    Thanks a lot
    Daniele

    leopard server is a lot more secure and easier to manage a large group, if that's what it is for.
    I don't exactly know what you are trying to accomplish, but if it is going to see any serious
    server usage to a bunch of students and the internet, then Leo server would be the logical
    choice. If its just for a temporary small project, then that may be a different story.
    As cheap as hosting is right now, if it is a temporary project. just host it somewhere.
    Kj

  • Issue with Visibility Settings for Backgrounds and Layers

    I am using Acrobat Pro XI 11.0.10 (Windows) and having an issue with visibility settings for layers and backgrounds. I am attempting to get backgrounds to appear while viewing in Adobe Reader and Acrobat Pro but not be printed and so far have had no success.
    When using a background the Appearance Options dialogue has "Show when printing" unchecked, but "Show when displaying on screen" is checked. This results in the background not showing on the screen, and the background will only appear once the box for "Show when printing" is checked. It looks like the option for printing is dictating whether or not the background is able to appear.
    Using layers has not worked either. The background layer is set to "Never Prints", but will still show up when printed.
    I was wondering if anyone else has run into this and has a solution, or has any recommendations.
    Thanks in advance.

    Hi setrev2012,
    How are you adding the backgroud?
    The only way I can think to accomplish this is via a watermark.
    The basics...
    Open PDF in Acrobat. Choose Pages > Watermark > Add Watermark.
    Select a jpg or PDF of your background and adjust scaling options as desired.
    Then click the Appearance Options.. and uncheck the Show When Printing option.
    In this image the PDF is a blank page with the word "Test" on it. The watermark is the stamp and impression (a stock photo jpg).
    If you want a solid color background, just create a flat image of the background color for use as the watermark.
    If you have already followed the steps and still facing the issue then please share the file with me at [email protected] so that i can have a look.
    Regards,
    Rave

  • Print out lists of formats with their settings

    I would like the ability to print out a complete list of paragraph, character, table, and cross-reference formats (with their settings) for inclusion in a local style guide.

    Julee,
    Those files were .zip files wrapped in 7zip wrappers - very strange. Any way, I've attached the MIF_munch here in a single .zip file.
    Note: the file is named Mif_munch.zip.txt to fool the upload file type restrictions. Just delete the .txt extension and unzip.
    It might take a few hours or so to clear the scanning queue.

  • Php5.2.5 not working with apache2.2.8 on solaris 9

    <html
    <body lang=EN-US style='tab-interval:.5in'>
    <div class=Section1>
    <p class=MsoNormal><span class=GramE>hi !</span><o:p></o:p></p>
    <p class=MsoNormal>I have compiled (without any problems) PHP5.2.5 AND
    apache2.2.8 with oci8 support, and apache shows the php5 module loaded but for
    some reason my <span class=SpellE>php</span> pages are not showing up , can you
    see what I am missing ? <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>thanks</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>all</span> below is done as root<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>1) <span class=GramE>compile</span> apache2<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span> /opt/<span
    class=SpellE>staging_apache</span><o:p></o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>untar</span></span>
    http_2.2.80.tar<o:p></o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span>
    /opt/staging_apache/http_2.2.80<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>./</span>configure --prefix=/<span
    class=SpellE>usr</span>/local/apache --enable-module=so<span
    style='mso-spacerun:yes'>    </span>&lt;&lt;&lt; no errors<span
    style='mso-spacerun:yes'>  </span>here <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span> <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span> install<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>2) <span class=GramE>compile</span> php5<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span> /opt/<span
    class=SpellE>staging_php</span><o:p></o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>untar</span></span>
    php-5.2.5.tar<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span>
    /opt/staging_php/php-5.2.5<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>-- define the following <span class=SpellE>logicals</span>. <o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>       </span><o:p></o:p></p>
    <p class=MsoNormal>ORACLE_HOME=/u03/oracle/10203<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> ORACLE_HOME<o:p></o:p></p>
    <p class=MsoNormal>LIBPATH=$LIBPATH<span class=GramE>:$</span>ORACLE_HOME/lib<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> LIBPATH<o:p></o:p></p>
    <p class=MsoNormal>LD_LIBRARY_PATH=$ORACLE_HOME/<span class=SpellE>lib<span
    class=GramE>:$</span>ORACLE_HOME/rdbms/lib</span><o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> LD_LIBRARY_PATH<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Invoking <span class=GramE>configure</span>:<o:p></o:p></p>
    <p class=MsoNormal>-------------------<o:p></o:p></p>
    <p class=MsoNormal>CFLAGS=&quot;$CFLAGS -DHAVE_LONG_LONG&quot;<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> CFLAGS<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>./</span>configure<span
    style='mso-spacerun:yes'>  </span>\<o:p></o:p></p>
    <p class=MsoNormal>--with-apxs2=/<span class=SpellE>usr/local/apache/bin/apxs</span>
    \<o:p></o:p></p>
    <p class=MsoNormal>--with-<span class=SpellE>ldap</span> \<o:p></o:p></p>
    <p class=MsoNormal>--with-oracle=/u03/oracle/10203 \<o:p></o:p></p>
    <p class=MsoNormal>--with-oci8=/u03/oracle/10203 \<o:p></o:p></p>
    <p class=MsoNormal>--with-<span class=SpellE>config</span>-file-path=/<span
    class=SpellE>usr/local/apache/php</span> \<o:p></o:p></p>
    <p class=MsoNormal>--prefix=/<span class=SpellE>usr/local/apache/php</span> \<o:p></o:p></p>
    <p class=MsoNormal>--without-<span class=SpellE>mysql</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Thank you for using PHP.<span style='mso-spacerun:yes'>    
    </span>&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; <span
    class=SpellE><span class=GramE>php</span></span> compiled fine <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Notice: Following unknown configure options were used:<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>--with-oracle=/u03/oracle/10203<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Check '<span class=GramE>./</span>configure --help' for available
    options<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span> install<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE># ./</span><span class=SpellE>httpd</span>
    -l<o:p></o:p></p>
    <p class=MsoNormal>Compiled in modules:<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>core.c</span><o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>prefork.c</span><o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>http_core.c</span><o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>mod_so.c</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>-- <span class=GramE>in</span> case of error otherwise not
    needed.<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal># <span class=SpellE><span class=GramE>httpd</span></span>
    -M<o:p></o:p></p>
    <p class=MsoNormal>Loaded Modules:<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>core_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authn_file_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authn_default_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_host_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_groupfile_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_user_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_default_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>auth_basic_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>include_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>filter_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>log_config_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>env_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>setenvif_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>mpm_prefork_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>http_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>mime_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>status_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>autoindex_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>asis_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>cgi_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>negotiation_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>dir_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>actions_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>userdir_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>alias_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>so_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span>php5_module
    (shared)<span style='mso-spacerun:yes'>  
    </span>&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;
    php5 module is loaded<o:p></o:p></p>
    <p class=MsoNormal>Syntax OK<o:p></o:p></p>
    <p class=MsoNormal># <span class=GramE>which</span> <span class=SpellE>httpd</span><o:p></o:p></p>
    <p class=MsoNormal>/<span class=SpellE>usr/local/apache/bin/httpd</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>&lt;<span class=GramE>html</span>&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;<span class=GramE>head</span>&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;<span
    class=GramE>title&gt;</span>PHP Test&lt;/title&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;<span
    class=GramE>meta</span> http-equiv=&quot;Content-Type&quot;
    content=&quot;text/html; <span class=SpellE>charset</span>=ISO-8859-1&quot;&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;/head&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;<span class=GramE>body</span>&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;h1&gt;PHP
    Test&lt;/h1&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;p&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;b&gt;An
    Example of PHP in Action&lt;/b&gt;&lt;<span class=SpellE>br</span> /&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:2'>                        </span><span
    class=GramE>&lt;?<span class=SpellE>php</span></span> echo &quot;The Current
    Date and Time is: &lt;<span class=SpellE>br</span>&gt;&quot;;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:3'>                                    </span><span
    class=GramE>echo</span> date(&quot;<span class=SpellE>g:i</span> A l, F j
    Y.&quot;);?&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;/p&gt;<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;h2&gt;PHP
    Information&lt;/h2&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;p&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:2'>                        </span><span
    class=GramE>&lt;?<span class=SpellE>php</span></span> <span class=SpellE>phpinfo</span>();
    ?&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;/p&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;/body&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;/html&gt;<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>does</span> not give the <span
    class=SpellE>phpinfo</span> page.</p>
    </div>
    </body>
    </html>

    hi I got the php working and now can see the php pages, after i put the extensions=oci8.so .
    but the oci8 is not enabled still cause phpinfo is not showing it and i cant use oci8 calls and get an error.
    so iam trying to recompile apache with openssl and other options but its failing .
    its looking for files in /opt/apache2 directory where as I am installing it in /usr/local/apache .
    Making all in prefork
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_compat.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_config_auto.h: No such fil
    e or directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_config.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_config_layout.h: No such f
    ile or directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_listen.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_mmn.h: No such file or dir
    ectory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_mpm.h: No such file or dir
    ectory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_provider.h: No such file o
    r directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_regex.h: No such file or d
    irectory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_regkey.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_release.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/http_config.h: No such file o
    r directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/http_connection.h: No such fi
    le or directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/http_core.h: No such file or
    directory

  • Tora pkgbuild: oracle tool with postgresql and mysql support

    Tora is a tool for oracle databases with some support for postgresql and mysql.
    tora PKGBUILD
    pkgname=tora-alpha
    pkgver=1.3.14.1
    pkgrel=1
    pkgdesc="Qt toolkit originally for Oracle databases administration with some support for Postgresql and Mysql"
    url="http://www.globecom.net/tora/"
    depends=('qt')
    makedepends=('perl')
    conflicts=('tora')
    source=(http://dl.sourceforge.net/tora/${pkgname}-${pkgver}.tar.gz)
    md5sums=('5560b5104438e1b71bd89386d0fcdc00')
    build() {
    cd $startdir/src/tora-$pkgver
    ./configure --prefix=/usr
    --without-kde
    --without-oracle
    --without-rpath
    make || return 1
    make ROOT=$startdir/pkg install
    I'm posting this pkgbuild only for testing/research.
    Fist, it's alpha (aka devel) version but stable release does not want to easly compile on my machine and it's too old IMO.
    As you can see it can be built without the need for kde (good news for other WMs/DEs users).
    The funny thing is that I built it without support for... oracle :-) That's because it needs lots of oracle stuff installed and I don't have it. If someone has, he can build a static version of oracle support (if you do please post some info here if it works, etc.).
    The postgresql/mysql support depends on the qt package configuration. Current qt arch package does not inlcude postgresql/mysql plugin support. The next qt release will have mysql support at least (http://bugs.archlinux.org/index.php?do=details&id=1040, http://bugs.archlinux.org/index.php?do=details&id=1166) and I have made a feature reqest for postgresql http://bugs.archlinux.org/index.php?do=details&id=1244.
    I'm still not 100% sure if postgresql and mysql should/shouldn't be put in makedepends (according to the docs and mailinglists it's not needed). I'll check that again when new qt release will be available.
    In other words in such configuration and present qt version this application is pretty useless :-) (though it can be run). But I'm posting this pkgbuild for the others (if someone needs to test it or tries to build it, etc.). I'm sure tora will soon be more attractive especially for someone using oracle databases.

    This won't work using a newer oracle instant client version though, since the pathes won't be set correct.
    The Project TOra won't use automake, since the author refuses doing so.
    Probably it would be a larger patching work to get it working with instantclient_10_2 (the current release version from Oracle).
    Why so?
    It seems as if the include pathes for the oracle client won't be set correclty, since TOra seems to expect a full oracle product installation.
    The configure does not accept a --with-oracle-includes or --with-oracle-libs option any longer (in 1.3.21 it did). Therefore, TOra won't find in example oci.h, since it's not in any include directory known.
    Also, some other files are not in the path TOra expects them to be.
    Without the possibility of passing by configure options handling this, i guess it won't be possible to get this TOra version running with the current instantclient.
    // STi

  • I have install wamp server one my first laptop and and i access data with my second laptop. i have connected both pc's with internet wire but it show some error"enable to connect mysql server " plz help me

    string wire = " Persist Security Info=False; server=xain; port=3307; database=test;username=root;password=";
    string query = "insert into test.server_base values('" + textBox1.Text + "', '" + textBox2.Text + "')";
    MySqlConnection condatabase = new MySqlConnection(wire);
    MySqlCommand cmd = new MySqlCommand(query, condatabase);
    MySqlDataReader myreader;
    try
    condatabase.Open();
    myreader = cmd.ExecuteReader();
    MessageBox.Show("Good");
    condatabase.Close();
    catch (Exception xe)
    MessageBox.Show(xe.Message,"na g na");
    /*server=xain is a server name assing in which database is install */

    Hi sohail.
    As you title mentioned wamp server, for WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. This is third-party software. I
    am afraid this is out of our support.  I would suggest you to ask in their
    official forum. Thanks for your understanding.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with BigInteger and MySql

    Hi !!
    I've a problem with BigInteger and MySql.
    I've a BigInteger object (suppose that value is 0.02270412445068359375).
    I must store that value in a database (MySql).
    The value of BigInteger object must be stored in a column of type Decimal.
    Stored value is 0.022704124450683594. Why ??
    My target is to store 0.02270412445068359375
    Can anyone help me?
    Thanks.

    Hi !!
    I've a problem with BigInteger and MySql.
    I've a BigInteger object (suppose that value is
    0.02270412445068359375).
    I must store that value in a database (MySql).
    The value of BigInteger object must be stored in a
    column of type Decimal.if this is the case I fear you are SOL. a decimal is the same size as a double but with a fixed max number of decimal places. if it isn't big enough then you have no real choice other than to VARCHAR it.
    Stored value is 0.022704124450683594. Why ??
    My target is to store 0.02270412445068359375
    Can anyone help me?
    Thanks.

  • Connection issue on 32 bit Linux OBIEE with Postgres and Mysql

    I am having trouble running reports on 32 bit Linux OBIEE version 10.1.3.4.0 and 10.1.3.4.1 with Postgres or Mysql as data source . I can connect to same data source (postgres and Mysql) from presentation services on windows box and also run queries from nqcmd using 32 bit linux ODBC driver on linux box running OBIEE server. I turned on odbc trace and I see following failures from Postgres and Mysql.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12010] Communication error connecting to remote end point: address = ; port = 9703. (HY000)
    SQL Issued: SELECT test_obiee.c1 saw_0 FROM test_Postgre30 ORDER BY saw_0
    Mysql odbc trace file :
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLSetConnectOption
    HDBC 0x08d4f170
    UWORD 1042
    UDWORD 4079342863
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x08d4f170
    UWORD 1042
    UDWORD 4079342863
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLErrorW
    HENV 0x00000000
    HDBC 0x08d4f170
    HSTMT 0x00000000
    WCHAR * 0xf4c1e140 (NYI)
    SDWORD * 0xf4c1e1a8
    WCHAR * 0xf4c1dd40
    SWORD 1022
    SWORD * 0xf4c1e1ae
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
    HENV 0x00000000
    HDBC 0x08d4f170
    HSTMT 0x00000000
    WCHAR * 0xf4c1e140 (NYI)
    SDWORD * 0xf4c1e1a8
    WCHAR * 0xf4c1dd40
    SWORD 1022
    SWORD * 0xf4c1e1ae
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLFreeConnect
    HDBC 0x08d4f170
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
    HDBC 0x08d4f170
    Postgres odbc trace file :
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLAllocConnect
    HENV 0x0a0cf8c8
    HDBC * 0x0a12f278
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
    HENV 0x0a0cf8c8
    HDBC * 0x0a12f278 ( 0x0a12f398)
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
    HDBC 0x0a12f398
    UWORD 110
    UDWORD 0
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x0a12f398
    UWORD 110
    UDWORD 0
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
    HDBC 0x0a12f398
    UWORD 108
    UDWORD 2
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x0a12f398
    UWORD 108
    UDWORD 2
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLDriverConnectW
    HDBC 0x0a12f398
    HWND 0x00000000
    WCHAR * 0xf31ad2c0 [      -3] "******"
    SWORD -3
    WCHAR * 0xf31ad2c0
    SWORD 6
    SWORD * 0xf4a4d9de
    UWORD 0 <SQL_DRIVER_NOPROMPT>
    I am new to OBIEE and would appreciate any help . I have verified that data source names used in administration matches ODBC DSN in odbc.ini.

    S Chatterji wrote:
    We are in the process of testing backup recovery for our database. We want to test point in time recovery using RMAN.
    Issue:
    Our production has (64 bit)
    Linux DbProd.xxx.dk 2.6.18-164.0.0.0.1.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    and our test area on VMware has (32 bit)
    Linux dbprod.xxx.dk 2.6.18-128.2.1.4.9.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 i686 i686 i386 GNU/Linux
    Please advice a best practice to achieve this.
    Thanks.
    S ChatterjiDuplicate posts do not increase your chances for an answer
    Database » Database - Upgrade, - Test recovery on 32 bit Linux where as Production is on 64 bit with Archive
    Database » Installation, - Test recovery on 32 bit Linux where as Production is on 64 bit with Archive

  • How to handle blob data with java and mysql and hibernate

    Dear all,
    I am using java 1.6 and mysql 5.5 and hibernate 3.0 . Some time i use blob data type . Earlier my project's data base was oracle 10g but now i am converting it to Mysql and now i am facing problem to save and fetch blob data to mysql database . Can anybody give me the source code for blob handling with java+Mysql+Hibernate
    now my code is :--
    ==================================================
    *.hbm.xml :--
    <property name="image" column="IMAGE" type="com.shrisure.server.usertype.BinaryBlobType" insert="true" update="true" lazy="false"/>
    ===================================================
    *.java :--
    package com.shrisure.server.usertype;
    import java.io.OutputStream;
    import java.io.Serializable;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Types;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    import oracle.sql.BLOB;
    import org.hibernate.HibernateException;
    import org.hibernate.usertype.UserType;
    import org.jboss.resource.adapter.jdbc.WrappedConnection;
    import com.google.gwt.user.client.rpc.IsSerializable;
    public class BinaryBlobType implements UserType, java.io.Serializable, IsSerializable {
    private static final long serialVersionUID = 1111222233331231L;
    public int[] sqlTypes() {
    return new int[] { Types.BLOB };
    public Class returnedClass() {
    return byte[].class;
    public boolean equals(Object x, Object y) {
    return (x == y) || (x != null && y != null && java.util.Arrays.equals((byte[]) x, (byte[]) y));
    public void nullSafeSet(PreparedStatement st, Object value, int index) throws HibernateException, SQLException {
    BLOB tempBlob = null;
    WrappedConnection wc = null;
    try {
    if (value != null) {
    Connection oracleConnection = st.getConnection();
    if (oracleConnection instanceof oracle.jdbc.driver.OracleConnection) {
    tempBlob = BLOB.createTemporary(oracleConnection, true, BLOB.DURATION_SESSION);
    if (oracleConnection instanceof org.jboss.resource.adapter.jdbc.WrappedConnection) {
    InitialContext ctx = new InitialContext();
    DataSource dataSource = (DataSource) ctx.lookup("java:/DefaultDS");
    Connection dsConn = dataSource.getConnection();
    wc = (WrappedConnection) dsConn;
    // with getUnderlying connection method , cast it to Oracle
    // Connection
    oracleConnection = wc.getUnderlyingConnection();
    tempBlob = BLOB.createTemporary(oracleConnection, true, BLOB.DURATION_SESSION);
    tempBlob.open(BLOB.MODE_READWRITE);
    OutputStream tempBlobWriter = tempBlob.getBinaryOutputStream();// setBinaryStream(1);
    tempBlobWriter.write((byte[]) value);
    tempBlobWriter.flush();
    tempBlobWriter.close();
    tempBlob.close();
    st.setBlob(index, tempBlob);
    } else {
    st.setBlob(index, BLOB.empty_lob());
    } catch (Exception exp) {
    if (tempBlob != null) {
    tempBlob.freeTemporary();
    exp.printStackTrace();
    st.setBlob(index, BLOB.empty_lob());
    // throw new RuntimeException();
    } finally {
    if (wc != null) {
    wc.close();
    public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws HibernateException, SQLException {
    final Blob blob = rs.getBlob(names[0]);
    return blob != null ? blob.getBytes(1, (int) blob.length()) : null;
    public Object deepCopy(Object value) {
    if (value == null)
    return null;
    byte[] bytes = (byte[]) value;
    byte[] result = new byte[bytes.length];
    System.arraycopy(bytes, 0, result, 0, bytes.length);
    return result;
    public boolean isMutable() {
    return true;
    public Object assemble(Serializable arg0, Object arg1) throws HibernateException {
    return assemble(arg0, arg1);
    public Serializable disassemble(Object arg0) throws HibernateException {
    return disassemble(arg0);
    public int hashCode(Object arg0) throws HibernateException {
    return hashCode();
    public Object replace(Object arg0, Object arg1, Object arg2) throws HibernateException {
    return replace(arg0, arg1, arg2);
    =================================================================
    can anyone give me the source code for this BinaryBlobType.java according to mysql blob handling ..

    Moderator action: crosspost deleted.

  • Dreamweaver CS5.5 Mobile Apps with PHP and MYSQL?

    Hello,
    I don't have Dreamweaver CS5.5 yet and I've been trying to search for information on this but I couldn't find any. I've been learning PHP and been developing with MYSQL with Dreamweaver CS5 but I wanted to know if I can use the same tags and everything if I would to build a Mobile App using the new Dreamweaver CS5.5 (http://tv.adobe.com/watch/cs-55-web-premium-feature-tour-/dreamweaver-cs-55-jquery-mobile- pages/). I overlooked at the video and it seems pretty easy building an app. So is PHP and MYSQL easily integratable? Are there any examples that I might be able to check out?
    Thanks!

    No. PHP is a server-side scripting language that requires a server (or server-like environment) to run.
    An iPhone (or Android) application does not allow for a "built-in" server (which is resource intensive and has scary security implications). You just can't build an application with PHP/MySQL for a mobile device. Instead you can build a web service that your HTML/JavaScript mobile application can then communicate with. This is the only supported way you can use PHP/MySQL in a mobile app. Again: the PHP/MySQL should reside on a server and your HTML/JS mobile app can then communicate with that web service. That's what instapaper and other applications do.
    Frankly, just make a web application that's mobile device friendly and you'll:
    1) Avoid all the messiness of the app stores
    2) Have greater control over what your web app can do (don't have to tow the Apple/Google line)
    3) Have a web app that can work across mulitple mobile devices as well as standard web browsers (i.e. more audience = more $).
    4) Future proof your application (pushing updates to your server and everyone using your web app is updated)
    Otherwise, read-up on Adobe AIR and what it supports and remember, the best apps are written natively for the platform (i.e. want to write an app for an iPhone? Learn Objective-C and use xCode on a Mac. Want to write an app for Motorola Xoom? Learn the Android SDK and use inteliJ).

  • The performance of management system with Java and MySQL

    Hi all,
    I want to develop one management application with Java and MySQL. However I am not sure which is a good way to design the system. The system has to deal with customers' data in the database.
    Should I create objects for every customers when application starts so that I do not need to access to the database often? Or
    Should I access to the database everytime the user want to deal with customer's data?
    Welcome for any suggestion.
    Thank you
    Pat

    Hi
    i i think u should go through MVC model or use connection pooling

  • Problem with CMP bean and MySQL: please help me!!!

    Hi,
    I am using J2EE Sun server 1.3 and Mysql 4.0 database with its MySQL Connector/J 3.0.
    The driver connection to the database is fine since "Generate Default SQL" in deploytool gives "SQL generation complete".
    However, I can't have a simple row with one text field called test being created in my mysql table called test.
    Of course , the mysql server is started and the test table set for use.
    Here is my code (I try to access my database from a servlet using a CMP Entity bean):
    try{
    Context initial = new InitialContext();
    Object objref = initial.lookup(EntityHome.JNDI_NAME);
    EntityHome home = (EntityHome)PortableRemoteObject.narrow(objref,EntityHome.class);     
    Entity test= home.create("zob");               
    /*EntityHome home = (EntityHome)PortableRemoteObject.narrow(objref,EntityHome.class);     
    catch (Exception ex){                                                                out.println("exception message : " + ex.getMessage()+"</body></html>");}
    I get the following exception message :
    RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"EntityCMPTable" WHERE "test" = 'zob'' at line 1"; nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"EntityCMPTable" WHERE "test" = 'zob'' at line 1"
    I would be very grateful for help since I have a close deadline for this!!!!!!!!
    Thank you very much in advance dear java experts!!!!!!!
                                       

    Hallo
    I have the same problem and the same configuration.
    Do you have a solution for this problem ??
    Thanks
    Georg

  • Compiling program VC++ (and ComponentWork++) in release's mode with static library ...

    When i try to compil the program, there are conflicts between "nafxcw.lib" and an other library. The conflicts doesn't exist when i compil the program with shared library. Can you help me ?
    my OS is Windows NT 4.0
    thanks

    Which "other library" does nafxcw.lib conflict with? Nafxcw.lib is an mfc library and is not distributed with Componentworks++.
    When you say the conflict does not exist when you use the shared library, are you talking about the selection in the Measurement Studio App Wizard where it asks how you want to access the mfc library? What exactly is the conflict that you get?
    In general I would always select to use the mfc library as a shared dll, because it is a known issue to statically link the library into any arbitrary project, not just a Componentworks++ project.
    Jason Foster
    Application Engineer
    National Instruments
    www.ni.com/ask

Maybe you are looking for

  • Photoshop CS5 has stopped working and shuts down

    I purchased Photoshop CS5 in March 2011 and after trying to install software I was unable to do anything in Photoshop without getting the following error message:  "Adobe Photoshop CS5 has stopped working".  A problem caused the program to stop worki

  • Inserts are greyed out

    All my inserts are greyed out and have a dotted line through them. The plugins have disappeared. I looked in the plugins folder, I am not sure where I am supposed to find them?

  • Shared iMovie 9.0 Project using iDVD option did not work

    I created an iMovie project and want to create a DVD. I shared the iMovie project using the Share>iDVD option. The file took about 1-1/2 hours to create. Once it was completed iDVD opened but no movie appeared. I only saw the standard 4 option splash

  • RDP with 802.1x, machine and user auth and dynamic VLAN

    Hi, we have 802.1x implemented with machine and user auth. We also use dynamic VLAN assignment. Our client is AnyConnect 3.1. Operating system is Windows 7. With Windows XP, it works just fine. When we try to connect to the 802.1x auth desktop with R

  • SXMB_MONI time difference in performance header

    Hi, I've noticed the time in the performance header trace in sxmb_moni is 5 hours later than the real time (System time). Even the time sent is 5 hours later. Exp : <SAP:TimeSent>2009-11-24T21:13:09Z</SAP:TimeSent> When it was actualy sent at 16:13:0