Jump to content

Recommended Posts

I\'ve just installed Apache, PHP and MySQL on Windows ME using phpdev423. This is intended to be for local development and testing of php scripts without having to upload them to my webspace.

 

The test scripts which come with phpdev work fine. I downloaded the bbclone counter script from http://bbclone/tuxfamily.org and this works on my hosted webspace (at www.thepsychoticreaction.co.uk) with no problems, but won\'t work on my local apache server! The install script works, and I can also install it manually, but when I try to use the counter, the script refuses to work. There are no errors appearing in the apache error log for this, but the output source says it is unable to use or access one of the required files.

 

I wondered if this might be to do with file permissions, but I was under the impression that php scripts don\'t need permissions set. Do permissions need to be set if they access other files, and if so, how do I set permissions on a local apache server?

 

I also tried putting php scripts in the cgi-bin directory as I assumed this would have permissions set on it, but this makes things worse. If I try to run a php script in the cgi-bin it gives me internal server error, and the apache error log says there is a bareword or syntax error in the code. It appears to be trying to execute all the html as a script, but commenting out the scriptalias directive in the httpd.conf doesn\'t seem to make any difference.

 

I can\'t work this out at all - help please. I don\'t want to go any further with downloading or writing php scripts until I know that my local server is going to work properly. At the moment the situation is the opposite of what I intended - I have to upload scripts to my webspace to see if they work, then put them on my local apache to see if that works and then try to figure out why it doesn\'t...

It seems to be an issue with Windows ME as I\'ve just tried the same thing on my new laptop with XP pro and it works perfectly! It could also be because I had another version of PHP installed on my ME desktop but I got rid of it before I installed phpdev. Anyway, I\'m happy...

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.