PHP 5 - Over before it began

Reply

Join Date: Oct 2005
Posts: 1
Reputation: Barabus is an unknown quantity at this point 
Solved Threads: 0
Barabus Barabus is offline Offline
Newbie Poster

PHP 5 - Over before it began

 
0
  #1
Oct 27th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 76
Reputation: leelee is an unknown quantity at this point 
Solved Threads: 1
leelee leelee is offline Offline
Junior Poster in Training

Re: PHP 5 - Over before it began

 
0
  #2
Oct 29th, 2005
Originally Posted by Barabus
Eventually I discovered that PHP apparently does not support MySQL. To me that's amazing.
It is amazing. It's also not the case.

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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 360
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Solved Threads: 5
Team Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: PHP 5 - Over before it began

 
0
  #3
Nov 6th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 61
Reputation: chizy2 is an unknown quantity at this point 
Solved Threads: 3
chizy2's Avatar
chizy2 chizy2 is offline Offline
Junior Poster in Training

Re: PHP 5 - Over before it began

 
0
  #4
Nov 6th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 238
Reputation: Lightninghawk is an unknown quantity at this point 
Solved Threads: 6
Lightninghawk's Avatar
Lightninghawk Lightninghawk is offline Offline
Posting Whiz in Training

Re: PHP 5 - Over before it began

 
0
  #5
Nov 7th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 102
Reputation: martinkorner is an unknown quantity at this point 
Solved Threads: 0
martinkorner's Avatar
martinkorner martinkorner is offline Offline
Junior Poster

Re: PHP 5 - Over before it began

 
0
  #6
Feb 7th, 2006
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.
I've just started with PHP and want to be able to test my PHP scripts without having to put them on the internet first.
Is there something which requires virtually no setup and will let me use my PHP scripts?

Martin
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 76
Reputation: leelee is an unknown quantity at this point 
Solved Threads: 1
leelee leelee is offline Offline
Junior Poster in Training

Re: PHP 5 - Over before it began

 
0
  #7
Feb 7th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 50
Reputation: Esopo is an unknown quantity at this point 
Solved Threads: 1
Esopo Esopo is offline Offline
Junior Poster in Training

Re: PHP 5 - Over before it began

 
0
  #8
Feb 8th, 2006
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).
Site admin at NetBulge.com, a place set out to improve the web 1 good article at a time :)
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 102
Reputation: martinkorner is an unknown quantity at this point 
Solved Threads: 0
martinkorner's Avatar
martinkorner martinkorner is offline Offline
Junior Poster

Re: PHP 5 - Over before it began

 
0
  #9
Feb 9th, 2006
I've Installed WAMP and there's a picture of a dial at the bottom right of my screen, but it says "None of 2 services are running" - if I right click in the only options are: About... , Help File and Exit.

Can anyone help???

Martin
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 76
Reputation: leelee is an unknown quantity at this point 
Solved Threads: 1
leelee leelee is offline Offline
Junior Poster in Training

Re: PHP 5 - Over before it began

 
0
  #10
Feb 9th, 2006
Is the dial a problem?
Is the WAMP installation working (and which did you go for)?
What does it say in the "about" section?
What does it say in the "help file" section?
What happens when you exit?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC