PHP, MySQL, Apache and MAMP
Could someone tell me if there will be any problem if I first downloaded PHP then MySQL and after I enabled all these things I installed MAMP? Is it possible to delete all those things that I have donloaded before MAMP? If so, then how to do it?
Since these are basic server apps, you should post to the server products forums.
Similar Messages
-
Snow Leopard, PHP, MySQL, Apache and Wordpress!
Hi there,
It's taken me most of the day to work this out, so I thought I should post about it somewhere and here, on the Apple forum, is the ideal location.
I'm a web developer and love the fact that my MacBook works out of the box with a Unix webserver and with little effort, I was able to set up PHP and MySQL on it. I was delighted to hear that the new Snow Leopard was shipping with the latest and greatest of both. It wasn't quite that easy when it came down to running my test sites, one of which I'm working on is a Wordpress site. Far from being daunting, the solutions to the problems I had were quite simple. The issues arose from the OS not having much exposure yet and not many people having posted their experiences on the web. It was just time consuming.
I should mention at this point that this does require some tinkering with Terminal, but not so much as to cause damage if you do something wrong.
First off Apache. Thankfully this is as stable as it always has been. All this requires to activate it is to visit System Preferences > Sharing and switch on Web sharing. Bish-bosh, job done.
Next off PHP. If you open a Safari window and run your phpinfo.php file (where ever you have it saved. If you don't, they're out there, it's a tiny piece of code which you can use to find out your current php setup). You'll find that everything is superb! PHP 5.3! Excellent! Hang on, scroll down to the date and time section. Whoa! What's this big fat warning here.
That warning my friend, has been the bane of my misery all day. Wordpress hates it. HATES IT! It causes no end of grief. So what's the multi step, multi program solution?
Open your php.ini file and add the line:
date.timezone=Country/City
(do a Google search for PHP Timezones and you will get the exact settings. It's not so good that it understands every city in the world. My setting was Europe/Dublin).
That's all. This will solve your issue of the timezone error everywhere. Stop and start Apache (System Preferences > Sharing, tick off and tick back on Web Sharing) and hey presto, error is gone.
Wait a minute, where the **** is my php.ini file. Unfortunately this is where you have to get your hands dirty. Your php.ini file is a system file which resides in the /etc/ folder. Open a terminal window and type exactly the following:
cd /etc/
cp php.ini.default php.ini
This makes the php.ini file from the default. This protects the original so if you ever need to create a new copy or if you make a mistake in the next steps, you can start again.
Next I'm going to tell you how to edit this file. This uses a program called vi (there are GUI editors out there that will save you this heartache, so if anyone knows any, please post in response. I think TextWrangler is one).
First you need to set the php.ini file so you can edit it. Type in exactly as follows:
sudo chmod 777 php.ini
Sudo is the superuser commmand. It may not be needed, but stick it in anyway. If you are asked for a password, put in your normal password (that you would be asked for say if you were installing something you downloaded).
At the next prompt, type in:
vi php.ini
This will open the php.ini file. Using the up and down keys, find a blank line in the file. You will notice that alot of the lines start with ';'. These are commented lines. Once you find a blank line, press 'i' to insert text. Your screen will now say '-- INSERT --' at the bottom in red. Type the following in exactly (you will NOT be able to cut and paste):
; Set PHP Default Timezone
date.timezone=Europe/Dublin
Substitute "Europ/Dublin" with your own timezone. When you are done, press escape. Now type in the following:
:wq!
The colon is important (not a typo on my part) as this tells vi you are going to run a command. You should now be back at your prompt. Now you need to reset the permissions on the file. Type the following:
sudo chmod 444 php.ini
And that's it. That's your PHP setup and finished. If you run your phpinfo.php file now, you should see your timezone under the date and time where you were getting the error before.
Now the MySQL. This is a bit of fun because, even though MySQL ships with the system, it's not exactly set up correctly! So once again into terminal.
This time go to the local directory:
cd /usr/local/
If you type in:
ls -al
You'll get a directory listing. This has the MySQL folder listed as mysql-5.0.77-osx10.5-x86 (or something! I did that from memory!). This IS the MySQL folder but if you, like me, had previously set the MySQL Preference Pane in your System Preferences, then it won't be able to access this. Type the following command:
sudo cp -R /usr/local/mysql* /usr/local/mysql
This should copy everything into a folder called mysql. It takes a couple of seconds (first time on my machine it was a good 20 seconds) to run so be patient. Now you need to do the following:
sudo chown mysql:mysql /usr/local/mysql
This sets the owner and group of the mysql files to 'mysql'. If you go back to your MySQL preference pane in System Preferences, you should now be able to start it (something weird about it makes it require to close and reopen the System Preferences window before it can open the MySQL pref pane. This is normal, just click ok).
The bit that got me here, is that I thought that my activation of the MySQL was actually a new install. I tried everything to change the root user and password for MySQL but in fact, if you had it installed on Leopard, prior to upgrading to Snow Leopard, all your users and passwords are the same. If you HAVEN'T installed it before, I recommend you read the Post Installation Customisation (section 2.3) on the manual for MySQL 5.1 on http://www.mysql.com
So that's about it. All that remains is to test Wordpress. I have phpmyadmin installed (I've heard CocoaMySQL is very good, like iTunes for db's so I'm gonna check that out later) and was able to create the new wordpress database. I changed the settings in the wp-configure.php file to match my setup but nothing worked. I changed the host from '127.0.0.1' back to 'localhost' (a common complaint of the wordpress setup) but no joy. Then I changed the host back to '127.0.0.1' and added the port :3306 (so the full host is '127.0.0.1:3306') and bingo, the install worked, my database setup and my test site worked.
So that's it! Many of you out there will say, why didn't you just use MAMP. I did use MAMP, but I also got the Timezone issues and it took far more tinkering and hacking to make it work. I decided that, as my lovely MacBook now running lovely Snow Leopard had the lovely newest versions of PHP and MySQL installed, I'd rather get them working than use a runaround with MAMP. I'm a happier camper for it.
I hope this helps some of you out there. I don't personally have a blog yet, but when I do, I'll post this up there for all to access. I may even add screen shots!!! But seriously, I hope this helps you all out with your installs. It's so handy to have all this stuff straightaway with Snow Leopard, it's just a matter of getting it to work.
All the best now,
THmmmm... 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. -
Working on my next project for the tech blog Techmozilla I am trying to make php to work with Apache. . i surfed for the procedures and finally i was asked to do the below mentioned operation .. but i am unable to understand it can anyone please help me .I am using Windows XP
# Add the following 3 lines to your httpd.conf file. You can put them anywhere in the file but maybe it makes sense to put them after the other LoadModule section.
LoadModule php5_module "d:/Program Files/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "D:\Program Files\php"
Is there any other link which helps to install PHP,Apache and MySql. Please help me. Thank you in advanceThis forum is for helping people who are trying to download and install Adobe software products. You need to find an information resource suitable to the task you are undertaking, most probably provided by whomever provided the resource(s) you are trying to install.
-
Php, mySQL, apache servers and all that malarkey...
Hello
I want to learn how to build databases and use dreamweaver to
build sites to for e-commerce shops or portfolio archives etc...
But at first glance im a bit overwhelmed. I am willing to put the
time and effort in but just need a little point in the right
direction.
What should i be looking at first? Working out mySQL or
learning .php? Ive seen a lot of talk about installing apache
servers and installing php5 but i know absolutely ZERO about this.
If you had to learn it all again where would you start?
Ive got a G5 ,DW8 and a web host that supports mySQL. I have
a bit of experience building websites and am just getting to grips
with CSS. Do i need anything else?gareth:
You may want to change this -
Whether your new to web design,
to this -
Whether you're new to web design,
and this -
The PHP Login Suite has a comprehensive 82 manual
to this -
The PHP Login Suite has a comprehensive 82 page manual
Meanwhile, I am examining the details of this product
carefully! 8)
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
==================
"gareth" <[email protected]> wrote in message
news:e2o095$kco$[email protected]..
>I would learn the basics of PHP first, then start looking
at working with
> databases once you`ve got to grips with the basics.
>
> If you want to learn to create E Commerce sites, then
its going to give
> you
> a huge advantage if you learn to hand code rather than
relying solely on
> Dreamweavers server behaviors to do everything for you.
>
> Installing Apache and PHP is a good idea, as it allows
you to test your
> code
> locally. I have some guides at:
>
>
http://www.dreamweavermxsupport.com/index.php?type=article&pid=39
>
> Getting a bit old now, but still relevant :-)
>
> There are a huge number of tutorials on the web to help
with learning PHP,
> the home of PHP www.php.net is an essential bookmark.
There are also a
> large
> number of good books out there that will help you.
>
> Gareth
>
http://www.phploginsuite.co.uk/
> PHP Login Suite V2 - 34 Server Behaviors to build a
complete Login system.
>
> -
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,
Tonyi 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, ... -
How do i set up a PHP,MYSQL,Apachie server on my macbook
I play a well known MMORPG (WoW) and my guild recently lost there site due to owner of the site leaving the guild, i had previously mentioned i had a little experience in designing but not developing so they asked me to develop a web site for the guild with DKP (Dragon Kill Points like currency) info, Forum and other features.
basiclly most of the work is done on the site design wise and mockups i just now have to create a forum, so i found an online document showing step by step forum development (using Dreamweaver 8 and impAKT) but a pre-req is i have to have a server set up on my system to create it i have no idea about server set up or maintence and i have never had a site published please any help would be much apreciateded on setting up a server. Thank you for your time.Apache is already running on your Mac if you are running OS X.
PHP for Mac OS X is free, and can be downloaded from http://www.entropy.ch/software/macosx/php/. There is some good instructions on installing and testing your installation. It also provides links to PHP add-ons, such as MySQL. Great page. I think it should get you started in the right direction. -
Local net ssh failure Tiger (PHP MYSQL Apache Dreamweaver)
I can't be sure, but I think this problem started with the latest security update. I'm 80% done with my first web application using PHP and Mysql in dreamweaver when I began getting an unknown error from dreamweaver when attempting to connect to my DB on my testing server. After 2 days of debugging and re-installing apps I finally wiped the testing server (G4 400 Cube memory topped out 120GB HD, down to the metal) reinstalled Tiger, fully patched, edited the httpd.conf file to enable php 4.4.1. Installed Mysql 4.1 (which was the last general distribution with a packaged install) and the server works fine, so I created myself as a user in mysql @localhost & @localmachinename to replicate root user. Navicat was up and running in no time, so I re-populated my server from my backup. Then I jumped over to my design workstation (G5 2Ghz Dual, 2GB Ram, 250GB HD) only to find navicat can't login to the mysql server because ssh wont connect to the G4. After much testing I discovered ALL of my macs will attach only to external addresses. My linux box, external linux boxes, even windows boxes emulating ssh will attach internally or extenally, the macs won't talk to anything in the local network 10.0.x What the ****! My project is now past due and I'm stuck because I can no longer ssh from any macs to internal machines mac or otherwise. PLEASE HELP!!! is there an SSH pakage so I can re-install? I couldn't find a mac ssh package on apple or ssh.org, Will that even make a difference? Can I uninstall the security update? Can anyone suggest a workaround?
My network
*10.0.1.2 Ganymede (Mandrivia 10 server and Gateway)
*10.0.1.6 Artemis (G5 10.4.7) Web/Video
*10.0.1.10 Miletus (G4 10.4.7) Web Testing
*10.0.1.5 Venus (G4 10.4.7) Photo editing
*10.0.1.4 Hero (G3 ibook 10.4.7) office work
*10.0.1.7 Hermes (iMac 10.4.7) iLife
*10.0.1.3 Apollo (Wintendo XP) Web Testing/The Sims
Here are several ssh logs.
mac to mac (FAIL)
Artemis:~ phil$ ssh -vv 10.0.1.10
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.0.1.10 [10.0.1.10] port 22.
debug1: Connection established.
debug1: identity file /Users/phil/.ssh/identity type -1
debug1: identity file /Users/phil/.ssh/id_rsa type -1
debug1: identity file /Users/phil/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.2
debug1: match: OpenSSH_4.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
Write failed: Broken pipe
Artemis:~ phil$
Mac to linux internal (FAIL)
Artemis:~ phil$ ssh -vv 10.0.1.2
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.0.1.2 [10.0.1.2] port 22.
debug1: Connection established.
debug1: identity file /Users/phil/.ssh/identity type -1
debug1: identity file /Users/phil/.ssh/id_rsa type -1
debug1: identity file /Users/phil/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
Write failed: Broken pipe
mac to linux external (Success)
Artemis:~ phil$ ssh -vv 69.253.x.x
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 69.253.x.x [69.253.x.x] port 22.
debug1: Connection established.
debug1: identity file /Users/phil/.ssh/identity type -1
debug1: identity file /Users/phil/.ssh/id_rsa type -1
debug1: identity file /Users/phil/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: Miscellaneous failure
No credentials cache found
debug1: Miscellaneous failure
No credentials cache found
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
debug2: dhgenkey: priv key bits set: 130/256
debug2: bits set: 514/1024
debug1: SSH2MSG_KEX_DH_GEXINIT sent
debug1: expecting SSH2MSG_KEX_DH_GEXREPLY
debug1: Host '69.253.239.85' is known and matches the RSA host key.
debug1: Found key in /Users/phil/.ssh/known_hosts:3
debug2: bits set: 516/1024
debug1: sshrsaverify: signature correct
debug2: kexderivekeys
debug2: set_newkeys: mode 1
debug1: SSH2MSGNEWKEYS sent
debug1: expecting SSH2MSGNEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2MSGNEWKEYS received
debug1: SSH2MSG_SERVICEREQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2MSG_SERVICEACCEPT received
debug2: key: /Users/phil/.ssh/identity (0x0)
debug2: key: /Users/phil/.ssh/id_rsa (0x0)
debug2: key: /Users/phil/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/phil/.ssh/identity
debug1: Trying private key: /Users/phil/.ssh/id_rsa
debug1: Trying private key: /Users/phil/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
[email protected]'s password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: clientsession2setup: id 0
debug2: channel 0: request pty-req confirm 0
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
Last login: Tue Aug 15 12:56:42 2006 from artemis.ganymedia.net
[phil@ganymede ~]$
G5 Dual 2G Mac OS X (10.4.7)Mac comes with a fully functioning Apache web server with all the scripting languages (except VB). You need to enable them in the configuration file.
You need some light weight UNIX administration skills to do this. Use the system restore disk to set the password for the root account.
Open a terminal screen from the Utilities folder in Applications. Type "su", press return, then enter the root password you set using the system restore disk.
Make a backup copy of the Apache configuration file with the following command (type this in with no mistakes and press the return key).
cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.copy
Enter the following to open the Apache configuration (type this in with no mistakes and hit the return key).
/Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/httpd/httpd.conf &
Locate and remove the # comment symbol from the following lines and save the file in /etc/httpd/httpd.conf.
#LoadModule php4_module libexec/httpd/libphp4.so
#AddModule mod_php4.c
Exit the TextEdit application and quit out of the terminal application.
Put the following web page into a file named greetings.php inside the folder Library/WebServer/Documents.
<html>
<head>
<title>Experiment</title>
</head>
<?php
echo "Greetings";
?>
</body>
</html>
Once you have made these changes, you can reboot to activate the changes.
Put the following into your browser to test the configuration.
http://localhost/greetings.php
You should see "Greetings" on a web page titled "Experiment".
MySQL is a separate server that you need to download and configure to complete your web server.
I hope this helps.
Best regards - Greg -
Php, mysql, apache, windows xp
I use the most recent versions of php, apache, mysql and
windows xp. And I use Dreamweaver 2004MX.
I create a very simple index.php and when I preview on a
browser, the address becomes like this.
http://localhost/artgallery/TMP2zjuplef9z.php
instead of index.php at the end in the browser address.
Each time when I preview it, it create random address at the
end instead of index.php.
Why does it create like this? Is there anything I can fix
this?However, doing this will prevent your root relative links (if
any), and
server-side includes (I think) from rendering properly in
preview.
My suggestion would be to ignore it for you local previews.
It's how DW
works.
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
==================
"Nancy - Adobe Comm. Expert" <[email protected]> wrote
in message
news:f7mq70$esk$[email protected]..
> Edit/Preferences/Preview in Browser. Uncheck the "create
temporary files"
> checkbox and restart Dreamweaver.
>
>
> --
> Nancy Gill
> Adobe Community Expert
> Author: Dreamweaver 8 e-book for the DMX Zone
> Co-Author: Dreamweaver MX: Instant Troubleshooter
(August, 2003)
> Technical Editor: Dreamweaver CS3: The Missing Manual,
> DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide
> Mastering Macromedia Contribute
> Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced
PHP Web
> Development
>
> "shinceciokada" <[email protected]>
wrote in message
> news:f7mm6c$ai7$[email protected]..
>>I use the most recent versions of php, apache, mysql
and windows xp. And I
>>use
>> Dreamweaver 2004MX.
>> I create a very simple index.php and when I preview
on a browser, the
>> address
>> becomes like this.
>>
http://localhost/artgallery/TMP2zjuplef9z.php
instead of index.php at the
>> end
>> in the browser address.
>> Each time when I preview it, it create random
address at the end instead
>> of
>> index.php.
>> Why does it create like this? Is there anything I
can fix this?
>>
>>
>
> -
Dear All,
if I embed this within the body of my php page, <?php
getFileSize('cover.pdf') ?>, all is well and I get the
desired result.
However, if I embed the same text, <?php
getFileSize('cover.pdf') ?>, into
my MySQL database, I get absolutely nothing at all.
Have tried adding htmlentities, urlencode and other such
fabulous things,
but all to no avail.
Basically, my knowledge isn't good enough, but somehow MySQL
seems to be
disabling the function. I guess I need to 'escape' the code
in some manner?
Any clues?
Craig SherwoodDavid and Joris,
your posts make fascinating reading - many thanks.
I guess the one thing to explain is why!
I have a database driven site. My users enter information
into the database
via an admin section.
In their text they need to be able to enter links to
PDF/doc/jpg files.
These links could be anywhere in the text, thus it can't be
limited to a
designated field.
However, when the site visitors look at a page, I wanted to
be able to show
them the file size, so that they don't download unnecessarily
large files by
accident.
Hence the need for my users to be able to enter the file name
in a bit of
code and have the relevant page show file size in amongst the
text.
Craig
"David Powers" <[email protected]> wrote in message
news:[email protected]...
> Craig wrote:
>> So then the obvious question surely is how do you
execute a piece of code
>> if the 'call' to the function is in a database
field?
>
> The answer is that you don't do it. There is a PHP
function eval(), which
> evaluates a string as code. To achieve the type of
result that you want,
> however, it involves storing your string in the database
as PHP code. Try
> this simple example using your human() function:
>
> $filesize = 12345;
> $string = '$size = human($filesize); echo "This is the
size: $size";';
> eval($string);
>
> This displays "This is the size: 12.1k".
>
> The question remains why on earth you would want to
store PHP code in a
> database simply for the purpose of running it in a PHP
script? It makes
> far more sense to embed the code in your main script.
More importantly,
> eval() is considered to be a serious security risk. A
common saying among
> PHP developers is "Eval() is evil".
>
>> After-all, html code can be put in a field, but
rendered as proper html
>> (such as links for example) without the html code
(<a href etc) being
>> displayed.
>
> HTML is just plain text, which is interpreted by the
browser by referring
> to the text/html MIME type in the header. PHP needs to
be executed on the
> server before the output is sent to the browser. The
opening and closing
> PHP tags in a text field retrieved from a database are
treated as text in
> the same way as a PHP variable is treated as text when
included in single
> quotes. The only way to execute code stored in a
database is to use
> eval(), which has serious drawbacks.
>
>> FYI: The 'human' function displays either 'kb' or
'm' depending on the
>> file size and executes perfectly.
>
> Yes, after studying it more carefully, I have finally
worked out how it
> functions. It uses a for loop in a rather unconventional
way, which is
> what confused me. It also converts bytes to Gigabytes.
>
> --
> 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, Breadcrumbs and URL Parameters
I'm working with several InterAKT extensions to buid a
dynamic site. I have everything working except for Breadcrumbs --
which are actually working except that I need to change the URL
parameter which they are passing WITHOUT altering the recordset
(which breaks the functionality).
The site is constructed to include friendly URLS, so although
all pages are loaded by PK of their category, I've used CONCAT()
and REPLACE() along with Server-Side Includes from my Table (SSI
from InterAKT) to generate my URLS.
Example:
category_ctg TABLE
id_ctg name_ctg
1 Jelly Beans
2 Vanilla Nut Crunch Bar
etc.
For my dynamic menus and my hyperlinks, I pull from the db
like this:
SELECT *, CONCAT(REPLACE(name_ctg, ' ', '-'), '?id_ctg=',
id_ctg) AS newurl FROM category_ctg
This gives me a URL of
index.php/Vanilla-Nut-Crunch-Bar?id_ctg=2
(I also pull from the name_ctg field for my page titles and menu
names, etc., without the CONCAT() so they read without the '-')
But, with MX Breadcrumbs I'm limited to the way the php is
hard-coded in terms of which fields are included: (id_ctg,
id_parent_ctg and name_ctg) because the breadcrumbs are generated
from a recordset.inc.php file.
I can succesfully use the Breadcrumbs "out-of-the-box" and
end up with this URL:
index.php?id_ctg=2
My code for above looks like this:
<?php if ($totalRows_Breadcrumbs > 0) { // Show if
recordset not empty ?>
> <a href="index.php?id_ctg=<?php echo
$row_Breadcrumbs['id_ctg']; ?>"><?php echo
$row_Breadcrumbs['name_ctg']; ?></a>
<?php } // Show if recordset not empty ?>
and while it works, it's loading a different URL than all my
other menus and links.
Alternatively, I can include the catgeory_ctg.name_ctg
dynamic binding like this:
<?php do { ?>
<?php if ($totalRows_Breadcrumbs > 0) { // Show if
recordset not empty ?>
> <a href="<?php echo
$row_Breadcrumbs['name_ctg']; ?>?id_ctg=<?php echo
$row_Breadcrumbs['id_ctg']; ?>"><?php echo
$row_Breadcrumbs['name_ctg']; ?></a>
<?php } // Show if recordset not empty ?>
<?php } while ($row_Breadcrumbs =
mysql_fetch_assoc($Breadcrumbs)); ?>
which gives me a URL of:
index.php/Vanilla%20Nut%20Crunch%20Bar?id_ctg=9
Since I can't use CONCAT() value within my script and I can't
have "%20" in my URLs, I'm trying to find a way of turning my URL
into:
index.php/Vanilla-Nut-Crunch-Bar?id_ctg=2
Is there a way to include the CONCAT() function in the PHP
script that's generating the URL?
I've tried using variables in the header to call for a
consistent URL, without any luck.
Please keep in mind that my strong suit is design and that my
working knowledge of PHP and MySQL are limited to what I can
understand and re-create. I've been pulling out my hair for days on
this, so some guidance would be
greatly appreciated.The code generated by the Dreamweaver recordset navigation bar automatically adds any existing variables to the end of the query string. The following code (just above the DOCTYPE) comes from a recordset navigation bar on one of my pages:
$queryString_listAuthors = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_listAuthors") == false &&
stristr($param, "totalRows_listAuthors") == false) {
array_push($newParams, $param);
if (count($newParams) != 0) {
$queryString_listAuthors = "&" . htmlentities(implode("&", $newParams));
$queryString_listAuthors = sprintf("&totalRows_listAuthors=%d%s", $totalRows_listAuthors, $queryString_listAuthors);
I haven't tested this, but to eliminate the extra variables in the query string, comment out the whole of the if statement like this:
$queryString_listAuthors = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_listAuthors") == false &&
stristr($param, "totalRows_listAuthors") == false) {
array_push($newParams, $param);
if (count($newParams) != 0) {
$queryString_listAuthors = "&" . htmlentities(implode("&", $newParams));
$queryString_listAuthors = sprintf("&totalRows_listAuthors=%d%s", $totalRows_listAuthors, $queryString_listAuthors);
You will need to do that for each of your recordset navigation bars. -
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 phpyou 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. -
Where to go next with Dreamweaver and server-side (php/mysql) applications?
This question is mainly directed at David Powers but I appreciate any input from anyone with the same concern or question.
I've been using DW since the change from Macromedia and have developed a number of applications using built in server behaviors and sb extensions from ADDT, WebAssist, etc. I've learned to customize these behaviors to fit my needs always keeping within the "canned" code. In this way I've "learned" php.
I own most of David's books and in fact, it was because of these that I have any idea about what I'm doing and went in this direction in my "developer" career (building php/mysql applications using Dreamweaver.)
With the decision to remove server behaviors (and the other "developer" panels) from DW and with the deprecation of the mysql extension from the php landscape, I'm wondering where to go next? I fully understand this has to happen.
I'm aware of some alternatives:
Zend or some other framework - to me, this seems extremely complex
Keep several versions of DW installed
Stick to Joomla/WordPress/Drupal - let others who know what they're doing build the architecture
Actually LEARN php - wish I had time; too much work to do (I know how illogical that sounds but it's a very real situation)
I know I'm going to have to switch out all that deprecated code or better yet, rebuild the many applications which used the DW (and other) server behaviors. I'm just not sure which way to turn.rjjacob wrote:
Since I wrote this post I concluded that there is no substitute for understanding and have started my re-education by delving further into the issue with updated PHP/MySQL books and tutorials so I can prepare for a Dreamweaver without this functionality.
Yes, I too have concluded that is the way to go as well. There really is no substitute for learning as much as you can. Whilst the DW Server Behaviours were very convenient they have not kept pace, Adobe prefering to spent their time on less important updates in my opinion. The Server Behaviours are what makes Dreamweaver the tool of choice for database integration for those who lack the knowledge. I feel the Adobe team will regret not coming up with an alternative. Anything that detracts from making the program what it is is a step in the wrong direction and for sure this is a big step in the wrong direction.
rjjacob wrote:
I have mainly used DW server behaviors in my development projects that's why I am curious about what others are doing to make the change. I'm surprised there haven't been more posts; perhaps I'm the last one to be taking action about this, or maybe no one is too worried about it yet.
I think a lot have changed their working practice but many more are burying their heads in the sand. sql_ support is a way off from being completely dropped yet.
rjjacob wrote:
Anyway, your assessment of how terrible the server behaviors are is correct. I'm finding that true after barely breaking the binding on a few books about the greater subject and looking into mysqli and PDO.
Yes, because I relied heavily on them I did not know how bad they were until I forced myself to look further afield. What you can do in a couple of lines of code the DW Server Behaviors produced quadruple or more to achieve the same.
rjjacob wrote:
But they sure were convenient!
Yes, I agree. Maybe some extention developer will come up with a set of new improved behaviours. I tell you if they do they will make a shed load of money. -
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?
VinceThanks - 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 -
Host recomendation - linux - php/mysql
Hi gangsters and molls :)
I'm looking again for some advice from the knowledgable
contributors of
this forum, of which there are many, many, many!
I'm in need of a host, that provides php/mysql linux and some
good
online instructions (preferably the hosts own instructions)
about
tranfering/connecting the database up. I'm as thick as two
planks when
it comes to moving the the dynamic technical stuff over to a
remote
host, so bear that in mind. I try but I'm getting old and
past my
sell-by date :(
I've done this on a couple of occasions (some time ago
though), spent a
good few hours resolving connection issues but finally
everything
worked. However if anyone knows of a good host and some good
walk ya
through instructions to save me some hassle I'd be grateful.
I'm not really that bothered where the host is (preferably uk
but I'm
open minded)........EASE OF USE & SET-UP is paramount on
this ocassion.
Cheers!
Os.: Nadia : ** Adobe Community Expert ** wrote:
> "Osgood" <[email protected]> wrote in
message
> news:[email protected]...
>
>>Hi gangsters and molls :)
>>
>>I'm looking again for some advice from the
knowledgable contributors of
>>this forum, of which there are many, many, many!
>
>
> you're being too mich - what's up Os ? ;-)
Yeah...I'm on new tablets.........seems to be doing the trick
until my
immune system fights back.
>>I'm in need of a host, that provides php/mysql linux
and some good online
>>instructions (preferably the hosts own instructions)
about
>>tranfering/connecting the database up. I'm as thick
as two planks when it
>>comes to moving the the dynamic technical stuff over
to a remote host, so
>>bear that in mind. I try but I'm getting old and past
my sell-by date :(
>
>
>
> www.hostmysite.com is US based, but I've had no problems
with email
> support - they've been great... they also have
'live-help' I think. They've
> helped me heaps in setting up dbs or fixed errors when I
did a few installs
> of various CMSs...
Yup...you've mentioned them before in some previous posts,
I'll check
them out.
> www.webstrikesolutions.com been with them for years...
email support is
> terrific (no phone support, but live chat again).
Haven't had much to do
> with php side of things with them, though they have both
win and linux
> servers, most of my clients are on windows and a couple
of clients on linux.
> Had to have help with a couple of asp dbs and they were
great help there.
Humm....why does a connection to a remote database seem so
imposing.
Should be a simple drag and drop solution.
I don't even know where the database file is created on my
Mac but
apparently you have to create a 'dump' file to transfer it to
a remote
location. I can do that in phpMyAdmin but wouldn't it be
simple if there
was an identifiable file which you could just grab hold of
and drag
across.......bummer all seem complicated to me.
> www.crystaltech.com have also been great to work with -
again US based,
> help docs are a bit sparse - or it could be me not
understanding them :-)
> but email support is good.
Humm I have some instruction docs from a host that I have
previously
used but thaey might as well be written in chinese.
Do you know if I can set up a website on one server and have
it pull
information from a database which is hosted on another
server?
Os. -
Online resources for learning PHP/MySQL?
I would really appreciate knowing which online resources people really have used and found valuable for learning PHP/MySQL.
And I'm well aware that Google is my friend - I'm looking for personal recommendations. :-)
Thanks very much in advance,
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate WorksheetWell, I got some good websites
www.w3schools.com
www.phpeasystep.com
www.phpfreaks.com
And a lots! Google baby, google.. But as what David says, not all websites is up to date, you have to assure that. Other option, you may refer to PHP books. There's a lot too.
Maybe you are looking for
-
HT3951 Can I have 2 apple id's on one iPad ?
Can I have 2 apple ids on one iPad?
-
Windows 8 USB ports have stopped functioning.
I have a Envy 1534 desktop and after taking an update to windows 8 today my keyboard and mouse no longer function past the boot system. When windows loads the keyboard goes dark and I cannot use any of the USB ports on my system. This renders the sys
-
Problems with the items (control) in forms 9i (Re)
Hello, I write this problem in a other post and but don't have any feedback about it(So I will give another try:-) ) The problem that I will describe don't happen all the time and is very rare but I want to know if it's a normal bug of forms or somet
-
hello everyboby i have reverse the miro and cancel the migo document .but when i reverse the excise invoice system give error that first reverse the excise cenvet cedit which you have taken.please help me out.
-
Once I have converted a PDF file to Word form, how do I edit and save the file? My files are showing up, but I am unable to do ANYTHING with them.