Lighttpd + php + mysql + phpmyadmin

Hello to everyone...
Continue from this old topic: http://bbs.archlinux.org/viewtopic.php?id=57539
So i have lighttpd + php that run perfectly...
now i also need mysql + phpmyadmin..
1)  i Edited /etc/php/php.ini uncommenting the following line:
;extension=mysql.so
2) i followed this wiki http://wiki.archlinux.org/index.php/MySQL
3) i followed this wiki http://wiki.archlinux.org/index.php/Phpmyadmin
when i open phpmyadmin it says:
Connection for controluser as defined in your configuration failed.
why??
thanks..

Hi, thanks for response
SSL certificate is generated ... ok so it wont be so hard to help here are my configs
main.cf
# Paths
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
# Domain settings
myhostname = <mydomain>
myorigin = <mydomain>
mydestination = $myhostname, localhost.$mydomain, localhost
# SMTP settings
smtpd_tls_cert_file=/etc/ssl/certs/mail.crt
smtpd_tls_key_file=/etc/ssl/private/mail.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache
smtpd_tls_loglevel = 1
smtpd_sasl_auth_enable = yes
smtp_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
check_policy_service inet:127.0.0.1:10030
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
smtpd_sasl_security_options = noanonymous
# SASL
smtpd_sasl_type = dovecot
smtpd_sasl_path = /var/run/dovecot/auth-client
# Email and mailbox settings
alias_maps = hash:/etc/postfix/aliases
alias_database = $alias_maps
home_mailbox = Maildir/
virtual_alias_domains = <mydomain>
virtual_alias_maps = hash:/etc/postfix/virtual
mailbox_size_limit = 0
dovecot.conf
protocols = imap imaps
disable_plaintext_auth = yes
log_timestamp = "%b %d %H:%M:%S "
ssl = yes
ssl_cert_file = /etc/ssl/certs/mail.crt
ssl_key_file = /etc/ssl/private/mail.key
mail_access_groups = mail
mechanisms = plain login
socket listen {
client {
path = /var/run/dovecot/auth-client
mode = 0660
user = postfix
group = postfix
here are some of my config uncommented part, if its nececery i can zip and upload bouth configs to be 100% clear wheres the problem..
Karlis
Last edited by karlis (2010-01-13 18:02:23)

Similar Messages

  • ATTN: Snow Leopard php, MySQL, phpMyAdmin

    Heya,
    I got Snow Leopard installed and first thing I did was setup a testing server. It's a little bit different process from Leopard 10.5 so I wrote up a little info on how to set it all up. Check out http://DwFAQ.info/home.php?id=18 for info on how to setup php, MySQL, phpMyAdmin on Snow Leopard.

    Hmmmm... I did a clean drive install of Snow Leopard because I used to do it once a year with Windows and hadn't done it in 3 with my MBP.
    First, my httpd.conf file had the line enabling PHP commented out, so when I went to see my simple file with phpinfo(), I saw the source. Saw your post, thought it was the timezone, fixed that (which will probably make wordpress happy when I get it running), and it still didn't work. Looked at the httpd.conf file, found that PHP was disabled by default, fixed that line, restarted the server, and my phpinfo() worked like a charm.
    Also if you want to edit config files, I use TextWrangler's "open hidden files" option.
    But... I have no /usr/local directory at all. Doesn't exist on my machine. Checked the options in the base install and MySQL isn't offered as an option. Checked the optional installs and MySQL isn't there. Even letting spotlight search for hidden files, the only files with MySQL in their name were from php scripts in my web folders.
    There's some stuff about installing/compiling from source.
    http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/
    Dunno if I want to go down that road quite yet.

  • Apache, PHP, MySQL, phpMyAdmin

    Hi, I'm upgrading to snow leopard and I want to setup my local webserver but I had some problem with phpmyadmin and mysql.
    I've activated the pre-installed apache server from the system preferences panel and I've uncommented the load module of the php5 from the httpd.conf.
    Which version of MySQL I have to use? And how can I configure the phpMyAdmin?
    I've done this on my macbook with leopard, but I'm not beb able to do it on my iMac with snow leopard.

    raskolnikov wrote:
    Log files are in /var/log/httpd/, you should check at least error_log
    LAMP works for me, so it may be a configuration issue.
    Umm.. well I know where the log files are for apache, but they're unlikely to help me fix mpd   I found the .error and .log files for mpd, they're in $HOME/.mpd/ , but they're both empty! This is really frustrating.. what the hell can it be? mpd was fine yesterday.. it connects on the default port, 6600, is it possible that one of the LAMP pieces of software is interfering with this? Yet if that were the case, surely me stopping all the LAMP-related daemons would allow me to start mpd...
    The only other thing I've change since yesterday is my /etc/hosts:
    127.0.0.1 localhost.localdomain localhost kaminoitte
    That's fine though, isn't it?
    Gaargh, this is doing my head in   :evil:
    EDIT:  Aah.. it might be a groups problem.. maybe. I've got it in my mpd.conf to run under user 'dave', but I accidentally used 'useradd' instead of 'usermod' yesterday when adding myself to the mysql group I made, so I may be missing from one of the necessary groups. I added myself back to optical and video yesterday.. would someone using mpd be good enough to post 'grep [mpd_username] /etc/groups' for me?
    EDIT2 (1 minute later): Hehe, I just noticed I didn't add myself back to 'audio'... what a muppet. Problem solved!  XD

  • Lighttpd + php + mysql not working after upgrade

    Hello!
    I have been using Arch for a couple of years now and I love it. However, recently I made an upgrade (pacman -Syu) on one web server and I can't get the lighttpd server back to working state. If I start it with "/etc/rc.d/lighttpd start" it looks like everything is ok. Even "/etc/rc.d/lighttpd status" returns that it is [STARTED] , but when I try to stop it, it returns FAIL. I assume that something is preventing the lighttpd to start, but there is nothing in the lighttpd log, neither in error.log. I have also tried to reinstall all the packages, but with no difference.I have to fix it, but I don't know where to start. Thank you for any hints you may provide.
    Best regards!
    Jernej

    Here's the content of /etc/rc.d/lighttpd I'm not that smart to figure out the name of the executable.
    =====================================
    #!/bin/bash
    daemon_name=lighttpd
    . /etc/rc.conf
    . /etc/rc.d/functions
    get_pid() {
            pidof -o %PPID $daemon_name
    case "$1" in
      start)
        stat_busy "Starting $daemon_name daemon"
        PID=$(get_pid)
        if [ -z "$PID" ]; then
          [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid
          # RUN
          $daemon_name -f /etc/lighttpd/lighttpd.conf
          if [ $? -gt 0 ]; then
            stat_fail
            exit 1
          else
            echo $(get_pid) > /var/run/$daemon_name.pid
            add_daemon $daemon_name
            stat_done
          fi
        else
          stat_fail
          exit 1
        fi
      stop)
        stat_busy "Stopping $daemon_name daemon"
        PID=$(get_pid)
        # KILL
        [ ! -z "$PID" ] && kill $PID &> /dev/null
        if [ $? -gt 0 ]; then
          stat_fail
          exit 1
        else
          rm -f /var/run/$daemon_name.pid &> /dev/null
          rm_daemon $daemon_name
          stat_done
        fi
      restart)
        $0 stop
        sleep 3
        $0 start
      status)
        stat_busy "Checking $daemon_name status";
        ck_status $daemon_name
        echo "usage: $0 {start|stop|restart|status}"
    esac
    exit 0
    =====================================

  • If DW 2014.1 cc does not support database, binding, server behavior, and PHP/MySQL require it, but using Adobe Extensions Mngr IS NOT recommended, then WHAT TOOLS do we use to develop a database with DW?

    I'm using windows DW 2014.1 cc. I'm following lynda.com tutorials to build a website database with PHP and MySQL. I learned I have to download Adobe Extension Mngr to active DATABASE, BINDING, SERVER BEHAVIOR panels, which I've done. BUT NOW I'VE BEEN ADVISED NOT TO USE THESE TOOLS for new development. If this is the truly the case, then WHAT TOOLS DO I USE to develop a website that has a database?

    then WHAT TOOLS DO I USE to develop a website that has a database?
    Besides the tools you would already need for a system using server behaviors (web server, PHP, MySQL, phpMyAdmin) the only extra tool you need is your own brain.
    A lot of people are disappointed by the lack of database tools in DW now, but really it's much better this way. You can never achieve better than a rinky-dink dynamic website using server behaviors. The code Dreamweaver dynamic behaviors create is really terrible. (I'm not insulting the fine folks who wrote the feature. It's just a consequence of automated code.) You can write better, simpler, more maintainable code yourself, and over time you will improve. With server behaviors you cannot improve. you get stuck in database kindergarten.

  • Can't connect PHP/MySQL 404 error

    Wow, the learning curve is killing me. Yet another challenge. I'm using Dreamweaver CC and this tutorial http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    I'm at this step:
    Open comments.php. You must have a PHP page open in the Document window to create a MySQL connection.
    In the Databases panel (choose Window > Databases), click the Plus button on the panel and select MySQL Connection.The MySQL Connection dialog box appears.
    Type connTest as the connection name.
    For the MySQL Server, type localhost.If you are using the MAMP default ports on a Mac, use localhost:8889.
    For the User Name, type phptestuser.
    Type the password you chose for the phptestuser account in the Password field.
    For the Database, type php_test.Note: You don't need to precede the underscore with a backslash here. It was inserted by phpMyAdmin in the previous section (see Figure 20) only because phpMyAdmin uses a query that permits wildcard characters.
    Click Test.Dreamweaver attempts to connect to the database. If the connection fails, do the following:
    Double-check the server name, user name, and password.
    Check the settings for the folder Dreamweaver uses to process dynamic pages (see Specifying a Testing Server for Dreamweaver).
    Verify that the web and MySQL servers are both running.
    Temporarily disable any firewall or security program. If the connection works, you need to configure the security program to permit communication between Dreamweaver and MySQL.
    Click OK. The new connection appears in the Databases panel.
    Expand the connTest connection, and then expand the Tables branch. You'll see the comments table in the database, which you can expand to reveal the details of the table columns (see Figure 23).
    As far as I can tell I have followed this tutorial to the letter.
    As far as I can tell, XAMPP/php mySQL are all running fine, the files are in the correct place and everything should be working. However when I hit test I get a 404 error. (Same error when I hit the select button.)
    The suggested problems on the 404 message are:
    1. There is no testing server running on the server machine.
    Pretty sure the testing server is running. Is there any way to test this, other than to note that xampp is definitely running right now and that I can log into phpMYadmin no problem?
    2. The testing server specified for this site does not map to the http://localhost/php_test/_MMServerScripts/MMHTTPDB.php URL Verify that the URL Prefix maps to the root of the site.
    Ummm...I'm pretty sure I put things where I was told to put them in the tutorial, but I'm lost at this point where I should verify what. A clue here? The files are where they are supposed to be, but maybe I entered something wrong? Except...I'm not sure what that could be or where to find it. Whatever IT is.
    Everything in local files is looking good.
    Thanks for your help!
    PS: Extra points to anyone who figures out how to make copy/pasteable error messages! These buggers are the bane of my life!

    Bgupta, you rock!
    I hope you have copied the "mysql.php" and "MMHTTPDB.php" files from "C:\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\locale\Configuration\Connections\Scripts\PHP_MySQL\_mmDBScripts" to "C:\xampp\htdocs\phptest\_mmServerScripts"
    This was EXACTLY the problem. I checked the tutorial and I couldn't even find where the tutorial said to do this. (If I missed it, let me know where in the tutorial it was, please.)
    Fixed!

  • Apache2, PHP, MySQL Help

    Hi,
    Sorry if this is a bit of a newbie thing todo but I am not too good with solaris configuration yet.
    Can anyone supply a decent step by step and easy tutorial/how-to on how to set up Apache, PHP, MySQL and PHPmyadmin on a SPARC solaris 10 box please...
    Thanks Rob

    Can anyone supply a decent step by step and easy
    tutorial/how-to on how to set up Apache, PHP, MySQL
    and PHPmyadmin on a SPARC solaris 10 box please...Setting up Apache is very easy since all it takes is setting it up. Its installed by default, you can check /etc/apache for an example configuration file. Next to that www.apache.org/docs/ is also a very valuable read.
    <blunt SPAM>
    You could also consider looking into the Java webserver (formely SunONE). Its currently being made available for free with the Java Enterprise System and compares very well to Apache. If you'll also be doing some Java it would be a better choice (IMO its a better choice than Tomcat) and it can also do PHP.
    http://www.sun.com/software/products/web_srvr/home_web_srvr.xml
    http://www.zend.com/sun/?article=/sun/index.php&kind=&id=6179&open=1&anc=0&view=1
    http://www.php.net/
    </SPAM>
    As you'll note I included the PHP website because with the above setup you'd also need to manually setup PHP. If you have the companion CD present you can install the PHP module which will end up on /opt/sfw/apache. This directory will also present you a php.ini example which will need to be placed in /etc/apache as well. Setting it up is basicly following the documentation in the ini file, and the Apache documentation on adding an extra module (/opt/sfw/apache/libexec/libphp4.so).
    MySQL. Also very easy since its shipped with Solaris as well. Look into /etc/sfw/mysql for a README which covers the most essential steps to set it up. In short you'll need to setup a few directories for MySQL to work and optionally (but recommended) copy the default config file to /etc (/etc/my.cnf) which will define certain basic settings. The readme explains. Next you're likely to need the MySQL guide (if you're new with MySQL) which can be located at http://dev.mysql.com/doc/refman/4.1/en/index.html.
    This applies to the version (close enough anyway) which is shipped with Solaris. From personal experience I can say that MySQL 5 will also run very well on Solaris 10.
    Finally the PHPMyadmin... That really is an RTFM issue, once you have your environment setup (Apache and the likes) its likely you only need to copy it to your document root and point your browser to it.
    Hopes this helps somewhat.

  • (PHP/MySql) Create Recordset but no column

    Thanks for reading this, I am new to PHP/MySql
    I have created a website www.ritchiecraft.co.uk which uses
    PHP/MySql with Dreamweaver 8. I have created recordsets on most
    items pages and filtered data as neccessary. After the site was up
    and running I was required to insert a new topic and when I went to
    create a new page and insert the recordset no data was placed in
    the columns area and the filter/sort options were greyed out. I
    checked the existing pages and found that this was happening to all
    pages with recordsets. The connection, table data was there.
    The site still works fine but I cannot introduce new pages or
    edit existing because of the recordset problem. I was advised
    previously to delete the Dreamweaver cache file but this did not
    help.
    The site is hosted commercially and the database was created
    with phpMyAdmin and dont seem to have any connection problems.
    Thanks for your time and any suggestions are welcome.

    sweetman wrote:
    > How can I set a query so that it sounds like this:
    >
    > SELECT $_GET['id'] FROM mytable ORDER BY myorder ASC?
    You can't do it through the Recordset dialog box. The simple
    way to do
    it is to create this query in the Recordset dialog box:
    SELECT * FROM myTable
    ORDER BY myOrder ASC
    Then go into Code view and locate the following line:
    $query_recordsetName = "SELECT * FROM myTable ORDER BY
    myOrder ASC";
    Change it to this:
    if (isset($_GET['id'])) {
    $col = get_magic_quotes_gpc() ? stripslashes($_GET['id']) :
    $_GET['id'];
    $col = mysql_real_escape_string($_GET['id']);
    else {
    $col = '*';
    $query_recordsetName = "SELECT $col FROM myTable ORDER BY
    myOrder ASC";
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Php mysql html on your server application

    hello
    I can work with example websites
    php mysql html on your server application
    ouy have to install, php mysql apache and phpmyadmin on my bakbookpro
    if your server does not do what I Querro please tell me
    and I instalho manually
    if it does I'll use it qurro
    however pressisamos people who can use that build here
    I do not have a whole life to stay behind the computer
    and if your server can not work rebuild from scratch
    do the work with php and html
    because my client wants the **** form in php

    you mean its got <TEXT LEADING FORMATS blah blah >
    yea, turn html on on the text box that ur sending to php.
    or off, well whatever it is now, do the oposite, lol.

  • PHP/MySQL Help Needed

    I'm a beginner with this PHP/MySQL language, but I'm using
    Dreamweaver CS3 to help things along. I've set up my database with
    my host (using PHPmyAdmin) and put in a table with some fields.
    Then I went into Dreamweaver and set up everything and it saw the
    database name perfectly. Then I made a recordset and it saw the
    fields just fine. I then made an input page to put the data into
    the database and that went off without a hitch. I then made a basic
    webpage with nothing but the call to display 2 of the fields in my
    database (I did the test in dreamweaver and it saw all the data I
    populated my database with perfectly). I then told it to preview in
    Firefox and got a blank page... Ok I must have done something
    wrong, so I put in some basic text just so I could see if even that
    would show up correctly. Then I previewed in Firefox again and not
    only did it show up, but the 2 fields showed up as well! Yea! So I
    made some changes to the fields I wanted to show and again did a
    Preview in Firefox. I was again treated to a blank page. Not even
    my basic text was showing up. I went back to Dreamweaver and added
    some more text... preview... works perfectly showing everything. I
    refresh the page and it's blank. I close Firefox and preview again.
    It's a blank page, but for the heck of it I decide to View Source
    and lo and behold all the data is there. I close the source and try
    reloading the page... blank. I'm at a loss. Any idea why this might
    be happening?

    jays99 wrote:
    > Thanks, David. I have your PHP5-Flash 8 book and egerly
    await your newest. I
    > installerd MySQL 5.027 for 10.4 intel which but it does
    not come up
    > automatically and there is no MySQL control on the
    Preferences. I read
    > somewhere that I have to open a file and change some
    lines of code in a config.
    > file. Do you have any insight to that? Thanks again, Jay
    Sorry, I haven't tested anything on an Intel Mac yet. Testing
    everything
    on Vista for my new Dreamweaver book has given me enough of a
    headache.
    However, I'm pretty sure that my editor has an Intel Mac, and
    he
    followed the instructions in "PHP Solutions" without any
    major hiccups.
    (They're pretty much the same as in the Flash book.)
    Isn't there a MySQL.prefPane icon in the MySQL installation
    package? I
    have found that MySQL won't start automatically on 10.4 (it
    did on
    10.3), but as long as you install the prefPane, you should be
    able to go
    in and start it manually.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Dreamweaver PHP/mySQL poll problem?

    Hi,
    I'm a PHP/mySQL noob who's using some of Dreamweaver's 8
    (8.2) out-of-box Update server behaviors to update a database of
    results for a poll. I know there's a lot of free polling apps out
    there but I need to have the poll show up in another page as
    opposed to being refreshed/displayed in the same page/content area.
    I've successfully built the backend in phpMyAdmin and I'm
    able to list the database contents and do basic updates to the poll
    questions and answers. However, I've been unable to pass an
    incremented result value via a Dreamweaver radio button group
    (which is the normal poll format) without previous unselected
    results being overwritten.
    When an answer is selected the result is indeed incremented
    and is displayed in the Result Listing but unfortunately it also
    overwrites any preexisting data for that poll and replaces it with
    zero. For example:
    Question:
    Answer a) 0
    Answer b) 0
    Answer c) 1 (this would be the value that was selected)
    Answer d) 0
    If c is selected again the value is stored and incremented
    and the value is now 2. However, if that value is not selected,
    then another value is incremented and c would be wiped. I've even
    resorted to trying to use javascript to maintain the original state
    but to no avail I was just previously incrementing the inline php
    radio button value and/or assigning different names to each of the
    radio buttons. This, of course, allows people to select multiple
    values which runs contrary to the whole idea behind radio buttons,
    but I thought I'd see if that worked . Anyway, when the radio group
    is assigned the same value it merely increments everything.
    example:
    http://www.dailydatum.com/funFacts/funFactsListingSingleUpdate15.php
    As you can see, i'm up to version 15 and gritting me teeth,
    lol. Any help would be mighty appreciated.
    Mario

    hi ,
    you can always try the macromedia devnet sites , they have
    ongoing tutorials and discussions on all areas, including php with
    dreamweaver8.
    http://www.adobe.com/devnet/topics/php.html
    be aware though that some of the tutorials require the use of
    third party php extensions, like interakt products, which is a
    shame because most of them are expensive to buy. But they are still
    worth a read.
    hope this is some help.
    ted.

  • Host recomendation - linux - php/mysql

    Hi gangsters and molls :)
    I'm looking again for some advice from the knowledgable
    contributors of
    this forum, of which there are many, many, many!
    I'm in need of a host, that provides php/mysql linux and some
    good
    online instructions (preferably the hosts own instructions)
    about
    tranfering/connecting the database up. I'm as thick as two
    planks when
    it comes to moving the the dynamic technical stuff over to a
    remote
    host, so bear that in mind. I try but I'm getting old and
    past my
    sell-by date :(
    I've done this on a couple of occasions (some time ago
    though), spent a
    good few hours resolving connection issues but finally
    everything
    worked. However if anyone knows of a good host and some good
    walk ya
    through instructions to save me some hassle I'd be grateful.
    I'm not really that bothered where the host is (preferably uk
    but I'm
    open minded)........EASE OF USE & SET-UP is paramount on
    this ocassion.
    Cheers!
    Os.

    : Nadia : ** Adobe Community Expert ** wrote:
    > "Osgood" <[email protected]> wrote in
    message
    > news:[email protected]...
    >
    >>Hi gangsters and molls :)
    >>
    >>I'm looking again for some advice from the
    knowledgable contributors of
    >>this forum, of which there are many, many, many!
    >
    >
    > you're being too mich - what's up Os ? ;-)
    Yeah...I'm on new tablets.........seems to be doing the trick
    until my
    immune system fights back.
    >>I'm in need of a host, that provides php/mysql linux
    and some good online
    >>instructions (preferably the hosts own instructions)
    about
    >>tranfering/connecting the database up. I'm as thick
    as two planks when it
    >>comes to moving the the dynamic technical stuff over
    to a remote host, so
    >>bear that in mind. I try but I'm getting old and past
    my sell-by date :(
    >
    >
    >
    > www.hostmysite.com is US based, but I've had no problems
    with email
    > support - they've been great... they also have
    'live-help' I think. They've
    > helped me heaps in setting up dbs or fixed errors when I
    did a few installs
    > of various CMSs...
    Yup...you've mentioned them before in some previous posts,
    I'll check
    them out.
    > www.webstrikesolutions.com been with them for years...
    email support is
    > terrific (no phone support, but live chat again).
    Haven't had much to do
    > with php side of things with them, though they have both
    win and linux
    > servers, most of my clients are on windows and a couple
    of clients on linux.
    > Had to have help with a couple of asp dbs and they were
    great help there.
    Humm....why does a connection to a remote database seem so
    imposing.
    Should be a simple drag and drop solution.
    I don't even know where the database file is created on my
    Mac but
    apparently you have to create a 'dump' file to transfer it to
    a remote
    location. I can do that in phpMyAdmin but wouldn't it be
    simple if there
    was an identifiable file which you could just grab hold of
    and drag
    across.......bummer all seem complicated to me.
    > www.crystaltech.com have also been great to work with -
    again US based,
    > help docs are a bit sparse - or it could be me not
    understanding them :-)
    > but email support is good.
    Humm I have some instruction docs from a host that I have
    previously
    used but thaey might as well be written in chinese.
    Do you know if I can set up a website on one server and have
    it pull
    information from a database which is hosted on another
    server?
    Os.

  • Where can I download the latest PHP MySQL libraries?

    my phpMyAdmin panel says "Your PHP MySQL library version 5.0.82 differs from your MySQL server version 5.1.45. This may cause unpredictable behavior."
    I should update Leopard's PHP MySQL library to 5.1.45 or downgrade MySQL to 5.82… but I can't find any.
    In the while I find MySQL 5.0.82 or an alternative fix…
    Do you know where I can find those libraries?
    Thanks.

    I found that newest php works with its own mysql (5.0.9, or so) and it's not using mine. I'd rather install back the one shipped with Leopard if I had to go versions back.
    Also, I couldn't get it to work (#2002 error, sockets were there but still not working) and once I uninstalled it, it was supposed to leave the OS untouched, but Leopard's didn't come back to life. I had to add the following lines to httpd.conf, otherwise the php code was shown, instead of executed.
    AddType application/x-httpd-php .php .phtml
    DirectoryIndex index.html index.php
    I'd think I saw the previous mysql folders somewhere and Leopard making an alias to the right one somewhere. Do you remember where?

  • Taking my PHP/MySQL site online - how?

    Hi,
    Once I have developed a site on my local PC in DW, utilizing
    PHP and MySQL Administrator, how do I make it work online?
    Obviously I need to use the built-in FPT function in DW - but
    how do I transfer the database files to the server?
    I have searched for an anser to this question for a long time
    - but all the tutorials I find (and I have found a number!) help me
    develop my site locally - and then say nothing about taking it
    online.
    I have developed a number of sites using ASP/Access. When I
    take such a site online, I need to change the connection-string. Is
    the process the same for PHP/MySQL sites? If yes, what change do I
    need to make? And what database-file do I upload to the server, and
    where do I put it?
    Here is where I want to get: I want to have my site locally,
    so that I can make any changes to it when necessary - and then
    upload it so that it now uses the online database. ASP/Access
    allowed me to have both locally, so that I could make any changes.
    Downside is of course you have two versions of the database, one
    local, one remote.
    My host uses PHPMyAdmin. I see I can download a version of
    this and use it locally. Should I do that and use that? Does it do
    the same as PHP Administrator?
    As you can see I have many questions. I think I am missing a
    few key-thoughts that will help me understand PHP and MySQL and
    make go "oh, now I get it!'
    Please feel free to point me to tutorials that you believe I
    will find helpful.
    Thanks for your help in advance!
    Rogier

    RogierBos wrote:
    > Hi,
    >
    > Once I have developed a site on my local PC in DW,
    utilizing PHP and MySQL
    > Administrator, how do I make it work online?
    >
    > Obviously I need to use the built-in FPT function in DW
    - but how do I
    > transfer the database files to the server?
    >
    > I have searched for an anser to this question for a long
    time - but all the
    > tutorials I find (and I have found a number!) help me
    develop my site locally -
    > and then say nothing about taking it online.
    > I have developed a number of sites using ASP/Access.
    When I take such a site
    > online, I need to change the connection-string. Is the
    process the same for
    > PHP/MySQL sites? If yes, what change do I need to make?
    And what database-file
    > do I upload to the server, and where do I put it?
    >
    > Here is where I want to get: I want to have my site
    locally, so that I can
    > make any changes to it when necessary - and then upload
    it so that it now uses
    > the online database. ASP/Access allowed me to have both
    locally, so that I
    > could make any changes. Downside is of course you have
    two versions of the
    > database, one local, one remote.
    >
    > My host uses PHPMyAdmin. I see I can download a version
    of this and use it
    > locally. Should I do that and use that? Does it do the
    same as PHP
    > Administrator?
    >
    > As you can see I have many questions. I think I am
    missing a few key-thoughts
    > that will help me understand PHP and MySQL and make go
    "oh, now I get it!'
    >
    > Please feel free to point me to tutorials that you
    believe I will find helpful.
    >
    > Thanks for your help in advance!
    >
    > Rogier
    >
    Sounds like you need to export your database and then import
    it into
    your production server. Then upload the website, adjust the
    connection
    string so that its pointing to the correct server with the
    correct
    credentials and away you go.
    Steve

  • Ruby | Php | Mysql on iMac Apache

    Hello,
    I am a developer who is trying to get my iMac to run local versions of all the languages I use.
    I have been successful in the following:
    Establishing Ruby and mysql on the built in apache server
    Installing MAMP to serve as the php, mysql machine
    This has left me with a problem.
    I have two versions of mysql on my machine, and they are independent. What I would like is to consolidate, preferably by getting php to run on the built in apache. I have been unsuccessful in my attempts to compile and make php.
    A worst case scenario would be telling phpMyAdmin on MAMP to read from the mysql database on the built in server.
    The Goal: access my Ruby on Rails databases through phpMyAdmin.
    Any suggestions, links or points in the right direction would be greatly appreciated!
    Thanks.

    PHP isn't enabled. You have to go into /etc/httpd.conf and uncomment a couple of lines.
    10.4.11 has PHP 4 I think. It does not have GD. I see many posts here with people trying to build their own PHP with gd and failing miserably. I've tried to explain to people how to do it, but they want a 3 minute fix. A 30 minute fix just isn't good enough and they will spend weeks trying to get the 3 minute fix to work.
    Here is what you do:
    1) Enable PHP by uncommenting
    # LoadModule php4_module libexec/httpd/libphp4.so
    and
    # AddModule mod_php4.c
    2) Restart Apache via "sudo apachectl restart" or turning Web Sharing off and back on.
    3) Create the standard phptest.php file containing only "<? phpinfo() ?>" and open it in a browser.
    hopefully you'll see everything you need. If you need to add additional modules:
    4) Go to Apple's open source page, select the appropriate directory for your OS and processor.
    5) Download the "apachemodphp-18.8" project (note this is PHP4, if you want 5, download it from the 10.5 directory - it should work).
    6) Collect the additional, non-default packages you want to use. Build and install them via regular configure, make, make install.
    7) Inspect the Makefile that comes with the Apple PHP. I don't know if the Makefile will work or not. It may need other parts of the darwin open-source environment. It does have the configure options used to build PHP. Go into the PHP directory, and configure using Apple's options and any additional options of your own, make, and make install.
    There are many other threads dealing with PHP and GD but almost everyone is trying to hack up something they got from Fink. If you need to hack around with things, it would be better to start with Apple's default settings and the default settings of any 3rd party libraries.

Maybe you are looking for

  • Best method to fill in tablemodels getColumnClass

    Hello, in my application i have several JTables. The data represented on it is derived from a database. Some columns are booleans, but because my database doesn't support booleans I use VARCHAR(1) which is a String in Java. All my tables are using a

  • Help With WRT110

     Hi everyone i have a WRT110 and im new to wireless. i went through the whole installation. My router is installed onto my computer and im able to to go on the internet only if my laptop is connected to it with the blue wire. I tried everything to en

  • How to make different inside/outside margins for only one section?

    I'm creating a Pages template and want to have several different section layouts. I've figured out most of them, but haven't been able to get one section to work as I want it. The problem is that I want a 3 inch left margin on odd-numbered pages, and

  • Automatic distribution of published reports

    Hi all, We have been playing around with the delivery manager API's and have used them to email documents with no problems. What we want to be able to do is take a single data source, generate a separate pdf for each group of elements (lets say for e

  • Mavericks install stuck on "downloading addons"

    I`m selling my iMac, so I`m in the process of deleting it. When I rebooted into Disk Recovery, I can`t format the systemdisk. When I try, I get a message saying that the disk can`t be deactivated. On the systemdisk I have one partition with OS X and