Update PHP

Running OS 10.6.7 on Xserve 2.26 Ghz quad core Xeon, apache version 2.2.17 and PHP 5.3.4, serving FileMaker Pro via FM Server 11.0.3
I've been asked by security folks to upgrade to PHP 5.3.6 if possible. Best method?  Worth the trouble?  I am concerned that if I do manual install from source PHP download that 1) it may break FileMaker PHP and 2) Apple upgrades may break the install.
Any experience or advice?
Thanks in advance.

Google around for some information on updating PHP; this question gets asked fairly regularly, and folks have managed this with varying degrees of success.   (For some of those existing discussions, see: here, here, here, here, and here)
If you roll this change yourself, you're basically doing a full upgrade of all of the bits, performing a differences of the existing version of php within OS X and reimplementing whatever Apple added or changed within that previous updates, and then debugging it all.  That's either you implementing the update yourself or (if it's sufficiently current) maybe downloading and updating via MacPorts or another packaged version.
And in any case and irrespective of how you update php, once you upgrade this stuff, you own it.   You own additional security fixes and updates, anything that might go wrong when something (else) encounters the new php and tips over (web services, Filemaker, etc), and (hopefully, eventually) backing out the php updates if/when Apple ships a newer version and you then want (need?) to revert to the installed version.
There's a decent chance that problems can crop up after a php or other similar update of the integrated tools, so definitely have a complete full-disk backup made by booting the installation DVD and using Disk Utility, or some other similar approach.  That's your path back out, if (when?) something blows up.
The other approach is to request a waiver from your "security folks", pending an Apple-provided security or system update.  That's usually the easiest approach.

Similar Messages

  • Will Apple update PHP to version 5.3.2 in SL Server 10.6.3 update ?

    Current bundled version is PHP 5.3 which is buggy and insecure.
    I would like to avoid having to compile my own version.
    There is an update around the corner, but I can't find this useful information.
    Can any person that have access to the current beta let me know if Apple updated PHP to 5.3.1 or 5.3.2
    Thanks.

    So, when will Apple upgrade to 5.3.2?
    I have this notice:
    Warning: PHP 5.3.1 has a bug in it and is not supported by MediaWiki. You should use PHP 5.3.0 or PHP 5.3.2 instead.
    The bug is:
    [2009-12-06 23:40 UTC] tstarling at wikimedia dot org
    Description:
    This is a regression in the PHP 5.3.1 release. When you call a __call() function with a reference parameter, it is silently converted to a value, by the time it reaches the second argument to __call().
    This breaks MediaWiki and has no obvious workaround.
    Reproduce code:
    function foo( &$x ) {}
    class Proxy {
    function __call( $name, $args ) {
    debugzvaldump( $args );
    calluser_funcarray( 'foo', $args );
    $arg = 1;
    $args = array( &$arg );
    $proxy = new Proxy;
    calluser_funcarray( array( &$proxy, 'bar' ), $args );
    Expected result:
    PHP 5.3.0 produces:
    array(1) refcount(4){
    [0]=>
    &long(1) refcount(5)
    Actual result:
    array(1) refcount(4){
    [0]=>
    long(1) refcount(3)
    Warning: Parameter 1 to foo() expected to be a reference, value given in /home/tstarling/src/php/stuff/test-reference-call.php on line 8

  • How to update PHP, MySQL or Apache

    The Mac OS X 10.6.2 system does not include the latest versions of PHP, MySQL or Apache.
    What is the recommended update procedure for PHP, MySQL or Apache:
    a) automatically by Mac OS X system (is this possible?) or
    b) manually by the administrator (are there any documentations?)
    Many thanks.
    Actual system versions:
    Mac OS X 10.6.2
    MySQL 5.0.82
    Apache 2.2

    Hi, Thanks for your answer.
    That sounds Apple do not seriously release updates of third party packages shipped with the system (like Apache, mySQL ...) very often.
    To use month or year old packages in a web environment is a big risk, e.g. mySQL actual official version is V5.50 / mySQL Version shipped and updated by Mac OS X 10.6.2 Server is V5.0.82).
    The same with Apache and PHP, both are packages included in Mac OS X Snow Leopard Server product by Apple and are included in a old version.
    And when manually updates by the administrator of the server system do not work well or are not supported by the OS X Server system (as I understand your posting), the administrator can not act to improve and secure the system.
    That can only lead to one conclusion: Apple's Mac OS X Snow Leopard Server should not be used in a productive, internet faced web environment.
    Is this true? I do not want to believe this!?
    Is there really no official supported or documented procedure by Apple to keep the integrated third party components updated?
    I'd like to prefer Mac OS X Server odd Linux distribution because it seems more handy to administrate and to use, e.g. tools like Server Admin. These tools are an advantage of Mac OS X Server.

  • Update PHP with IMAP (installing SugarCRM on 10.5.4)

    I have seen parts of this covered before for 10.4.x but i am now trying to include c-client on 10.5.4.
    see http://discussions.apple.com/thread.jspa?messageID=4598819&#4598819
    I get sugar installed fine but on OSX when i try and set up mail it gives me this error:-
    Inbound Email cannot function without the IMAP c-client libraries enabled/compiled with the PHP module. Please contact your administrator to resolve this issue.
    *so far i have done the following.*
    sudo mkdir -p /SourceCache
    cd /SourceCache
    sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
    sudo tar xzf c-client.tar.Z
    cd imap-200XX (folder will represent the latest version)
    sudo make oxp
    mkdir /usr/local/imap/include
    mkdir /usr/local/imap/lib
    cd c-client/
    cp *.h /usr/local/imap/include
    cp *.c /usr/local/imap/lib
    cp c-client.a /usr/local/imap/lib
    cd /usr/local/imap/lib
    ln c-client.a libc-client.a
    # i hate renaming when it might be needed in its real name.
    i need to make mysql headers available too as trying to build php now brings up errors...
    see here.
    http://docs.info.apple.com/article.html?artnum=306782
    I think the mysql headers (or client libs) must be installed to make php with the same configure command that it was installed with
    I have downloaded the same version of mysql that 10.5 uses mysql-5.0.45.tar.gz and have expanded that into the /SourceCache - it configures and makes without erros but i am unable to build php with the mysql statements included - see below
    cd /SourceCache
    get php-5.2.6.tar.gz from your local mirror
    cd cd /SourceCache/php-5.2.6
    sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs2=/usr/sbin/apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-openssl --with-xmlrpc --with-xsl=/usr --with-pear --with-imap=/usr/local/imap --with-mysql-sock=/var/mysql --with-mysqli=/usr/bin/mysql_config --with-mysql=/SourceCache/mysql/mysql-5.0.45
    I added my --with-imap=/usr/local/imap statement to include the libc-client c-client kit..
    BUT i can only get it to build without the mysql statements.. do i really need mysql built in... it was in the original php configure script so i want to keep as much like the original as possible so i do not break things.
    The build (with out mysql statmens) also throws up these few errors.. which is strange as these were in the build line from a info.php script i ran against the server...
    Notice: Following unknown configure options were used:
    --disable-dependency-tracking
    --enable-trans-sid
    --with-xml
    --enable-dbx
    Referances
    my main source of info was from here...
    http://discussions.apple.com/thread.jspa?messageID=4598819&#4598819
    looks like apple have come up against this before but is for an earlier version of MySQL so i would not install it.
    http://docs.info.apple.com/article.html?artnum=306782
    http://discussions.apple.com/thread.jspa?messageID=7828379

    It sounds like you need to download the MySQL headers. Yes you do need MySQL.
    Here's how I solved this problem. I used this thread as my basis:
    http://discussions.apple.com/message.jspa?messageID=6112771
    My updated instructions are located below with sources. I had to complete these steps again today. You had better get good at this, because Leopard updates may force you to repeat these steps. I completed this stuff back in Dec and here I am again. I did not have to re-download, but that means that I am using older versions of these programs/modules. BTW - the older stuff still works for SugarCRM. You may be using more updated files if you are downloading/have downloaded newer stuff, make sure to adjust these instructions for the newer updated files and folders.
    BTW - I just realized that you may be on a workstation, you may need to change the "/usr/lib" and "/usr/include" to "/usr/local/lib" and "/usr/local/include" respectively.
    Good luck!
    It took me a while to get this going, but I was able to install SugarCRM on Mac OS X using the following threads as my guideline. My major problem was missing MySQL Headers preventing PHP 5 from being compiled.
    MySQL headers were missing from the Mac OS X Server distribution and I needed to get these before starting (see thread: http://lists.apple.com/archives/macos-x-server/2007/Nov/msg00277.html). Then, I followed the steps to download and compile PHP 5 with IMAP. Followed the steps to compile PHP5 and then once I recompiled PHP, Apache did not work, so I recompiled Apache.
    If you can not compile PHP and it stops at searching for the MySQL headers, you can download them here (see thread: http://lists.apple.com/archives/macos-x-server/2007/Nov/msg00277.html).
    As per the thread, you can download the headers from here:
    (Follow instructions in ReadMe)
    download and unpack from:
    http://www.opensource.apple.com/darwinsource/other/MySQL-43.binaries.tar.gz
    sudo tar -xzvf MySQL-43.root.tar.gz -C /
    Follow steps for recompiling php and IMAP in THIS thread from David Shauger1 (Thanks David)
    To install the IMAP extensions do this (as root):
    sudo mkdir -p /SourceCache
    cd /SourceCache
    You may not need to download new c-client - look in /SourceCache for prior downloads (this note is for me)
    sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
    sudo tar xzf c-client.tar.Z
    sudo mv imap-2006k imap-2006h
    cd imap-2006h
    sudo make oxp
    cd c-client
    sudo cp *.h /usr/include
    sudo cp *.c /usr/lib
    sudo cp c-client.a /usr/lib/libc-client.a
    Then, download recompile the latest version of PHP 5 following these instructions:
    http://downloads.topicdesk.com/docs/UpdatingPHP_on_OS_XServer.pdf
    You may not need to download a new PHP - look in /SourceCache for a previous download (this note is for me)
    mkdir -p /SourceCache
    cd /SourceCache
    curl -O http://us3.php.net/distributions/
    php-5.2.6.tar.gz
    tar xzpf php-5.2.6.tar.gz
    cd /SourceCache/php-5.2.6
    sh
    CFLAGS=-DBIND8COMPAT
    export CFLAGS
    php configuration command:
    sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs2=/usr/sbin/apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-mysql-sock=/var/mysql --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr --with-openssl --with-xmlrpc --with-xsl=/usr --without-pear --with-imap --with-imap-ssl
    make
    make install
    exit
    Finally, follow steps for recompiling apache
    Read entire thread (http://discussions.apple.com/thread.jspa?messageID=5676677&tstart=0)
    1. Download the Apache2 source from http://httpd.apache.org/download.cgi (latest version is 2.2.9) and extract it.
    2. Open Terminal and go to that directory. If you extract sources into your Downloads folder, type "cd ~/Downloads/httpd-2.2.9" and hit return
    3. Type "./configure --enable-layout=Darwin --enable-mods-shared=all" and hit return
    4. Wait for the process to complete and then type "make" and return
    5. Wait for the process to complete and then type "sudo make install" and return

  • How to update php

    hello,
    i'm using personal web sharing on os x, which still has PHP 4. i'd like to get version 5. can anyone tell me how to do this?
    thanks!
    Caleb

    I have seen more folks fight to get Entropy's PHP ver5 working, and they have all given up.
    Because they miss one piece of the instructions: they forget to go back into the Apache config file and disable the lines that enabled PHP 4 in the first place. Or they download the wrong version of PHP 5 for the version of Apache they have.
    Otherwise, I think it's a relatively simple update if you use Marc's installer package: make sure you download the version for APache 1.3 if you're using the stock Apache that came with your Mac. And make sure you comment out these two lines in the Apache config file:
    #LoadModule php4_module libexec/httpd/libphp4.so
    #AddModule mod_php4.c
    Those two lines don't appear together, by the way, but you can just search for them and make sure they have the "#" at the beginning.
    The final step is that once you comment out the lines and install PHP5, you have to restart the Apache server. Some people forget that, too.
    charlie

  • I can't connect to MySQL getting Error #2002 after I updated php

    I'm on a mac and I updated my version of PHP and installed the GD library.
    The problem is that I needed up date my connection to the database or something to that affect so I ran this command line:
    sudo mkdir /var/mysql
    sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
    And it worked... but then I restarted my computer and now I can't connect and I'm getting the error I had of...
    #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
    So I tried the above two lines of code and it said those files/directory exist.
    I went into /etc/php.ini file to change this mysql.default_socket = /var/mysql/mysql.sock
    So what do I need to do here to change this permanently?

    Post Unix queries to the Unix forum under OS X Technologies.

  • Dreamweaver templates not updating *.php file

    Hello everyone,
    I have been given an exisiting website to update that uses
    Dreamweaver templates.
    I have made the changes successfully within the content.dwt
    file, saved it, and then uploaded both the new content.dwt file and
    the related *.htm pages that were linked to it.
    After going to the website to double check the new pages I
    found a *.php file that uses the same template, content.dwt, but it
    never asked to update that particular file.
    So, I opened the *.php file in Dreamweaver and tried to apply
    changes from the content.dwt file to it using: Templates - Update
    current page, but no such luck. Since there is no code at the start
    of this file like the other *.htm files how do I "connect" it with
    the newly updated template. I tried making a small change on the
    content.dwt file so see what files would come up in the "do you
    wish to update..." list but for some reason the *.php file is not
    there.
    Perhaps the answer is fairly obvious to someone who has
    worked with Templates a lot but since I have just started working
    with templates I still have a large knowledge gap in this area.
    Any help would be appreciated.
    Many thanks
    Mr Zedd

    Can you post a link to the PHP page, please? This will allow
    me to see the
    HTML markup on it....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mr Zedd" <[email protected]> wrote in
    message
    news:eviqn8$ntm$[email protected]..
    > Hello everyone,
    >
    > I have been given an exisiting website to update that
    uses Dreamweaver
    > templates.
    >
    > I have made the changes successfully within the
    content.dwt file, saved
    > it,
    > and then uploaded both the new content.dwt file and the
    related *.htm
    > pages
    > that were linked to it.
    >
    > After going to the website to double check the new pages
    I found a *.php
    > file
    > that uses the same template, content.dwt, but it never
    asked to update
    > that
    > particular file.
    >
    > So, I opened the *.php file in Dreamweaver and tried to
    apply changes from
    > the
    > content.dwt file to it using: Templates - Update current
    page, but no such
    > luck. Since there is no code at the start of this file
    like the other
    > *.htm
    > files how do I "connect" it with the newly updated
    template. I tried
    > making a
    > small change on the content.dwt file so see what files
    would come up in
    > the "do
    > you wish to update..." list but for some reason the
    *.php file is not
    > there.
    >
    > Perhaps the answer is fairly obvious to someone who has
    worked with
    > Templates
    > a lot but since I have just started working with
    templates I still have a
    > large
    > knowledge gap in this area.
    >
    > Any help would be appreciated.
    >
    > Many thanks
    >
    > Mr Zedd
    >

  • Error after updating PHP

    I just updated my PHP installation with the latest version and I've got an error I don't know how to deal with. I admit that I don't know as much about all this as I should, but I'd appreciate if someone could help me figure this out. I used the fine instructions at Topicdesk which I've used before. After I ran the latest updates I lost my PHP mods so I updated again and started getting this error on a 'php -v' command.
    Specs - 10.4.11 on a dual 867MHz G4 MDD
    Error - PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20020429/php_gd2.so' - (null) in Unknown on line 0
    Thanks,
    David

    Yes, Tiger Server 10.4.11. The guidelines I followed were:
    http://osx.topicdesk.com/content/view/44/62/
    and
    http://osx.topicdesk.com/content/view/48/62/
    Respectively, with one exception. One of the libraries in the GD install manual has been updated since written so I installed the latest version.
    GD is loaded as I'm using it in a number of sites I host.
    Here's full output of 'php -v'
    strflt:~ tknospdr$ php -v
    PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20020429/php_gd2.so' - (null) in Unknown on line 0
    PHP 4.4.8 (cli) (built: Jun 6 2008 22:44:44)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    Thanks,
    David

  • [security] php 5.2.0 update (remote code execution)

    Hi!
    I just throw together an updated PHP package for those of you who want to patch your web servers against the advisory released yesterday.
    The package is available here:
    http://adiza.nexticom.net/files/package … pkg.tar.gz
    The advisory is available here:
    http://www.frsirt.com/english/advisories/2006/4317
    Note that it is without IMAP and ODBC support since i did not have these packages installed.
    Greets.

    cactus wrote:mhakali. I applaud your attention to security.
    However, it is generally not well received to post the same thing in multiple categories..
    Yes. Please do not cross-post: http://bbs.archlinux.org/viewtopic.php?p=205922
    Use the above  thread for discussion.
    Locking.

  • Does anyone know how to update/recompile PHP to include IMAP?

    I've just installed phplist (http://www.phplist.com/), which is a newsletter mailer based on php. Some of the features require that IMAP be installed with the php installation. Evidently Apple's OSX install does not include IMAP in PHP by default, but presumably IMAP can be added if PHP is recompiled. (See http://www.php.net/manual/en/ref.imap.php). I was planning on updating PHP using Alex's very helpful tutorial, available at http://osx.topicdesk.com/content/category/4/18/62/, and at the same time adding IMAP.
    Altho Alex does not touch on IMAP in his tutorial, I believe that to includ IMAP in the PHP installation, the configuration string must include "--with-imap-ssl=/sw --with-imap=/usr/share/c-client", or something similar. In any event, it seems that "c-client" does not live in /usr/share nor anywhere on my system, so I have not attempted an installation so far.
    Does anyone know how to update/recompile PHP to include IMAP? And if "c-client" is required, how do I intall that first?

    Disregard last post--that was a non-starter, but I think I have a successful installation, which I will post here as the documentation on this from php and from phplist is pretty bad:
    First get and compile the c-client library, which is necessary for those wanting to run phplist:
    sudo mkdir -p /SourceCache
    cd /SourceCache
    sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
    sudo tar xzf c-client.tar.Z
    cd imap-2006h
    sudo make oxp
    sudo mkdir lib
    sudo mkdir include
    Next open /SourceCache/c-client and drag all the */.h files (including the aliases) into “include.” Then drag all the */.c files (aliases too) into “lib”.
    Find “c-client.a” and change name to "libc-client.a" and place in the lib folder.
    Correct permissions on lib and include.
    Finally install php (cheers to Alex) as follows:
    cd /SourceCache
    sudo curl –O http://us.php.net/distributions/php-4.4.7.tar.gz
    sudo tar xzpf php-4.4.7.tar.gz
    cd /SourceCache/php-4.4.7
    sh
    CFLAGS=-DBIND8COMPAT
    export CFLAGS
    sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-mysql=/usr --with-mysql-sock=/var/mysql/mysql.sock --with-imap=/SouceCache/imap-2006h --without-pear
    sudo make
    sudo make install
    sudo apachectl graceful restart
    exit
    One last question, Alex: can I safely delete the SourceCache folder now that the installation is complete? My only concern is that the config string points to items in the folder, and I'm wondering whether I ought to have placed them inside /usr/share instead of SourceCache, or doesn't it make a difference?
    Lost count Mac OS X (10.4.9)

  • How to insert date into updated record (MySql, PHP)

    I want to be able to update an existing record and automatically include the date the change was made when I submit the data back to the MySql database.
    I saw this thread on how to insert the date on a new record using NOW()
    http://forums.adobe.com/thread/855152?decorator=print&displayFullThread=true#855152
    After reading it I successfully amended my insert.php page.
    Here's the code from my insert.php page which works nicely:
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO standardsclient_tbl (client_name, pantone_ref1, pantone_ref1_image, font_ref1, font_ref1_image, `date`) VALUES (%s, %s, %s, %s, %s, NOW())",
                           GetSQLValueString($_POST['client_name'], "text"),
                           GetSQLValueString($_POST['pantone_ref1'], "text"),
                           GetSQLValueString($_POST['pantone_ref1_image'], "text"),
                           GetSQLValueString($_POST['font_ref1'], "text"),
                           GetSQLValueString($_POST['font_ref1_image'], "text"),
                           GetSQLValueString($_POST['date'], "date"));
    This is the update.php page, I changed `date`=%s to `date`=NOW() but all this did was stop me from updating the record at all.
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE standardsclient_tbl SET client_name=%s, pantone_ref1=%s, pantone_ref1_image=%s, font_ref1=%s, font_ref1_image=%s, `date`=NOW() WHERE client_ID=%s",
                           GetSQLValueString($_POST['client_name'], "text"),
                           GetSQLValueString($_POST['pantone_ref1'], "text"),
                           GetSQLValueString($_POST['pantone_ref1_image'], "text"),
                           GetSQLValueString($_POST['font_ref1'], "text"),
                           GetSQLValueString($_POST['font_ref1_image'], "text"),
                           GetSQLValueString($_POST['date'], "date"),
                           GetSQLValueString($_POST['client_ID'], "int"));
    Can anyone see where I've gone wrong?
    Thanks

    In update query you have 6 %s but 7 GetSQLValueString. That's your problem.

  • PHP+Lighttpd Post Update Issues

    Since I've updated PHP and Lighttpd, my sites become unresponsive after several minutes of use. There are no errors in any error logs that I can see. To get it working, I have to restart lighttpd but there are several php-cgi processes left over, so I kill them as well. It seems that the php-cgi processes are hanging up but I'm not sure how to troubleshoot that.
    It just seems to have broke since this last PHP and PHP-CGI update.
    Any help? Thanks!

    u can get v15 from the nokia care point!
    first i think u should be sure ur mass memory is not so fully!
    than u can get quick a little!
    second besure not installion too much software!
    Do better than the best!

  • ANN: "Foundation PHP for Dreamweaver 8" - DW 8.0.2 updates

    Readers of "Foundation PHP for Dreamweaver 8" who have
    installed the
    Dreamweaver 8.0.2 updater, should visit the book's update
    page at
    http://foundationphp.com/dreamweaver8/updates.php#802updater
    I have posted details of changes resulting from the release
    of the 8.0.2
    updater. The main issues are as follows:
    * SQL queries that use MySQL functions may be corrupted
    (Adobe has
    confirmed this as a new bug).
    * Changes to the Advanced Recordset dialog box.
    * XSL Transformation server behavior fails in PHP 5.1.4 (not
    clear
    whether this is a Dreamweaver bug or a PHP one). Fortunately,
    there is a
    simple solution - Adobe has been alerted to the problem.
    I have also created new download files for Chapters 8 - 10
    (Chapter 11
    will follow later). They will eventually be moved to the
    book's official
    downloads page, but can already be downloaded from the
    friends of ED
    forum at the following address:
    http://friendsofed.infopop.net/2/OpenTopic?q=Y&s=989094322&a=tpc&f=8033053165&m=7831083921 &r=5741045921#5741045921
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

    David Powers wrote:
    > Readers of "Foundation PHP for Dreamweaver 8" who have
    installed the
    > Dreamweaver 8.0.2 updater, should visit the book's
    update page at
    >
    >
    http://foundationphp.com/dreamweaver8/updates.php#802updater
    >
    > I have posted details of changes resulting from the
    release of the 8.0.2
    > updater. The main issues are as follows:
    >
    > * SQL queries that use MySQL functions may be corrupted
    (Adobe has
    > confirmed this as a new bug).
    > * Changes to the Advanced Recordset dialog box.
    > * XSL Transformation server behavior fails in PHP 5.1.4
    (not clear
    > whether this is a Dreamweaver bug or a PHP one).
    Fortunately, there is a
    > simple solution - Adobe has been alerted to the problem.
    >
    > I have also created new download files for Chapters 8 -
    10 (Chapter 11
    > will follow later). They will eventually be moved to the
    book's official
    > downloads page, but can already be downloaded from the
    friends of ED
    > forum at the following address:
    >
    >
    http://friendsofed.infopop.net/2/OpenTopic?q=Y&s=989094322&a=tpc&f=8033053165&m=7831083921 &r=5741045921#5741045921
    >
    David,
    Will this affect pages prospectively? In other words, if I
    update to
    8.2 and then create the database and queries, will everything
    be just
    tickety boo and it's only already-created functions that are
    in jeopardy?
    Thanks for staying on top of this!
    Bonnie in California
    kroko at
    sbcglobal dot net
    http://www.theanimalrescuesite.com/cgi-bin/WebObjects/CTDSites.woa

  • Apache 1.3.33 and PHP 4.3.11 compiled in

    The package
    Here are the good stabile versions of both Apache and PHP including the following stuff:
    - support for these databases: mysql, postgresql, firebird
    - gdi support
    - mod_ssl along with a dummy certificate
    - eaccelerator for PHP and the default configuration for it
    - mod_gzip for pages compression
    - mod_security for ids system (see Snort and making its rules compatible with mod_security). Also remember to disable rules if you get problems with PHP developement. mod_security tends to be too aggressive at first with these default rules.
    The files
    PKGBUILD
    httpd
    apache13.install
    http.conf.d
    httpd.conf.mod_gzip
    httpd.conf.regression-v2
    httpd.logrotate
    Done
    02.05.2005
    - fixed apache13.install to properly stop the server before unistall
    - set eaccelerator to be configured more like it is in cactus's package
    01.05.2005
    - backing up etc/php.ini and etc/httpd/conf/httpd.conf
    - added logrotate support code from Judd's package
    - phpize is now called from startdir instead of /usr/bin/phpize for eaccelerator
    30.04.2005
       - the package depends now on my firebirddb package. It was needed because
    libgds.so is needed when firebird support is compiled in
       - disabled imagick for the time being - got to find out how to make it compile properly by default
       - cleaned up the code that sets up php (the manual file copying doesn't seem to be needed anymore with 4.3.11)
       - made phpize to be called from ${startdir}
       - set mod_security filtering to Off as default
    29.04.2005 - updated php to v. 4.3.11
       - Tested using Gallery 1.4.4-pl5 and my own project (a lot of database activity and file handling)
    28.04.2005
       - fixed eaccelerator and it now works (php.ini had eaccelerator's settings inserted wrong way with "-marks). The execution of some scripts that took before 0.075 - 0.09 seconds now only takes 0.03-0.04
    27.04.2005
       - cleaned up code a bit and old comments and disabled cookie format checking for mod_security that was causing 500 error
    Todo and thoughts
    <i>10.05.2005</i> - found a great guide about securely setting up apache and php
    - it would be really great to implement a curses-based configuration where the PKGBUILD would be edited according to choices the users makes (because there are changes needed in many parts of the file) - this way the package would really be for everyone
    - deleting default apache manual
    - to get imagick to compile- graphicsmagick installation to work properly or to make it optional
    (ignore the text about graphicmagic in PKGBUILD - it was just for my own tests)

    I built it today and tested again and compiling part went just fine. Only apache13.install was missing - it had pre-remove commands (if server is already running to stop it). Then removed the older same package (pacman -R) and replaced it with the new one. Then started up apache and had 500 error - it was caused by mod_security. Turned off cookie filter in httpd.conf.regression-v2 (SecFilterCheckCookieFormat Off) and then it started up fine.
    The eaccelerator did not appear on php info page, so got to fix setting it up... Please let me know what else seems suspicious to you and what might cause errors.

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hi there,
       I would like to create a dynamic newsflash using dreamweaver and PHP in that the newsflash will be pulling information from a MySQL database. The newsflash should also have a link to view more information about the piece of news a user wants to know more about. Which tools do I need to use in dreamweaver and how's the procedure to go about that. Any advice is highly appreciated. Thanx in advance!

    I think you´ll need at least a MySQL table with the following columns:
    - id (primary key, int, auto_increment etc)
    - news_headline (varchar)
    - news_teaser (text)
    - news_content (text)
    What I´d personally add are columns such as:
    - news_date (date or datetime)
    - news_external_link (varchar), if a "read more..." link is supposed to navigate to an external URL rather than displaying the contens of the "news_contents" column.
    Based on such a MySQL table it should be easy to use Dreamweavers standard Server Behaviors to create the usual datalist.php, insert.php, update.php and delete.php documents, and there are numerous tutorials out there which will teach you how to do that.
    Am I right when assuming that you´ll also need to know how to automatically pull, say, the 5 most recent news records from the database ?

Maybe you are looking for

  • Once a movie is copied into iTunes, can I delete the file from the folder?

    I've copied several movies into iTunes and then sync'd them onto my Apple TV. My question is: Once I've copied a movie into iTunes, can I delete the movie from its original folder (e.g. the Movie folder) and still have the movie in my iTunes? More sp

  • Auto-Display of Navigation Panel

    I'm frustrated with searching help for the answer to my question - certainly someone out there can point me in the right direction! I'm a novice using Acrobat Pro 9.  I've created a pdf from a Word Doc and have added bookmarks to navigate to the chap

  • Oracle 9i and 9i Developer Suite don't work together

    I've tried to install 9i and 9iDS in different homes. Then, I can work with SQL*Plus (of 9i) but all 9i DS's applications don't work at all. The main problem is that I can not connect to the Database of 9i. Is there any body know the solution? Pls he

  • Error in Turning on Genius

    I have been using iTunes on my Macbook for the last 1.5 years. Every time I try to turn on Genius, I get the following error message: "We are currently experiencing technical difficulties. Please try again later." Initially I thought that there could

  • Ora-00439 error

    Hello, after something happened to the Data_Warehouse.dfj template i managed to get a copy from a colleagues system. This time when i go to create a database using the General Purpose template in DBCA, at around the 45% of Database creation time bar