| | |
PHP 5 - Over before it began
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2005
Posts: 1
Reputation:
Solved Threads: 0
First of - I'm almost a newbie. I messed around a bit with PHP 4 for a while until things got scary and they switched Globals on in 4.2 - where I had to then re-write my scripts all over again. It seems that with every upgrade you need to become more and more like a Nuclear Pysicist or Rocket Scientist to figure out what's going on with PHP.
I spent the entire day yesterday trying to install PHO 5 and Myql 5. I thought I had it licked until I installed phpMyAdmin and to my horror could not access MySql Server.
I got a #2003 error and by googling, that's how I discovered this site. However the suggestions here dod not right the problem. I think somewhere along the way I did something that got rid of this message but then got another one took its place. After hours of moving .dll files here and there, re-writing configuration scripts (without making a jot of difference) I decided 'enough was enough'.
Eventually I discovered that PHP apparently does not support MySQL. To me that's amazing. I thought the whole appeal of PHP was its ability to connect with MySQL. I then read what others had experienced on other sites and in other threads and eventually decided to follow suit and revert as 14 hours of trying to configure this lot just was not worth the effort.
Has anybody out there got a step by step guide to installing the following ver 5 config so that it works seemlessly as in version 4?
mysql-5.0.15-win32/Php 5.0.05/phpMyAdmin 2.6.4-pl3 and on IIS 5.1
I haven't had any software installation annoy me as much as this one did in quite a while but if it's possible to have a set up that works as cleanly as ver 4 without all the messing around please can you provide details.
Thanking you in advance
I spent the entire day yesterday trying to install PHO 5 and Myql 5. I thought I had it licked until I installed phpMyAdmin and to my horror could not access MySql Server.
I got a #2003 error and by googling, that's how I discovered this site. However the suggestions here dod not right the problem. I think somewhere along the way I did something that got rid of this message but then got another one took its place. After hours of moving .dll files here and there, re-writing configuration scripts (without making a jot of difference) I decided 'enough was enough'.
Eventually I discovered that PHP apparently does not support MySQL. To me that's amazing. I thought the whole appeal of PHP was its ability to connect with MySQL. I then read what others had experienced on other sites and in other threads and eventually decided to follow suit and revert as 14 hours of trying to configure this lot just was not worth the effort.
Has anybody out there got a step by step guide to installing the following ver 5 config so that it works seemlessly as in version 4?
mysql-5.0.15-win32/Php 5.0.05/phpMyAdmin 2.6.4-pl3 and on IIS 5.1
I haven't had any software installation annoy me as much as this one did in quite a while but if it's possible to have a set up that works as cleanly as ver 4 without all the messing around please can you provide details.
Thanking you in advance
•
•
Join Date: Aug 2005
Posts: 76
Reputation:
Solved Threads: 1
•
•
•
•
Originally Posted by Barabus
Eventually I discovered that PHP apparently does not support MySQL. To me that's amazing.
Mysql support isn't included by default in PHP5, but it most certainly does support it.
Take a look at the the PHP mySQL reference where it says:
MySQL is not enabled by default, nor is the MySQL library bundled with PHP.
Just download WAMP for Windows or LAMP for Linux. I'm unsure if those complete packages still exist, but give it a try. It downloads the entire set for you and you can install it as a bundle... I believe.
Apache2Triad is also a package deal..
http://apache2triad.net/
apache2triad 1.5.3 is out
changelog folows :
fixed phppgadmin htaccess bug
updated phpPgAdmin to 3.5.3
updated Apache to 2.0.54
updated Python to 2.3.5
updated PostgreSQL to 8.0.3
updated OpenSSL to 0.9.7g
removed eontech uebimiau theme
added support for python psp scripts
hidden the apache2triad user from the XP Welcome Screen
fixed nextcode link on all pages
updated libmcrypt.dll
added null input check for changedomain script
updated SlimFTPd to 3.17
updated PHPsFTPd to 0.5
updated AWS
If you are a novice - DO NOT USE THIS PACKAGE - you must know server config and how to tweak the config files, but is a great package.
http://apache2triad.net/
apache2triad 1.5.3 is out
changelog folows :
fixed phppgadmin htaccess bug
updated phpPgAdmin to 3.5.3
updated Apache to 2.0.54
updated Python to 2.3.5
updated PostgreSQL to 8.0.3
updated OpenSSL to 0.9.7g
removed eontech uebimiau theme
added support for python psp scripts
hidden the apache2triad user from the XP Welcome Screen
fixed nextcode link on all pages
updated libmcrypt.dll
added null input check for changedomain script
updated SlimFTPd to 3.17
updated PHPsFTPd to 0.5
updated AWS
If you are a novice - DO NOT USE THIS PACKAGE - you must know server config and how to tweak the config files, but is a great package.
PHP5 does indeed support MySQL. That's one of the reasons I even pay any attention to wanting to learn it. I use a lot of phpbb boards. Most use MySQL databases. I just ordered a PHP5 book that came in today. Most of the book talks about using PHP5 with MySQL Databases.
+_-¤ ŦĦễ £ﺄiĢĦŧňĨňĢĦǻщk ¤-_+
South Georgia Computers - Home and Office IT Solutions - Owner/Tech
Need the BEST software for Virus/Spyware Removal? Download - AVG Free -
Computer Problems? Forget the GeeK Squad use something better: DaniWeb
South Georgia Computers - Home and Office IT Solutions - Owner/Tech
Need the BEST software for Virus/Spyware Removal? Download - AVG Free -
Computer Problems? Forget the GeeK Squad use something better: DaniWeb
•
•
•
•
Originally Posted by chizy2
If you are a novice - DO NOT USE THIS PACKAGE - you must know server config and how to tweak the config files, but is a great package.
Is there something which requires virtually no setup and will let me use my PHP scripts?
Martin
•
•
Join Date: Aug 2005
Posts: 76
Reputation:
Solved Threads: 1
Hi Martin,
There are lots of ways around this. You can probably download one of a few lamp- or wamp-like standalone applications that will enable you to practice on your local machine. A quick google search will give you the answers.
You can even do quite snazzy things like load apache and mysql onto usb memory sticks and the like.
I use the uniform server simply because it's the first one I ever encountered and I stuck with it since. Magic.
There are lots of ways around this. You can probably download one of a few lamp- or wamp-like standalone applications that will enable you to practice on your local machine. A quick google search will give you the answers.
You can even do quite snazzy things like load apache and mysql onto usb memory sticks and the like.
I use the uniform server simply because it's the first one I ever encountered and I stuck with it since. Magic.
•
•
Join Date: Feb 2006
Posts: 50
Reputation:
Solved Threads: 1
There are changes in PHP5 but those changes are for the better. Rest assure that everything that gets moved around from version to version has been given careful consideration. PHP5 is a much stronger language than PHP4, just as PHP4 is much stronger than PHP3.
To test my sites at home/work I have been using Reactor Server (WAMP) for quite a while:. They have a PHP4.x + Apache 1.x package and a PHP5 + Apache 2 package:
http://www.reactorserver.com/
Downloads
Reactor 1.3 (PHP 5):
http://prdownloads.sourceforge.net/r...3.exe?download
Reactor 1.2 (PHP 4):
http://prdownloads.sourceforge.net/r...2.exe?download
Basically Reactor is one of the many All-in-one packages that are "good to go". Just download the 30+Mbs file and run for a pre-setup fully working server. I would advise that anybody using this spends a couple of hours reading about PHP & Apache setup, just so that they can know the kind of things that get tweaked (such as globals).
To test my sites at home/work I have been using Reactor Server (WAMP) for quite a while:. They have a PHP4.x + Apache 1.x package and a PHP5 + Apache 2 package:
http://www.reactorserver.com/
Downloads
Reactor 1.3 (PHP 5):
http://prdownloads.sourceforge.net/r...3.exe?download
Reactor 1.2 (PHP 4):
http://prdownloads.sourceforge.net/r...2.exe?download
Basically Reactor is one of the many All-in-one packages that are "good to go". Just download the 30+Mbs file and run for a pre-setup fully working server. I would advise that anybody using this spends a couple of hours reading about PHP & Apache setup, just so that they can know the kind of things that get tweaked (such as globals).
Site admin at NetBulge.com, a place set out to improve the web 1 good article at a time :)
![]() |
Similar Threads
- PHP vs ASP... the big ShOwdOwN (IT Professionals' Lounge)
- Hi I've been told by my bf that php and mysql are very very powerful tools in the com (PHP)
- PHP Programmer interested in an existing project? Game! =o] (PHP)
Other Threads in the PHP Forum
- Previous Thread: Online library
- Next Thread: Looking for A vbulletin Coder
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube





