I installed Apache 2.2.3 per the instructions in the book I'm reading
'AJAX and PHP' by Darie et al. After installation, I confirmed that the
server was working. I then installed MySQL and PHP. After configuring
the system per the book's instructions, I now find that the Apache
server won't start.
How do I start to troubleshoot this problem? I haven't a clue at this
point. Any help would be greatly appreciated.
TIA,
David 9 13689
BTW, I'm on Windows XP.
=============== =============== = da******@gmail. com wrote:
I installed Apache 2.2.3 per the instructions in the book I'm reading
'AJAX and PHP' by Darie et al. After installation, I confirmed that the
server was working. I then installed MySQL and PHP. After configuring
the system per the book's instructions, I now find that the Apache
server won't start.
How do I start to troubleshoot this problem? I haven't a clue at this
point. Any help would be greatly appreciated.
TIA,
David
da******@gmail. com wrote:
I installed Apache 2.2.3 per the instructions in the book I'm reading
'AJAX and PHP' by Darie et al. After installation, I confirmed that the
server was working. I then installed MySQL and PHP. After configuring
the system per the book's instructions, I now find that the Apache
server won't start.
How do I start to troubleshoot this problem? I haven't a clue at this
point. Any help would be greatly appreciated.
TIA,
David
What's in the Apache error log (apache/logs/error.log)?
--
*************** **************
Chuck Anderson • Boulder, CO http://www.CycleTourist.com
*************** ************** da******@gmail. com wrote in news:1161214995 .087958.318360
@k70g2000cwa.go oglegroups.com:
I installed Apache 2.2.3 per the instructions in the book I'm reading
'AJAX and PHP' by Darie et al. After installation, I confirmed that the
server was working. I then installed MySQL and PHP. After configuring
the system per the book's instructions, I now find that the Apache
server won't start.
How do I start to troubleshoot this problem? I haven't a clue at this
point. Any help would be greatly appreciated.
TIA,
David
I had the same problem the other day. I had PHP 5 and Apache 2.0
installed and upgraded to Apache 2.2.3 and it didn't work.
The problem is with Apache; they changed their API and that broke PHP,
at least on Windows XP.
Solution:
Go to http://snaps.php.net and download the latest PHP development
snapshot. It is stable (or so they say), but isn't the normal download.
Inside is a different version of the PHP dll needed to link PHP to
Apache. It is now php5apache2_2.d ll.
1) Make sure php5ts.dll is in the Apache\bin folder
2) You MAY (or may not--I did) need to add the following line to Apache's
httpd.config file: Win32DisableAcc eptEx (Apache runs at 100% CPU without
it on my system).
3) Make sure you set up your php.ini file per PHP's install.txt
instructions
4) Add the following lines to httpd.config (per PHP install.txt
instructions):
LoadModule php5_module "C:/directoryPHPIsI n/php5apache2_2.d ll"
AddType application/x-httpd-php .php
PHPIniDir "C:/directoryPHPIsI n/"
AddType application/x-httpd-php-source .phps
That SHOULD get it to work. If not, let me know.
Still getting an error. Told that it can't find php5apache2.dll
specified in httpd.conf as follows (PHP stored in c:\php\):
LoadModule php5_module "c:/php/php5apache2.dll "
AddType application/x-httpd-php .php
PHPIniDir "C:/php/"
AddType application/x-httpd-php-source .phps
Yet I've confirmed it's there (along with the new php5apache2_2.d ll).
Also, I should move php5ts.dll from windows/system32, right?
Thanks for your help!
David
Go to http://snaps.php.net and download the latest PHP development
snapshot. It is stable (or so they say), but isn't the normal download.
Inside is a different version of the PHP dll needed to link PHP to
Apache. It is now php5apache2_2.d ll.
1) Make sure php5ts.dll is in the Apache\bin folder
2) You MAY (or may not--I did) need to add the following line to Apache's
httpd.config file: Win32DisableAcc eptEx (Apache runs at 100% CPU without
it on my system).
3) Make sure you set up your php.ini file per PHP's install.txt
instructions
4) Add the following lines to httpd.config (per PHP install.txt
instructions):
LoadModule php5_module "C:/directoryPHPIsI n/php5apache2_2.d ll"
AddType application/x-httpd-php .php
PHPIniDir "C:/directoryPHPIsI n/"
AddType application/x-httpd-php-source .phps
That SHOULD get it to work. If not, let me know.
sigh...
The same issues, over and over and over.
If you want a real solid install of Apache and PHP (with Perl, SSH,
mySQL, etc) then please take a look at...
web.torres.ws/walters_way
This outlines complete instructions to install all this stuff witout a
single file in the WINDOWS directory nor a key in the registry (I don't
cound ENV VARS, even though that's where their kept).
The first install takes a bit of time, about 20 minutes. But when your
done, you will know how things work nd how they go together. Back up is
a simple burn to a CD, and the restore is a simple copy from that CD
and reinsert the ENV VARS.
I hope to add SVN to the list soon.
Please take a look at my instructions. They may help you.
Walter da******@gmail. com wrote:
I installed Apache 2.2.3 per the instructions in the book I'm reading
'AJAX and PHP' by Darie et al. After installation, I confirmed that the
server was working. I then installed MySQL and PHP. After configuring
the system per the book's instructions, I now find that the Apache
server won't start.
How do I start to troubleshoot this problem? I haven't a clue at this
point. Any help would be greatly appreciated.
TIA,
David
The folks on alt.apache.conf iguration will be a lot more help.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== === da******@gmail. com wrote in
news:11******** **************@ m73g2000cwd.goo glegroups.com:
Still getting an error. Told that it can't find php5apache2.dll
specified in httpd.conf as follows (PHP stored in c:\php\):
LoadModule php5_module "c:/php/php5apache2.dll "
AddType application/x-httpd-php .php
PHPIniDir "C:/php/"
AddType application/x-httpd-php-source .phps
Yet I've confirmed it's there (along with the new php5apache2_2.d ll).
Also, I should move php5ts.dll from windows/system32, right?
Thanks for your help!
David
You need php5apache2_2.d ll. php5apache2.dll is irrelevant as it will not
work.
Did you make sure that php5ts.dll and php_mysql.dll files were copied to
Apache2.2/bin directory?
Also, if you have firewall software, make sure that the programs aren't
blocked.
That's all I can think of...that's how I got it to work.
Otherwise you'll have to downgrade to a lower Apache version.
>
>Go to http://snaps.php.net and download the latest PHP development snapshot. It is stable (or so they say), but isn't the normal download. Inside is a different version of the PHP dll needed to link PHP to Apache. It is now php5apache2_2.d ll.
1) Make sure php5ts.dll is in the Apache\bin folder 2) You MAY (or may not--I did) need to add the following line to Apache's httpd.config file: Win32DisableAcc eptEx (Apache runs at 100% CPU without it on my system). 3) Make sure you set up your php.ini file per PHP's install.txt instructions 4) Add the following lines to httpd.config (per PHP install.txt instructions ):
LoadModule php5_module "C:/directoryPHPIsI n/php5apache2_2.d ll" AddType application/x-httpd-php .php PHPIniDir "C:/directoryPHPIsI n/" AddType application/x-httpd-php-source .phps
That SHOULD get it to work. If not, let me know.
I hadn't seen any instrcution re php_mysql.dll. Copied it as you
suggested and now it works!!
Thanks so much!
Lone Clapper wrote:
da******@gmail. com wrote in
news:11******** **************@ m73g2000cwd.goo glegroups.com:
Still getting an error. Told that it can't find php5apache2.dll
specified in httpd.conf as follows (PHP stored in c:\php\):
LoadModule php5_module "c:/php/php5apache2.dll "
AddType application/x-httpd-php .php
PHPIniDir "C:/php/"
AddType application/x-httpd-php-source .phps
Yet I've confirmed it's there (along with the new php5apache2_2.d ll).
Also, I should move php5ts.dll from windows/system32, right?
Thanks for your help!
David
You need php5apache2_2.d ll. php5apache2.dll is irrelevant as it will not
work.
Did you make sure that php5ts.dll and php_mysql.dll files were copied to
Apache2.2/bin directory?
Also, if you have firewall software, make sure that the programs aren't
blocked.
That's all I can think of...that's how I got it to work.
Otherwise you'll have to downgrade to a lower Apache version.
Go to http://snaps.php.net and download the latest PHP development
snapshot. It is stable (or so they say), but isn't the normal
download. Inside is a different version of the PHP dll needed to link
PHP to Apache. It is now php5apache2_2.d ll.
1) Make sure php5ts.dll is in the Apache\bin folder
2) You MAY (or may not--I did) need to add the following line to
Apache's httpd.config file: Win32DisableAcc eptEx (Apache runs at
100% CPU without it on my system).
3) Make sure you set up your php.ini file per PHP's install.txt
instructions
4) Add the following lines to httpd.config (per PHP install.txt
instructions):
LoadModule php5_module "C:/directoryPHPIsI n/php5apache2_2.d ll"
AddType application/x-httpd-php .php
PHPIniDir "C:/directoryPHPIsI n/"
AddType application/x-httpd-php-source .phps
That SHOULD get it to work. If not, let me know.
da******@gmail. com wrote in
news:11******** *************@k 70g2000cwa.goog legroups.com:
I hadn't seen any instrcution re php_mysql.dll. Copied it as you
suggested and now it works!!
The PHP instructions are poorly written.
Basically, what the instructions say is that to use an extension you must
put the DLL file in a directory where PHP can find it. Then it offers
suggestions like the Windows system folder (\Windows or \Windows
\System32) or in the Apache\bin folder.
Glad you got it working.
>
Thanks so much!
Lone Clapper wrote:
>da******@gmail. com wrote in news:11******* *************** @m73g2000cwd.go oglegroups.com:
Still getting an error. Told that it can't find php5apache2.dll
specified in httpd.conf as follows (PHP stored in c:\php\):
LoadModule php5_module "c:/php/php5apache2.dll "
AddType application/x-httpd-php .php
PHPIniDir "C:/php/"
AddType application/x-httpd-php-source .phps
Yet I've confirmed it's there (along with the new
php5apache2_2.d ll).
Also, I should move php5ts.dll from windows/system32, right?
Thanks for your help!
David
You need php5apache2_2.d ll. php5apache2.dll is irrelevant as it will not work.
Did you make sure that php5ts.dll and php_mysql.dll files were copied to Apache2.2/bin directory?
Also, if you have firewall software, make sure that the programs aren't blocked.
That's all I can think of...that's how I got it to work.
Otherwise you'll have to downgrade to a lower Apache version.
>
Go to http://snaps.php.net and download the latest PHP development snapshot. It is stable (or so they say), but isn't the normal download. Inside is a different version of the PHP dll needed to link PHP to Apache. It is now php5apache2_2.d ll.
1) Make sure php5ts.dll is in the Apache\bin folder 2) You MAY (or may not--I did) need to add the following line to Apache's httpd.config file: Win32DisableAcc eptEx (Apache runs at 100% CPU without it on my system). 3) Make sure you set up your php.ini file per PHP's install.txt instructions 4) Add the following lines to httpd.config (per PHP install.txt instructions ):
LoadModule php5_module "C:/directoryPHPIsI n/php5apache2_2.d ll" AddType application/x-httpd-php .php PHPIniDir "C:/directoryPHPIsI n/" AddType application/x-httpd-php-source .phps
That SHOULD get it to work. If not, let me know. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kerry Neilson |
last post by:
For the past couple of months, Idle won't start when I invoke it. I
am at a complete loss for why this is. When this happens, they python
command line still starts, and python works fine otherwise.
Most interesting to me is that a reboot won't fix the problem. But if
I just try it again sometime later it will work. Anyone have any
ideas? I'm running python 2.3 on windows 2000 professional.
|
by: DaveJohnson12 |
last post by:
I installed PWS 4.0 on my Windows 95 computer. It installed and ran nicely
without any problems for several months. Then I stopped using it for a while.
Now that I need it again it won't start. The Personal Web Manager program runs
and when I click on Start to start the server running nothing happens now, not
even an error message. I see a message saying "Web Publishing is Off". This
should change to "Web Publishing is On" but it doesn't....
|
by: Doug Kent |
last post by:
Hi,
I am using a STA thread to run a COM object.
On a couple of machines the thread runs fine. On another machine the thread
won't start, and no exceptions are thrown.
This code is running in a web service implemented using C#, ASP.NET 1.1, IIS
5.1, Windows 2000 Server.
|
by: Andrew Melton |
last post by:
I had to reboot my RH9 server, now Postmaster won't start:
I had to change my hostname recently, I am guessing that had something to do
with it. I have tried modifying to the pg_hba.conf file to allow any host
to connect, but that doesn't seem to help.
Are there any other places where the hostname or IP address is specified and
would restrict access?
Thanks.
|
by: Chris Holmes |
last post by:
When launching Access, I'm getting error message stating "a problem
occured while Microsoft Access was communicating with the OLE Server or
ActiveX control." After dismissing dialog box, another one pops up in
its place, etc. - preventing me from using Access. Any idea what
causes it?
I've had this message before (long time ago), when opening database
developed in Access 2000. I converted the database to 2002, and that
solved it. ...
| |
by: Rainer Queck |
last post by:
Hello NG,
I realized, that my application won't start, if a referenced assembly is
missing.
Basically this is understandable, but since I destribute my applictaion
without a setup, it can happen that I forget one or the other .dll.
Since my app depends on a whole bunch of .dll it would be great, if the app
could tell me which assemblies are missing instead of not starting at all.
|
by: =?Utf-8?B?amFkc3BvcnQ=?= |
last post by:
Excel won't start. When clicking the icon (or any other excel files) I get
the message Microsoft Excel for Windows has encountered a problem and needs
to close (with the send error report option).
I have already tried uninstalling and reinstalling MS Office 2000 but still
the same.
Other office applications like Word, Powerpoint, etc are working except the
Excel.
|
by: Andre Ma |
last post by:
Hi there,
I tried to install MS SQL Server 2000 on my desktop computer after
uninstalling a version 7 instance. Everything worked fine. Using
Enterprise Manager I can manage databases and the database enginge itself.
My problem is now, that ISQLW.exe, i.e Query Analayzer won't start. The
taskmanager shows a process isqlw.exe but nothing happens. MSSQL Log
files give no hints, neither does the Windows 2000 event log.
|
by: MARYANN SCHOOLDEN |
last post by:
I have downloaded Intel C++ Compiler professional edition and it won't start up.
I don't know what I did wrong. I have Windows vista
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |