944,074 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 5355
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
Oct 27th, 2005
0

PHP 5 - Over before it began

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Barabus is offline Offline
1 posts
since Oct 2005
Oct 29th, 2005
0

Re: PHP 5 - Over before it began

Quote 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.
Reputation Points: 31
Solved Threads: 1
Junior Poster in Training
leelee is offline Offline
76 posts
since Aug 2005
Nov 6th, 2005
0

Re: PHP 5 - Over before it began

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.
Team Colleague
Reputation Points: 53
Solved Threads: 5
PHP/vBulletin Guru
Gary King is offline Offline
360 posts
since Nov 2003
Nov 6th, 2005
0

Re: PHP 5 - Over before it began

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.
Reputation Points: 14
Solved Threads: 3
Junior Poster in Training
chizy2 is offline Offline
61 posts
since Apr 2005
Nov 7th, 2005
0

Re: PHP 5 - Over before it began

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.
Reputation Points: 35
Solved Threads: 9
Posting Whiz in Training
Lightninghawk is offline Offline
288 posts
since Jun 2005
Feb 7th, 2006
0

Re: PHP 5 - Over before it began

Quote 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
Reputation Points: 10
Solved Threads: 0
Junior Poster
martinkorner is offline Offline
102 posts
since Aug 2005
Feb 7th, 2006
0

Re: PHP 5 - Over before it began

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.
Reputation Points: 31
Solved Threads: 1
Junior Poster in Training
leelee is offline Offline
76 posts
since Aug 2005
Feb 8th, 2006
0

Re: PHP 5 - Over before it began

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).
Reputation Points: 14
Solved Threads: 1
Junior Poster in Training
Esopo is offline Offline
50 posts
since Feb 2006
Feb 9th, 2006
0

Re: PHP 5 - Over before it began

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
Reputation Points: 10
Solved Threads: 0
Junior Poster
martinkorner is offline Offline
102 posts
since Aug 2005
Feb 9th, 2006
0

Re: PHP 5 - Over before it began

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?
Reputation Points: 31
Solved Threads: 1
Junior Poster in Training
leelee is offline Offline
76 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Online library
Next Thread in PHP Forum Timeline: Looking for A vbulletin Coder





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC