Solved

more PHP5 Apache 2.2 install trouble

Posted on 2006-11-16
1
438 Views
Last Modified: 2007-12-19
I am beginning to regret the upgrade decision

I have now successfully added the loadmodule using the php5apache2_2.dll, but my apache crashes as soon as I run any php scripts, I tried starting httpd.exe manually to see if i see any errors and I get a string of errors saying things like isqlt09a.dll not found, OCI.dll not found etc etc

does anyone have a proper step by step to the upgrade? it seems everything is a mess with the new releases of PHP and Apache

thanks
0
Comment
Question by:sakuya_su
1 Comment
 
LVL 13

Accepted Solution

by:
rhickmott earned 500 total points
ID: 17955338
http://minitutorials.com/apache/php_52_2.shtml

Firstly make sure there is no files php.* in the c:\windows\system32 folder. There no longer needed.

Install Apache and download the zip version. Rename the old php folder to PHP2 or something Extract PHP 5.2.0 into the PHP folder.

Rename php.dist.ini to php.ini and edit the cfile for the correct folders.

In the Apache2.2 conf folder add

      LoadModule php5_module "d:/PHP5/php5apache2_2.dll"
      AddType application/x-httpd-php .php
      PHPIniDir "C:/<path to php"

tbh if your going from a major Apache change like you are its normally easier to completely obliterate any trace of PHP and Apache and start from scratch rewriting all the new conf and php,.ini files etc rather than doing the tempting thing of "Just using the old ones". Let us know how you get on.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now