[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

more PHP5 Apache 2.2 install trouble

Posted on 2006-11-16
1
Medium Priority
?
447 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:
Robin Hickmott earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

612 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