Installing Apache2/PHP/MySQL on MacBook

I want to install and run Apache 2, PHP and MySQL on my MacBook. I tried using the binary packages available on the serverlogistics.com site mentioned in the Apple KB article I found, but, they are outdated and don't seem to work with Tiger. When I try adding the Apache PrefPane provided, for example, OSX tells me it can't open it and to contact the developer for a newer version (which isn't available).
Is it possible to install this software on a MacBook running Tiger? Is there something else I need to do first to make this work?
Thanks.

To use PHP then you will need to enable the PHP module by changing the httpd.conf file. To do this open Terminal and then type sudo pico /etc/httpd/httpd.conf and press enter (if it is the first time you use sudo then you will get a warning about this). Enter your administrator's password. Search for the line #LoadModule php4_module (about line 240) and remove #. Then look for the line #AddModule mod_php4.c (about line 284) and remove the #.
If you want the index.php file to have precedence over index.html search for <IfModule mod_php4.c> (it should be about line 1079) and change DirectoryIndex index.html index.php to DirectoryIndex index.php index.html.
<hr>
Could you give me some more background information on this? The command "LoadModule php4_module libexec/httpd/libphp4.so" - where is this libphp4.so located? Is it a file located somewhere on the hard disk? What about AddModule mod_php4.c?
The reason I'm asking is because I've recently installed PHP 5.1.6 which seems to have gotten installed in /usr/local but I am curious as to where the PHP 4 installation is and to make sure that I've not corrupted version 4 whilst installing version 5.
Mac mini   Mac OS X (10.4.7)   core duo (early 2006)

Similar Messages

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

  • Apache php mysql installation on arch

    does anyone have a tutorial on how to install :
    - apache
    - php
    - mysql
    on Archlinux
    i have installed apache
    pacman -S apache
    pacman -S php
    pacman -S mysql
    but apache won't start : /etc/rc.d/httpd start - it gives me FAIL
    and when i try httpd it give a nasty error
    httpd: arp_sockaddr_info_get() failed for pufos (pufos - the linux box name)
    httpd: Could not reliably determine the server's fully qualified domain name , using 127.0.0.1 for ServerName
    is because i didnt configureg good httpd.conf or what
    anyway , a tutorial for installing apache php and mysql would be perfect.
    Thank guys

    pacman -S mysql
    /etc/rc.d/mysqld start
    :: Adding mysql group
    /etc/rc.d/mysqld: line 14: groupadd: command not found
    :: Adding mysql user
    /etc/rc.d/mysqld: line 19: useradd: command not found
    chown: 'mysql.mysql': invalid user
    :: Starting MySQL [FAIL]
    omg , if the mysql installed through pacman get stuck cause 'useradd' does not exist as a command .... huuuh
    ??? any sugestions ?

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

  • MySQL + apache2 + PHP Database connection error

    Hi Folks:
    I am trying to connect to the database and keep getting a 500
    internal server error. here is the setup
    Database server -- mysql 4.1 (linux) on a gentoo linux server
    -- IP 192.168.0.10 -- srvdb-01
    Webserver - Apache2 + PHP 5 on Gentoo Linux server
    192.168.0.29 - srvweb-03
    I have all the connections ready to go, dav is moving files
    etc, but when i try to create a database connection, i keep getting
    the following error
    > PROPFIND /_mmServerScripts HTTP/1.1
    > Authorization: Basic dGhvbG1lczp0eXBob29u
    > User-Agent: Contribute/3.0
    > Host: inventory.mcaschool.net
    > Pragma: no-cache
    > Accept: image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, */*
    > MIME-Version: 1.0
    > Content-Type: text/xml
    > Content-Length: 134
    > Depth: 0
    > Connection: Keep-Alive
    < HTTP/1.1 500 Internal Server Error
    < Date: Tue, 25 Apr 2006 21:09:54 GMT
    < Server: Apache
    < Content-Length: 607
    < Connection: close
    < Content-Type: text/html; charset=iso-8859-1
    (copied from the DW8 FTP LOG)
    I am really baffled by this problem -- can someone please
    point me in the direction of a solution?
    thanks
    Tim Holmes
    IT MANAGER - Medina Christian Academy

    DJtonyF wrote:
    > ... the issue isnt with godaddy.com the issue is with
    dreamweaver. the "localhost" connection i attemped to connect to
    was one on my own server i setup on my computer.
    How have you set up your Testing Server in the site
    definition?
    If your server root is C:\htdocs, and your site is in
    C:\htdocs\mysite,
    that's the value for "Testing server folder". The URL prefix
    should be
    http://localhost/mysite/.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Using php-mysql module and Apache2.2 provided with FMS4.5

    Hi,
    we've recently downloaded and upgraded FMS from 3 to 4.5 on a server that has this configuration (before upgrading):
    - Centos 5.5
    - Apache 2.2.3
    - mysql 5.0.77
    - php 5.3.3
    - perl 5.8.8
    Everything was fined before upgrading since 3 years.
    We decided to upgrade FMS to provide HLS to our customers.
    Once we upgraded FMS and installed Apache that comes with the installer, we encountered lots of errors.
    - no more php, all scripts were visible, so we had to reinstall php module; and by the way, how can't we have the logical directories for apache (like /etc/httpd/,...) instead of /opt/adobe/fms/Apache...
    - no more perl, cgi script are also visible...
    - and now, we are unable to connect to mysql database. Whatever we do, the following message appears:
    Fatal error:  Call to undefined function mysql_connect()
    modules are in the right folders but no way....
    If someone can help us,
    regards,
    Tony

    i answer to myself:
    I finally managed to do it.
    The best way was this:
    - backup the Apache folders from fms
    - reinstall fms w/o apache
    - reinstall properly the standard httpd ( i launched yum remove httpd before)
    - copy modules from fms backup to /etc/httpd/modules  so i havve specific modules
    - update httpd.conf with adobe version (easy with Kompare)
    restart httpd and fms
    Now everything works well: php, mysql, cgi, ...

  • Did somebody know how to install mysql in MacBook Air version 10.8.1 os x mountain lion?, Thanks in advance

    Did somebody know how to install mysql in MacBook Air version 10.8.1 os x mountain lion?, Thanks in advance

    Am following your doc now (https://discussions.apple.com/docs/DOC-3082) and wondering if the edit
    First, fix the MySQL client library. (credit)
    For Lion, type:
    sudo install_name_tool -id /usr/local/mysql-5.5.22-osx10.6-x86_64/lib/libmysqlclient.18.dylib /usr/local/mysql-5.5.22-osx10.6-x86_64/lib/libmysqlclient.18.dylib
    also applies to Mountain Lion.  Am guessing it does as your credit link resolves to an article re. the Snow Leopard install.  Thanks in advance.

  • Updating to 10.4.11 killed my PHP/MYSQL connections

    Hi all - I use Dreamweaver CS3 for web development, and have been using some very simple PHP/MYSQL Select and Inserts. Everything was working fabulously up until this morning, when I updated to 10.4.11 (Macbook Pro, CoreDuo). As soon as I updated, I get a 'No Database Selected' message in Safari, Firefox and IE. I can see the database and work with it in DWeaver, just can't get it to go live in browsers.
    I'm running PHP 5.2.4, MYSQL 5.1.8 and whatever version of Apache is bundled in OS X (I think it's 1.x - but can't find how to get that number!)
    Just for record, I have stopped/restarted Personal Web Sharing, Personal File Sharing, OS X, MYSQL to just check whether something wasn't working there.
    I'm about to close out, zap the PRAM and then come back in.
    Any ideas?
    Vince

    Thanks - A couple of additional points. This is OS X 10.4.11, not OS X Server, so I had installed MYSQL and PHP as fresh installations. MYSQL has not changed since I installed and is running fine through direct client (Navicat).
    For PHP I was running 4 and it had been running fine. When the update to OSX came through, PHP 4 didn't work - no change had been made to any configuration file that was working already. These are the httpd.conf instructions I had followed to set-up PHP 4:
    +1 Launch Terminal from /Applications/Utilities.+
    +2 Open the Apache configuration file and edit the UNIX shell prompt:+
    +sudo pico /etc/httpd/httpd.conf+
    +3 When prompted for a password, enter the Mac OS X administrator account password.+
    +4 Uncomment the following lines:+
    +LoadModule php4_module libexec/httpd/libphp4.so+
    +AddModule mod_php4.c+
    +5 Add the following lines (add these lines above: AddType application/x-tar .tgz):+
    +AddType application/x-httpd-php .php+
    +AddType application/x-httpd-php-source .phps+
    +Note: All the commands for the pico editor display on the screen and you can start any commands with the Control key. Use the arrow keys to move around. Pico is a text editor, mostly for UNIX users to use at the UNIX command line. The pico text editor resides in /usr/bin/ directory.+
    +6 Add a new index page for PHP (index.php) so that the web server will recognize it as the first page to load:+
    +<IfModule mod_dir.c>+
    +DirectoryIndex index.html index.php index.htm+
    </IfModule>
    +7 Save the httpd.conf file by pressing ^X (control & x keys). When the screen asks "Save Modified buffer?", press "Y". When prompted for "File Name to write : httpd.conf", press Return once to accept it. This will return you to the UNIX shell prompt.+
    When PHP 4 stopped working, I took the decision to upgrade to 5 and then fix the breakdown (by now, I was convinced it was an Apache change (nothing in config had changed at all). So, upgraded to PHP 5 and, to do so, had to reverse the directions above. Since then, I've tried reenabling the above, replacing with PHP5 wherever PHP4 appears, all to no avail (in fact, it just froze the Personal Web Sharing that turns Apache on/off).
    Right now, running the phpinfo check detailed above tells me the PHP 5 is successfully installed and running. The text from the test copied here:
    +System Darwin Vincet-MacBook-Pro.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386+
    +_Build Date_ Aug 31 2007 23:38:11+
    +_Configure Command_ './configure' '--prefix=/usr/local/php5' '--with-apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-iconv' '--with-openssl=/usr' '--with-zlib=/usr' '--with-gd' '--with-zlib-dir=/usr' '--with-ldap' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-snmp=/usr' '--enable-exif' '--enable-wddx' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--enable-bcmath' '--with-bz2=/usr' '--enable-fastcgi' '--enable-cgi' '--enable-memory-limit' '--enable-zip' '--enable-pcntl' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-curl=shared,/usr/local/php5' '--with-mysql=shared,/usr/local/php5' '--with-mysqli=shared,/usr/local/php5/bin/mysql_config' '--with-pdo-mysql=shared,/usr/local/php5' '--with-libxml-dir=shared,/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-pdflib=shared,/usr/local/php5' '--with-imap=../imap-2004g' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr/local/php5' '--with-png-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-iodbc=shared,/usr' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-t1lib=/usr/local/php5' '--with-gettext=shared,/usr/local/php5' '--with-ming=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-mhash=shared,/usr/local/php5' '--with-mssql=shared,/usr/local/php5' '--with-fbsql=shared,/Users/liyanage/svn/entropy/universalbuild/src/FBDeveloper Libraries/Library/FrontBase' '--with-json=shared' '--enable-memcache' '--enable-openbase_module'+
    +_Server AP_I Apache+
    +_Virtual Directory Suppor_t disabled+
    +_Configuration File (php.ini) Path_ /usr/local/php5/lib+
    +_Loaded Configuration File_ /usr/local/php5/lib/php.ini+
    +_Scan this dir for additional .ini files_ /usr/local/php5/php.d+
    +_additional .ini files parsed_ /usr/local/php5/php.d/10-extension_dir.ini, /usr/local/php5/php.d/50-extension-curl.ini, /usr/local/php5/php.d/50-extension-fbsql.ini, /usr/local/php5/php.d/50-extension-gettext.ini, /usr/local/php5/php.d/50-extension-json.ini, /usr/local/php5/php.d/50-extension-mcrypt.ini, /usr/local/php5/php.d/50-extension-mhash.ini, /usr/local/php5/php.d/50-extension-ming.ini, /usr/local/php5/php.d/50-extension-mssql.ini, /usr/local/php5/php.d/50-extension-mysql.ini, /usr/local/php5/php.d/50-extension-mysqli.ini, /usr/local/php5/php.d/50-extension-odbc.ini, /usr/local/php5/php.d/50-extension-pdf.ini, /usr/local/php5/php.d/50-extension-pdo_mysql.ini, /usr/local/php5/php.d/50-extension-pdo_pgsql.ini, /usr/local/php5/php.d/50-extension-pgsql.ini, /usr/local/php5/php.d/50-extension-xsl.ini+
    +_PHP API_ 20041225+
    +P_HP Extension_ 20060613+
    +_Zend Extension_ 220060519+
    +_Debug Build_ no+
    +_Thread Safety_ disabled+
    +Zend Memory Manager enabled+
    +_IPv6 Support_ enabled+
    +_Registered PHP Streams_ zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps+
    +_Registered Stream Socket Transports_ tcp, udp, unix, udg, ssl, sslv3, sslv2, tls+
    +_Registered Stream Filters_ string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*+
    I don't know if any of this helps, but it's what I find. From my online troubleshooting and reading, I believe all of the above looks right and that things should work. So, I'm still left with an informed gut decision that something in the set-up of Apache changed (location in file structure, configuration file, etc.) Could it be looking at a second copy of httpd.conf somewhere else? That would seem to make sense - however I haven't managed to turn up how to assess which version of Apache is loaded (I think 1.3) or where it's located.
    If anyone can confirm what PHP5 code should be included in httpd.conf given the above, that would be a great next step.
    Thanks for all your assistance!
    Vince

  • Is it possible to install a SSD in a MacBook?

    Is it possible to install a SSD in a MacBook? Saw some posts on google re: a Pro, but I use a MacBook for live performance and could really use the reliability of a SSD. Where to purchase, and how easy is an install?

    ElectronicMale wrote:
    Is it possible to install a SSD in a MacBook? Saw some posts on google re: a Pro, but I use a MacBook for live performance and could really use the reliability of a SSD. Where to purchase, and how easy is an install?
    They're available now, although it's going to be a hefty price premium compared to mechanical hard drives. Right now SanDisk is only selling to OEMs (probably without a manufacturer's warranty). I'm not sure about Samsung, although I have heard of them being available for single-piece sale and warrantied by the seller. Crucial.com is supposed to be releasing them. The only ones I'm sure is being sold and warrantied by the manufacturer are from a company called Super Talent.
    http://www.supertalent.com/products/ssd-commercial.php?type=SATA
    It should be as easy to install as any other 2.5" SATA drive in a MacBook. I've replaced my drive myself, and it's about as easy a job as I think they could have made it. You would need a #00 Phillips screwdriver (3 captive screws on the RAM shield), a T-8 Torx screwdriver (four Torx screws holding the mounting bracket to the drive), and a coin (to remove the battery). Everything I understand about these SSDs is that it's pretty much transparent to the drive controller. It communicates with the drive like any other SATA drive and can do pretty much anything that could be done with a mechanical hard drive.

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

  • PHP MySQL Error Code 500

    May be someone can help me out with this problem.
    I have setup a new site using PHP MySQL and Dreamweaver 8.02.
    Dreamweaver connects to the database but after creating a
    recordset the recordset cannot be used.
    instead Dreamweaver returns:
    HTTP Error Code 500 internal Server Error
    Any help will be much appriciated.
    Jos

    Hello,
    I have also had the same error - namely that whilst I could connect via ftp, upload/download files, and view database tables, any attempt to view of modify recordsets resulted in error 500.
    Having checked other potential causes (e.g. selection/non-selection use of passive FTP setting, enabling of php, etc.), on the back of posts here I contacted my host and asked if if could relate to mod security, as further investigation revealed that the issue only occurred on sites where mod security had not been disabled (I don't like to disable mod security for obvious reasons - and I'm told you can't do that site by site with apache2 anyway).
    After a few false starts, the problem was resolved - with the following response from my host: "The false positives were being generated by "/_mmServerScripts/MMHTTPDB.php" and that is what we've worked around in the rules. As such, any domain on [servername] using that script in the same way shouldn't generate a false-positive moving forward."
    So it seems the answer (assuming your on an apache server of course) may be to modify the rules to allow full access for MMHTTPDB.php.
    I hope that is of help to some.

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

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

Maybe you are looking for

  • How to display the values in JSpinner in format  day:HH:mm

    Hi All, I want to know how can I display the values inside a JSpinner in the format day:HH:mm. Here the value of 'day' can be anything say from 0 to 365 and HH stand for hour and mm stands for minutes. I tried to implement it using mSpinner.setEditor

  • Default style for input

    I need a way to change the default style of a textfield. For example, if the textfield is required, I want the set the background color to yellow (FFFFCC) so that when the page containing that textfield loads the background color will already be yell

  • Firefox Not Displaying Web Page Content.

    When going to some web pages with an initial welcom/subscribe pop up window, such as http://www.mustangmonthly.com/techarticles/mump_0702_ford_mustang_distributor_rebuild/viewall.html the background window does not show any content(although it does s

  • Looking for J2ME MP3 Player Code

    Hello, I just started writing a J2ME MP3 player application. The MP3 files are stored in the device's flash memory, not streamed through the air. The user interface would be simple and device-independent. I am searching for source code that I can lea

  • Lightroom 5.7 64-Bit VERY slow loading

    It seems like the performance of Lightroom is getting slower every new version. How can I speed things up?