PHP / MySQL on Clean Install

I've just been asked t set up a new production server using 10.6.8 server.
I've got a clean install of 10.6 Server with the software update completed to 10.6.8.
I have DNS, Open Directory, AFP, SMB & Web services running.
In the web server I have enabled the PHP module *and* checked that this has been uncommented in the httpd.conf file and restarted everything (even tried rebooting) but PHP is still not running.  
What else do I need to do to get PHP running on a clean install?
What (if anything) will I need to do to get MySQL running and talking to PHP?
This is the first time I've had to bring up a production web server using OSX server so sorry if these questions are a little lame. 
We're using MAMP on the development server, but this is for production.

Assuming php5_module is eanbled in the module list, you'll need to get php.ini created and configured for local requirements from the /etc/php.ini.default default using nano or vim or such, and you need to enable CGI execution for the particular web site in the options tab and add (usually) index.php or such into the list of files in the default list in the general tab of the web site.  You might want server side includes and you probably do not want WebDAV and folder listings.
Quick write-ups I did a while back here is how to enable php on OS X Server and FWIW, here is how to enable php on OS X client.  The latter has some more details on working with the php.ini file.
And FWIW and solely to confirm your DNS services are correct — mentioned only because DNS is fundamental to the whole configuration of OS X Server, and getting DNS wrong tends to cause cascading failures in other services and difficulties — launch Terminal.app and issue the following non-distructive diagnostic command:
sudo changeip -checkhostname
After some chatter about the local host, that'll then (usually) tell you if DNS is correct or if it needs changes.

Similar Messages

  • Installed PHP & MySQL, and now I have file permission errors.

    Hi Everyone
    I recently made a switch from using MAMP to making a separate installation of PHP, MySQL and Rails. I used the first tutorial for Rails + MySQL, and the second one for PHP;
    http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx
    http://www.entropy.ch/software/MacOSx/mysql/
    Unfortunately, I now receive errors when trying to install activeCollab through it's own PHP install script, and WordPress won't let me import xml backups into a locally installed WordPress. This must mean that I don't have full Read/Write access to my 'Sites' directory (this is set as my default htdocs in the Apache httpd.conf). I haven't noticed any problems with Rails - so far it's only been PHP based CMS's which have thrown up the permission errors.
    I've checked the file permissions on my 'Sites' folder - I'm the only user on the machine, and my account has full Read/Write access to the folder. However, I've noticed that there is also the option to choose 'Group' access, for which my account is again selected and given Read/Write access.
    Then there is 'Others' category, and this has 'Read only' access. Is there an option in there which I need to select and give Read/Write permissions to? mysql, php ?
    Or, is there a MySQL/PHP/Apache config file somewhere, within which I need to give global read/write permissions?
    I didn't have this problem when I was served up local sites from MAMP - and I also configured MAMP to use the 'Sites' folder as it's default htdocs folder. I get the impression that because MAMP was installed as an 'Application', that it automatically inherited my user permissions - maybe PHP and MySQL don't inherit my user account permissions because they are services?...
    I've come very far with getting everything installed to work with the OS X bundled Apache server (which I believe is 1.3 - I certainly haven't updated it) so I'd love to get everything finally configured - therefore, any help with this is very, very much appreciated!
    MacBook Pro 2.4Ghz    

    You'll probably get a better response at the Server Products or Networking & Web http://discussions.apple.com/forum.jspa?forumID=733 forums.

  • Clean install OSX+S 10.9 then migrate data from 10.6 Server?

    Howdy All,
    I've had OSX Server from the first release but stopped at Snow Leopard Server waiting for the "new server" to mature a bit.  I think it is time now to move to OSX Server 10.9 but also for a clean install to clear out the crud that has collected over all these years. 
    I have two main partitions: one for the OS with the Mail store and Wikis and another for user home directories and other files.  Again this is going from Snow Leopard Server 10.6.last to 10.9 Mavericks and then Mavericks Server
    My question is:  If I clean install Maverick and then Mavericks server on another partition will I be able to migrate data and services over manually? 
    Of course, I will need to setup users and directory services again from scratch (but that is part of the plan to clean out the unused stuff that has collected over the years).  I don't mind setting up fileshares, Web sites, DNS, and similar again.
    However, when this is done will I be able to copy the mail store (i.e. all users email) over and will it be detected, updated if needed, and work?  Similarly, when I copy over the wikis, will they be detected, updated if needed, and work?
    Further, when I setup the symbolic links for home directories again (onto the other partition), will the home directories be updated (if needed) and work?  I'm not sure what could have changed with regards to home directories but you never know.
    In summary, I guess my question is about what migration only happens when you update as opposed to what happens when an older version of a resource or service is detected after an update.  Hopefully there is more of the latter than the former. 
    Thanks in advance for any thoughts on this.
    Cheers,
    Ashley.

    Out of your services (AFP/SMB, Mail, OD, SWU, and web), the one with the most potential for disaster and headache is clearly mail.  If you are using the same host device, cutting services over in pieces will not be possible.  However, here are some suggestions and potential points of concern.
    AFP/SMB file services are cake.  The only thing you need to consider is the potential time to copy the data if you are moving it to new disks.  The other issue will be user's GUID values and the associated ACLs.  Let's take the following scenario based on what you've detailed.
    • You have data on /HDD/Shares/ and you are planning on moving them to the SSD.  Is the SSD drive large enough to accept this data? 
    • If you had a share /HDD/Shares/Data and this contained an ACL allowing the design group to have access, the design group from the 10.6.8 OD may have a different GUID than the one you create on the 10.9.1 system.  If this is the case, you can purge all ACLs with a sudo chmod -R -N /path/to/data.  (Server.app should remove and then add but older versions resulted in merged messes so I go nuclear on the old settings)  Then you can apply your new ACLs and allow the permissions to propagate.
    • If you are leaving the data were it is, you will simply need to reset permissions.  However, note that if you are exporting and then importing users (via an OD backup or via standard record format) then you are maintaining GUID and should not need to touch any permissions.
    Regarding SWU, I would suggest looking into Caching server.  If you are moving the entire environment to 10.9 and iOS 7, SWU is no longer needed.  Caching server is easy as pie, requires no client configuration, and is more economical on your internet connection and server storage requirements.
    Web is pretty easy also.  But, this is dependant on what you are doing with web.  If html/php/perl then you pretty much just move your site folders and you are up and running.  If you were using MySQL, note that Apple replaced it with Postgres.  You can either perform a conversion from MySQL to Postgres or you can just install MySQL again manually.  The choice is yours.  If you are not doing database backed sites, the migration should be cake.
    OD is one of those technologies that I always prefer to start clean.  In really large environments, this can be very tough due to passwords.  You can export an OD backup from 10.6 and attempt a restore in 10.9.1.  If you have a lot of MCX in 10.6.8, you may run into some trouble as Apple has deprecated MCX in 10.8 and above.  However, this ensures that you have everything, from password to GUID.  Test, test, and test some more if you go this route.  An alternate option, especially if you are embracing the move away from MCX and to Profiles, is to do a user and group export for 10.6's Workgroup Manager.  This will not provide passwords but it will provide editable text files of your account data.  You can strip out the MXC and other legacy values and then use the resulting file to import users into a clean 10.9.1 OD master.  Once again, you will not get passwords unless you add them to the import file.  You need to figure out how many accounts and how sensitive users are to password resets.
    The final piece is mail.  This is the one area I have very little experience.  I've been burned by Apple's mails solutions from way back in the AppleShare IP days and now make it policy to use anything else but Apple's mail solution.  In a perfect world, moving the mail data store to the new OS and triggering Server.app should be enough.  But Apple + mail never seem to enter the realm of a perfect world.
    And finally, make sure DNS is correct before you do anything.  Since you are dealing with mail, you should also shut firewall port forwards to prevent new mail from coming into the server while you work on the migration.  Nothing worse than stitching mail together after a blown migration attempt.
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in the Apple iBooks Store

  • Problems with Apache PHP Mysql

    I tried doing an upgrade from Tiger to Leopard server but was having lots of issues while working with the virtual sites I have hosted. I tried a clean install and I was still unable to get Apache php and mysql to work together. Each service was starting fine but when I would try to run a php file it would only display a white page. Under the upgrade instead of displaying the page it was downloading any page I tried to load.
    In the new clean install I enabled phplib5 through server admin but even a simple info.php file with <?php phpinfo(); ?> was only giving me a white page. I dont know if mysql was interfacing with php and apache at this point cause I could not get any further. I mainly just want to be able to run wordpress which is a php blog that uses a mysql database.
    I have heard some people talking about mamp installs and not using the stock web services but I did not know if that would be a smart route to take.

    well the problem come in that you could end out with multiple releases of the same application when the idea is to make one package "stable"
    would you rather have a debain package data base that has seventeen apache's or one stable full featured apache?
    as for a server/stable tree for production machines this is coming. implimentation is not the trouble it is time that is a factor.

  • 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.

  • How do I completely remove all of firefox and give it a clean install?

    Every time I go to yahoo.com one of the plugins I have installed crashes firefox. I can't quite figure out which one it is, I deactivate them or run FF in safe mode and it still crashes. I've uninstalled FF and reinstalled with the newest version and all the plugins and bookmarks carry over so I can't get a clean install. I was able to install an older version of FF and it worked fine. So short of running old unsafe software or trolling through my registry and potentially messing more things up, I am at a loss.

    Anything that is involved with LSP (i.e. links itself in the network connection) is suspicious.
    *http://www.pearlsoftware.com/resources/UserGuide7.pdf
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • Clean install, migration, time machine

    I am not a MAC OSX specialist in any way, but I would like to share what I have found out the hard way about the clean install.
    1) Never do this unless you are absolutely sure that you have complete back up. Time machine cannot restore to the latest backup status, it can only go back to full backups and those are not made very often. In my case it was July 29, 2012. What a surprise! . Do the vital backups by hand. I propose copying your home folder to an external disc or usb pen drive. Copy Application folder as well. Why? If you are fond of iWorks'09 and hate new versions and you do clean install your favourite software is gone. You may just as well erase your Time Machine disc and start backup from clean drive. I didn't do it.
    2) Make copies of your mails.
    3) If you purchased software outside AppStore make notes of serial codes. Mail backup helps.
    4) When making USB drive bootable do it this way: http://forums.macrumors.com/showpost.php?p=18081307&postcount=3 it preserves RECOVERY partition which is needed for FIND MY MAC option and it is usefull to have it anyway. Place the USB intended for clean install directly into your MAC, don't use USB hub.
    5) Migration assistant never worked for me. The reason might have been that my last full Time Machine backup was done 18 months ago, and it was 10.8... I have read quite a lot about getting restore from the Time Machine, and dwelled on the subject myself.
    I can't give explanation why that happened but that is found out the hard way:
    - I discoverd that long name of the user should be different than the one you used before clean install.
    - After doing trial and error attempts I made short user name the same as in my user before clean install, and started it with a capital letter. Why? That gave me access to my time machine. When the I had a different short user name than stored in time machine then upon entry into time machine all the backups well dimed and going back was not possible. With the same short name the backups were accessible. The system complained that I had no permissions to access the folders. But that is possible to change. When you look up Time Machine folders in Finder, those that are restricted to you have got red circle with a white line inside. Ctrl click on the restricted folder and select Get info. Add yourself as a user that has the access and change permissions to read and write. Your Documents folder appear in every back up in Time Machine. The best it is to change the permissions in the latest backup.
    At the end of the day I managed to recover my mail. Data from other programs and my old MBP is up runnning again and faster. It takes however, a lot of work to make it.
    The biggest pitty is that I lost my Pages v4.3 and now don't have an option to recover it.

    Are you sure its not shown?  It should have a yellow or green icon, and list the name of the system and HD that was backed-up, not the one it's on.
    If not, try to repair the backups, per #A5 in Time Machine - Troubleshooting.

  • Transfer individual apps from Snow Leopard to clean installed Mountain Lion

    I had a Snow Leopard on Macbook Pro Early 2011.
    Took a backup (a clone with Carbon Copy Cloner) of the system and erased my volume to install an SSD and HDD combination, then did a fresh install of Mountain Lion from thumb drive , which I had prepared earlier from an App Store download.
    Now installing all applications manually to have it clean. Some apps, though, I cannot do clean install, either because I do not have the original install packs or do not want to lose all my personal data on them.
    iLife (Garage Band, iDVD, iPhoto, iMovie, iWeb, what else?)
    Mail
    iTunes
    HOw can I go around bringing these apps from my clone into the new ML ?
    I am aware of the option to pay for the iLife apps in the App Store.

    macjack's suggestion worked for the iLife apps.
    I just ignored the "expired certificate" warning of the Disc 2, "Application Installation Disc" and installed the bundle.
    Then without opening them, I went for "software update". Now the App Store allowed me to download the updates. Will take several hours. But I think they are the most up to date versions, so I won't have to pay.
    for mail, I followed the below instructions found here (http://forums.macrumors.com/showthread.php?t=1422832)
    1) Go to users/Library/Containers/com.apple.mail/Data/Library/Mail
    2) Delete V2 folder and copy data you have in SL Mail folder
    3) Go to users/Library/Containers/com.apple.mail/Data/Library/Mail Downloads
    4) Copy data you have in SL Mail Downloads folder
    3) Go to users/Library/Containers/com.apple.mail/Data/Library/Preferences
    4) Delete com.apple.mail.plist and copy the same file you have in SL Preferences folder
    5) Open Mail

  • How do I do a clean install of iTunes ?

    how do I do a clean install of iTunes ?
    One of the guys at apple support suggested I do this after I upgraded itunes - now it shuts itself down after 2 seconds !!!
    When is apple going to fix this ?

    Is there something Apple needs to fix? While you and a handful of other people are having problems there are  millions of others who do not come here and post simply because they are not having problems.  Given the complexity of computers there is likely some small file that is not being installed properly or there is something else you have installed that is conflicting with other software, or your computer file management is having problems and something is not where it should be.
    First, I would check if it is really a problem with the application. You do not provide details on what is happening so it is hard to help.  Try starting itunes in Safe Mode:
    iTunes Safe Mode - http://hints.macworld.com/article.php?story=20090915214613484
    iTunes: Troubleshooting issues with third-party iTunes plug-ins - http://support.apple.com/kb/TS3430 - hold down the Option and Command keys (on Mac OS X) or holding down the Shift and Control keys (on Windows) while opening iTunes
    If that doesn't help (short-term), restart normally but hold down the option key and make a new, blank library.  If itunes starts that way then you have a corrupt library file and it will need to be rebuilt (more information later if that is indeed the issue).
    If you're determined to reinstall itunes, I don't know if this works with Lion since I believe they really tied itunes into the operating system rather than leaving it as an independent application, but try dragging the iTunes application in your Application folder to the trash, then empty the trash.  Back up your computer before installing any new software.  If the update does something you don't like this is the only way to revert.
    Verify your hard drive with Disk Utility's First Aid.  If it reports problems then that has to be dealt with before you do anything else.
    Use Disk Utility to repair permissions.
    Download the update from Apple.  Some of us don't use Software Update to actually update, just so we know the installer file is safe and sound on our computers for use.
    Install the update.
    Repair permissions again.
    Restart your computer.
    There are also preferences files that could be the issue. Those are hidden from you in Lion and again, it's a separate post on how to deal with those.

  • I need help with DW, PHP & MySQL please.

    Hello, I am new to website development and am trying to set up a form for collecting data on my website and have a question that I can’t find an answer to anywhere else. I was wandering if someone there would be kind enough to help?  I am using Dreamweaver in CS4 and my host already has PHP & MySQL installed on the server that I can use.  My question is: Do I need to download XAMP or WAMP on my computer before trying to connect my form to the server?  Also, do I need to change the page I am putting the form on to .PHP extension or can I just embed the PHP form into an existing HTML page?
    Most of the training tutorials I’ve read don’t start at the most basic beginning but rather expect people to already have a basic knowledge of the topics they are trying to learn.  If anyone knows the best place to get answers to the most basic questions like this one or a beginners guide to working with DW, PHP & MySQL I will gladly go there rather than waste your time on questions you’ve probably already answered a bezillion times.
    Thank you for the help.

    Strictly speaking, you don't need XAMPP or WAMP on your local computer. But if you're serious about getting involved with PHP/MySQL, you should definitely set up a local testing environment with one or the other. It's safer and more efficient. Don't expose all your errors on a live server. You can find instructions on  how to set up a testing environment here: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html.
    To develop with PHP, you should always use a .php file name extension. Any other choice is very rare.
    There's a tutorial on building your first dynamic website with DW here: http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html.
    For more in-depth help, you might want to consider grabbing hold of a copy of "The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP". (Yes, I wrote it, so it's a bit of shameless self-promotion, but you'll find it answers many of your questions - and probably a lot you hadn't even thought of.)

  • How to use spry in the dreamweaver with the php/mysql

    hello,
    Iam new to the spry framework
    and i want to know can we use the spry in the dreamweaver
    along with php / mysql code
    if so please tell how to do this
    thanks in advance

    swetha123 wrote:
    > but when i complie this page it is not showing the
    preiew or any thing in the
    > browser i saved this page with the extension .php if i
    run the same page with
    > .html then i can see the design but it is not being
    executed
    The reason you get nothing when you save the page with a .php
    extension
    is because you have display_errors turned off, so you can't
    see the
    error message telling you there's a syntax error. The
    semicolon is
    missing at the end of this line:
    > echo "<font color='white'>Hello
    Swetha</font>"
    The reason it doesn't work with an .html extension is
    probably because
    you haven't uploaded SpryAssets/SpryTabbedPanels.js. I have
    copied your
    page and tested it locally with the correct JavaScript file,
    and the
    tabbed panels work as expected.
    There are lots of other mistakes in your page. You can't use
    float and
    position:absolute on the same element. In at least one place,
    you have
    used </br> instead of <br />. You have also got
    an closing paragraph tag
    after the paragraph that contains abc.jpg.
    Getting Spry or any other JavaScript library to work
    correctly relies on
    good, clean code. Your mixture of inline styles and font tags
    is going
    to make it difficult to incorporate Spry into your pages. I
    suggest you
    improve your HTML and CSS before bringing Spry into the mix.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • 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 math error when using format(somenumber,2)

    osx 10.5.2, php 5.2.5, mysql 5.0.51 (standard leopard desktop os install)
    Select format(myField,2) as someNumber from myTable ...
    returns data i would expect, formatted as you would expect.
    while looping through the data returned i am calculating a running total.
    for numeric values less than 1,000 results are expected. for numbers gt 1000, php seems to want to truncate the value at the comma. 1,111.11 evaluates to 1; 25,000 evaluates to 25.
    If you remove the format() from the sql statement everything works the way you would expect.
    wrapping the value returned in a floatval() had no effect.
    I am posting this on the apple site rather than php/mysql forums on the off chance that this is a mac centric issue. googling the obvious combinations wasn't productive.

    Sounds like a locale issue.
    Many international formats use comma as the decimal separator, not the thousands.
    There are many levels where this could be set. It could be an OS setting (you don't say where you or, or the locale information of your machine (System Preferences -> International -> Format). It could be in PHP (see: http://www.php.net/setlocale ), or it could be in the database (data could be written in a comma-based table).
    It will take a little research to work out where your specific problem lies.

  • DW8.02 + php + mysql recordet issue

    Am absolutely new to PHP and MySql having been using ASP
    & MSSql for a
    long while.
    I have the latest versions of PHP and MySql installed which
    would both
    appear to be working correctly.
    When I go to create a recordset in the usual manner - if I
    press test I
    can see the correct data, when I click OK to finish I get a
    series of
    JavaScipt errors "while executing findSeverBehaviours in
    recordset.htm"
    (line 53??) etc etc cannot find TomLR-PHP-AdvRS.htm
    DW puts the code in the page, but the Bindings window remains
    empty.
    I've cleared the winfilecache - anyone got any other
    suggestions??
    TIA!!
    Buzby
    There's nothing more dangerous than a resourceful idiot

    twindude wrote:
    > Buzby
    >
    > I too am trying to convert some apps to mysql
    >
    > CAn you please post how you got this to work with DW8
    >
    > I am getting an error trying to setup the RS
    > when i try to 'select database"
    > i get this:
    > Your PHP server doesn't have the MySQL module loaded or
    you can't
    > use the mysql_(p)connect functions.
    >
    > I am running php/mysql on my xp pro workstation....with
    dw8 on it
    >
    > ??? loss......
    Sounds like you haven't installed the mysql module.
    I'm sure someone who knows much much more about it than me
    will be
    along in a moment.
    However - possibly the easiest way to do it without getting
    your hands
    dirty is to delete and then reinstall PHP - make sure you do
    the
    detailed route and look out for the modules section and check
    all the
    MySql ones (sorry can't remember exactly what they were
    called - I've
    only done this twice - the first one I bodged up!) -
    otherwise it's
    trawl through your php.ini file and uncomment all the mysql
    components
    that you think you may need!
    HTH
    Buzby
    There's nothing more dangerous than a resourceful idiot

  • Php/mysql behavours broken

    I don't know what is going on but my copy of DW8 is now
    unable to define php/mysql recordsets. I have a feeling that this
    may be caused by a rogue extension. Only thing is it may have
    occured a while back so I don't know when it started.
    The problem is:
    When I open an existing page which has recordsets on it I get
    the following error:
    Javascript error while loading recordset.htm
    Unable to open script file
    ...\serverbehavours\php_mysql\fieldtypes.js (error 2)
    I checked and the file was somehow missing so I replaced it.
    Now I am being told:
    The recordset script does not define the findserverbehavours
    function
    And I can see that the recordset is no longer there.
    When I try to creat a new recordset I get:
    The recordset script does not define the applyserverbehavours
    function
    Can anyone help
    Thanks

    bikeman01 wrote:
    > After a bit of experimenting it seems that my problem is
    caused by the DW 8.0.2 hotfix extension. Removing it put everything
    right.
    As long as you have installed Dreamweaver 8.0.2, you should
    also enable
    the hotfix extension. Your problems were almost certainly
    caused by a
    corrupted cache. Follow troubleshooting step 4 in the
    following page:
    http://www.adobe.com/go/tn_19105
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • "Unsupported Image Format" all of a sudden, with previously workable files

    Folks, I've got an issue that seems very strange indeed. Months ago, I bought a Pentax K20D. I also bought a 17" MacBook Pro and Aperture. Camera and Aperture played well together. I encountered the known issue with white spots on the image when usin

  • Is it possible to add support for new database type in Data Modeler?

    Hi, I see that Data Modeler v.4 supports different versions of Oracle, DB2 and MS SQL. Is it possible to add support for a new database family, PostgreSQL for example? I hoped that RDBMS Site editor can do it, but so far I don't see any possibility t

  • Material Document Not Shows the System

    Dear All      In my client is Done the Migo W r t Po but that Materail document not shows the PO History and Mb51, but i check the PO in delivery is Complted in delidery status. plz i need your help. Thanks  And Regards Sonu

  • Widget TV

    Love watching widget TV-- but how can I keep it visible on my desktop all the time while I work (when the other widgets are off)? I'd like it on in the corner of my monitor all the time.

  • Support Arabic language in adobeformscentral ?

    Hi to all, I create a form using adobeformscentral , it is amazing and I went to pay for Plus membership. but before I pay I noticed that I can't fill Arabic character and give me this error: Only Latin-1 characters are supported. Please modify your