Jump to content

New to PHP, need help getting it setup in Apache


GrdLock

Recommended Posts

So in my spare time I decided to try to learn PHP and MySQL. I downloaded some books and all.

 

I cannot get PHP to work with Apache to save my freakin life. I don't know what I'm doing wrong. I've tried the latest versions of Apache/PHP, and couldn't get those to work, so I tried slightly older versions, and still can't get it to work.

 

I've tried using PHP with the CGI setup, and as a module, and neither will work.

 

When I install PHP as a module, on my test .php file, all I get when I view it is a blank screen. Right-click and view source shows nothing at all, no HTML code, nothing.

 

When I install PHP with CGI, using PHP4/Apache2, the page returns "No input file specified." when I view it. When I was using PHP5/Apache2.2, I got an error something like "You do not have permission to /php/php.exe?index.php" or something along those lines.

 

I've put all the necessary stuff in Apache's conf file, I've setup C:\PHP in the Windows PATH, permissions to the PHP directory are setup correctly.

 

What am I doing wrong here??

Link to comment
Share on other sites

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.