473,787 Members | 2,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

installation, debugging

(I am posting from a web interface- google groups, yet the message is
not appearing on the group, so am posting again, if you get two of the
same kindly ignore one)

1)I get startup error messages:
"cannot load c:\php\php_curl .dll - the specified file cannot be found"
although the file is very much there at exactly that location
Not only for this file but for many extension files like php_mysql.dll,
php_oracle.dll, php_mssql.dll, php_exif.dll etc.

2)the extensions_dir setting is "c:\php" without an ending backslash.

3)The php.ini file is residing at c:\php

4)The php.ini file in c:\windows has all extensions disabled so it does
not look as though that php.ini file is the source of the messages

5)There is a extension entry for php_win32api.dl l which also gives a
not found error.
Is it the older version of php_win32std.dl l, php_win32servic e.dll and
php_win32schedu ler.dll files which are present but
their names are not there by default in the php.ini ?

*************** *************** *************** *************** *************** *************** ********
6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and
C/C++ in MS Visual Studio?
*************** *************** *************** *************** *************** *************** ********

7)database access through odbc works.

8)How do I install PHP as both a CGI extension under Apache 2.0.5x and
as a module (php5apache2.dl l with a LoadModule in httpd.conf)

Sep 19 '05 #1
2 1410
hi ,Joseph S.

first you have to be sure where is the php.ini actually the good way to
make it avilable for your system is to
1- put your php.ini file in the C:\php directory
2- right click on my Computer ->properties->Advanced Tab Environment
Variable , Under system variable chooes Path and double click to see
the editable area. At the Varaible value add this (;C:\php) (don't
forget the semicolon at the begining ) ->OK-> OK -> restart your
computer
3- delete php.ini file if it reside in the Windows directory.

4- if you are using binary version of PHP 5 you will find (ext)
directory under your C:\php directory
so you may need to open your php.ini file and make theis line like this

extensions_dir = "C:\php\ext "

and for this reason you was getting this err (cannot load
c:\php\php_curl .dll ) and other extension

now to debug PHP i can advise you to download this IDE Packge
http://www.waterproof.fr/

(PHPEdit) its very powerFull software that support all php functions
and more while the latst version is 1.2.3.159
http://www.waterproof.fr/products/PHPEdit/download.php

database access through odbc works ????? what is this ?
about the point # 8

actually i didn't know any method for running PHP as BOTH CGI AND
module in the same time but the setting for the CGI ADD these three
line at the end of httpd.conf
# For PHP 4
#--------------------------------------------
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3
Action application/x-httpd-php "/php/php.exe"
#--------------------------------------------
OR

# For PHP 5
#--------------------------------------------
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3
Action application/x-httpd-php "/php/php-cgi.exe"

#--------------------------------------------

To install it AS Apache module you may instead need to add these three
lines

# For PHP 4 do something like this:
#----------------------------------------------------
LoadModule php4_module "c:/php/sapi/php4apache2.dll "
AddType application/x-httpd-php .php .php3
PHPIniDir "C:/php"
#----------------------------------------------------

OR

#For PHP 5 do something like this:
#----------------------------------------------------
LoadModule php5_module "c:/php/php5apache2.dll "
AddType application/x-httpd-php .php .php3
PHPIniDir "C:/php"
#----------------------------------------------------

Sep 20 '05 #2
Hi,
thanks for the reply.

badr wrote:
hi ,Joseph S.

first you have to be sure where is the php.ini actually the good way to
make it avilable for your system is to
1- put your php.ini file in the C:\php directory
already there
2- right click on my Computer ->properties->Advanced Tab Environment
Variable , Under system variable chooes Path and double click to see
the editable area. At the Varaible value add this (;C:\php) (don't
forget the semicolon at the begining ) ->OK-> OK -> restart your
computer
3- delete php.ini file if it reside in the Windows directory.
Good idea, doing that straight away.
4- if you are using binary version of PHP 5 you will find (ext)
directory under your C:\php directory
so you may need to open your php.ini file and make theis line like this

extensions_dir = "C:\php\ext "

and for this reason you was getting this err (cannot load
c:\php\php_curl .dll ) and other extension
I had extensions_dir= "C:\php" and all the extensions were present in
c:\php, I had copied them into the c:\php directory as per instructions
in the help.
After changing the setting to c:\php\ext also, it is not stopping the
messages!
funny. The php.ini is now only in c:\php on my computer.

now to debug PHP i can advise you to download this IDE Packge
http://www.waterproof.fr/
downloading it soon
database access through odbc works ????? what is this ?
typing mistake - I wnated to post a question but got answered before i
posted- this remianed
about the point # 8

actually i didn't know any method for running PHP as BOTH CGI AND
module in the same time but the setting for the CGI ADD these three
line at the end of httpd.conf


Yes, I agree that it is probably not possible to use PHP simultaneously
in both modes. My reason for doing that was that I thought that
debugging requires apd in pear, which needs PHP installed as a CGI
binary. Now that I have found three separate good debuggers - gubed,
dbg from dmitri dmitrienko, and PHPEdit, I do not need apd at the
moment. SO I am continuing with PHP as an Apache module

btw, I got "configurat ion error" when i tried doing both
simultaneously.

Regards,
Joseph S.

Sep 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3237
by: Michael Mosel | last post by:
Hello! I am using Crystal Reports 9 (under Win2000 with SP3/SP4 - no difference) and try to create some reports from vb6. Everything works fine..., unless I install the centura runtime (deploy20.exe). After the installation some (there is no telling which) integers are missing in the report. When debugging my visual basic sources (SetPrivateData) everything is fine and all the integers are filled with the proper values. (I am using ttx...
2
1426
by: xMANIGHTx | last post by:
I'm working on XP IIS5.1 in classic ASP 3.0 After the installation of the 2005 Express Suite and the beta .net2 framework that ships with it (http://lab.msdn.microsoft.com/express/vwd/) the debugging with classic ASP has an odd behaviour. I use option explicit on all pages When the parser finds an undeclared var or function or there is some error in a stored procedure (not in the ASP page but in the SP itself) I receive no error...
0
969
by: VJ | last post by:
I am having a package of VB.NET windows based application built using VS.NET 2003(*.msi file). The installation works fine on every 2000 Pro, XP Pro and 98 machines in our company, with exception of one Windows 2000 Pro machine. In the trouble some WIN2K machine, the installer runs fine with no errors. After I am done installing and I try to launch the application, I get the following error,
2
1209
by: Bari | last post by:
I have been going through Visual Basic.NET step by step, and am finally to the last chapter, on ASP. However, when I do the small web application, and hit the start button, as required, the following error comes up: Error while trying to run project: Unable to start debugging on the web server. Catastrophic failure. Would you like to disable future attempts to debug ASP.NET pages for this project? The book said if that error came up...
2
1478
by: Peter Schmitz | last post by:
Hi, just one question: I'm currently working with VS.NET 2003 on my current project but nethertheless dying to check out the new 2005 version of VS. Can this installation coexist on my PC, without overwriting any of my settings (esp. debugging etc.)? Thanks Peter
3
3039
by: Joseph S. | last post by:
1)I get startup error messages: "Unable to load dynamic library c:\php\php_curl.dll - the specified file cannot be found" although the file is very much there at exactly that location Not only for this file but for many extension files like php_mysql.dll, php_oracle.dll, php_mssql.dll, php_exif.dll etc. 2)the extensions_dir setting is "c:\php" without an ending backslash. 3)The php.ini file is residing at c:\php
0
1030
by: Tomek | last post by:
During installation VS2k3 Enterprose Architect Edition the following message is shown: Error 5000.HrVSAnalyzerCAH(): Error is Visual Analyzer Setup failed: Visula Studio Analyzer user creation not attempted on Primary or Backup Domain Controler. I'm installing VS2k3 in my server as administrator. After installation debugging ASP.NET pages is not possible. What to correct his problem ?
0
1634
by: invizigot323 | last post by:
the problem is when I run setup everithing works fine but at the finish I got this massage regsvcs.exe - common language runtime debugging services application has generated an exeption that could not be handled process id=0x96c (2412), thread id=0x7e4 (2020). click OK to terminate the application Click cancel to debug the application
4
2062
by: Tim H. | last post by:
Morning Everyone, I would just like to apologize for my ignorance on this question I am a Network Administrator not a Developer so if this is a rather easy question I apologize. One of my Developer's has asked if it is possible to only install the .NET Debugger application. Is this a possibility? Or is this a request I will not be able to accommodate?
0
9655
marktang
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...
0
10169
jinu1996
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...
1
10110
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,...
0
9964
tracyyun
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...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6749
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();...
0
5398
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...
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.