Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache 2.2 & PHP 5.1.2 Interconnect php5apache2.dll-php5 |
|
Author |
|
ArtM
Joined: 23 Feb 2006 Posts: 59 Location: Bedford NS Canada
|
Posted: Wed 22 Mar '06 0:40 Post subject: Apache 2.2 & PHP 5.1.2 Interconnect php5apache2.dll-php5 |
|
|
I'm having problems with my application (http://www.photography-on-the.net/ee/)
While trying to drop a duplicate Index from a table with latest phpMyAdmin,
I get the error
Quote: | Forbidden
You don't have permission to access /sql.php on this server. |
The apps developer suggests that:
I dunno! Does this sound like a DLL type problem ?? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 22 Mar '06 11:33 Post subject: |
|
|
My first though is: Permissions (Windows) from the file set to read / write able?
Which Windows do you use? Which version of Apache? Which Version of MySQL? |
|
Back to top |
|
ArtM
Joined: 23 Feb 2006 Posts: 59 Location: Bedford NS Canada
|
Posted: Wed 22 Mar '06 21:38 Post subject: |
|
|
Running Windows XP-P. All files in MySQL Data for the DB in question show Attribute 'A'
Running Apache 2.2 MySQL - 5.0.18-nt-log PHP Version 5.1.2 phpMyAdmin - 2.8.0.1
Apache & PHP Interconnects from ApacheLounge here. Mysql from their site.
All data originated from Server MySQL 4.0.20a-nt
Questions:
1) Should I be using extension 'mysql' or 'mysqli' in PHP - or both?
2) Should I be using the PHP 4 or PHP 5 DLL for Apache - or both?
PS - I saw somewhere in the Mysql docs that dead eye binary windows file copies of MySQL data is legit! (Re an earlier comment of yours.)
- Art |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 23 Mar '06 10:32 Post subject: |
|
|
You can use both mysql and mysqli. mysqli the i is for improved works a bit faster. My opinion is to use PHP 5. Most PHP 4 code will run under PHP 5 as well as under PHP 4. If you have written all code in PHP 4 and have much traffic use PHP4, because PHP4 is a bit faster. PHP 5 will be soon.
Do not use both DLL's. If you want to run both PHP Versions you need to run one as module and the other as cgi.
Right: Copy the binary file from mysql won't work well. Upgrade manual from 4.1 to 5.0
I had many trouble with that.
Still any questiuons? |
|
Back to top |
|
|
|
|
|
|