logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Apache 2.2 & PHP 5.1.2 Interconnect php5apache2.dll-php5

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
ArtM



Joined: 23 Feb 2006
Posts: 59
Location: Bedford NS Canada

PostPosted: Wed 22 Mar '06 0:40    Post subject: Apache 2.2 & PHP 5.1.2 Interconnect php5apache2.dll-php5 Reply with quote

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:

Quote:
Just a note: sql.php is not EE file, Looks like it is http://pear.php.net/package/VFS/docs...S_sql_php.html

This could mean that your PHP's MySQL support is compiled in wrong way (version mismatch).


I dunno! Does this sound like a DLL type problem ??
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Mar '06 11:33    Post subject: Reply with quote

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

PostPosted: Wed 22 Mar '06 21:38    Post subject: Reply with quote

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: 6255
Location: Germany, Next to Hamburg

PostPosted: Thu 23 Mar '06 10:32    Post subject: Reply with quote

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


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1