Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





PHP5 Installation With MySQL, Windows 2000


Why I still have "undefined function error" messages?


I included path c:php to my windows env.
Edited php.ini file: include directory value. removed comment mark
from extension=php_mysql.dll
copied libmysql.dll to system32 directory
Apache2 runs fine.
I can run phpinfo.php
I can create a database into the MySQL.




View Complete Forum Thread with Replies

Related Forum Messages:
UPDATE Command Is Not Working On MySQL, Windows 2000 Server
Hi all,

I encountered mysterious problem with MySQL and PHP.

UPDATE command is not working on MySQL configured on Apache 2 with Windows 2000 Server.

It pulled my hairs for atleast 5 hours.

MySQL says Affected rows: 0 (Query took ~ sec) always?

Now, I've decided to move all PHP files and db to remote server.

Can anyone suggest possible reasons for above errors?

View Replies !
Configuring Jpgraph On Windows 2000+Apache+PHP+MySql Server
Could someone walk me step by step on how to install and get JpGraph
running on a Windows 2000+Apache+PHP+MySql server?

View Replies !
Ms Sql Serveur 2000 On Windows 2000 !!!
I've an error with php & win 2000 & ms sql serveur 2000! listen, i've write an program with win xp easyphp1.7 and ms sql serveur 2000 all is ok on localhost ! all i use some store procedures , triggers and so on all will be ok on local ! Code:

View Replies !
Is It Possible To Authenticate Users Running Apache On MacOS X (with PHP 4) And An Active Directory On Windows 2000 Or Windows XP?
From a PHP webpage, is it possible to authenticate users running Apache on MacOS X (with PHP 4) and an active directory on Windows 2000 or Windows XP?

View Replies !
MySQL/Windows Installation Question...
Just upgraded MySQL on my development machine to 4.1 and get the familiar
error "Client does not support authentication protocol...".
A bit of Googling learns this is expected behaviour and all clients in use
should be instructed to use the new protocol (including PHP). However, on
none of the hosts used for hosting client sites this has ever been a problem
yet (most still use 3.23...) and I don't want to be obliged to change things
everytime I move a finished site from my machine to the clients host, so I
prefer to stick with using the old password.

This is possible: the documentation tells me to just start the service with
'mysqld --old-passwords' as option.

However, as per the registry, MySQL starts automatically as a service when
windoze starts. Without this option. Now every restart of the machine I can
stop the freshly started mysqld service and start it again with
the --old-passwords option but it should be possible to do this leaving the
appropriate info in the registry. Anybody 'been there, done that'? Where to
put what in the registry with this effect?

View Replies !
PHP5, Windows Installer And MySQL
Does the Windows Installer version of PHP5 come with MySQL support? As
well, how hard is it to add extensions to the Windows Installer version?

View Replies !
How To Configure PHP5 To Use MySQL In Windows XP
I use PHP5 in Windows XP Professional with Apache and MySQL installed. I
would like to use MySQL. Now, I cannot use mysql_* functions because mysql_connect(...) returns Fatal error: Call to undefined function mysql_connect() PHP is problably not correctly configured to use MySQL.

View Replies !
Upgrade To Php5 On Windows Xp On IIS 5.1 With MySQL
I am finally ready to upgrade to php 5 from php 4 but I am so so scared. I have not upgraded my php since i first installed back in 2003 and i really cannot remember how i did it. I am using window xp and i am currently using IIS 5.1 as my server. What has been putting me off for so long are all the variables that I'm worried that i don't remember.

I've heard of a thing called XAMP which is supposed to have everything bundled to make for a easy install, but i'm not sure if this is the right step to take. But then on the other hand I'm way to nervous to try and do the upgrade myself. I've looked through loads of tutorials but now i'm confused as i'm not sure whether they all apply to what i currently have running. If i am currently running php v4.3.7 on windows xp on IIS 5.1 with MySQL ( not too sure of the version ) what is the best and least complicated way for me to upgrade?

View Replies !
Enable Soap, Mysql PHP5 Windows Xp
I have tried to find a good ref. on how to enable soap and mysql in
PHP5 on windows xp but without luck.

Can any one take me through the process? I need to enable both soap and
mysql I'm not running apache.

I need to know how to recomplie my PHP5 on windows xp.

View Replies !
PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
I have read all (ok most) of the posts relating to "Call to undefined
function mysql_connect()", read the manual on PHP.net and done
eveything thats ive been asked to do but cant get PHP to talk to MySQL,
PHP is working fine but I dont get any mysql info when running <?
phpinfo() ?> and get the "Call to undefined function mysql_connect()"
when trying to connect to mysql through php in browser, please help.

1. I have added C:php; to the end of the environment variable path
2. I have edited my php.ini file to :
extension_dir = "c:phpext"
extension=php_mysql.dll - removed the ";"
... ive checked i only have 1 php.ini file!
3. The dll "libmysql.dll" is in the folder C:php
4. The dll "php_mysql.dll" is in the folder c:phpext

View Replies !
Windows 2000 Problems
when I open IE and enter in "http://localhost" I get:

"The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings."

blah blah blah....

Then, when I click the Personal Web Manager icon in the Admin tools, I get this error:

"Error connecting to servernamehere: Unexpected error 0x80074002 occurred. Do you wish to continue to attempt to connect to it in the future?"

View Replies !
PHP On IIS Windows 2000 Server
I've downloaded the latest PHP (EXE & ZIP)....

I followed all the instructions I can find and yet PHP will not work with
my IIS !!

Can anyone talk me though exactly how to get them working together?

View Replies !
Installing Php On Windows 2000
I've just installed php on windows 2000 with a pws. How can I test it to see if it's installed correctly.

View Replies !
Installing On Windows 2000 Iis 5
for some odd reason the installer program doesn't set the file extension
..php to be associated with anything, my guess is that it should be
php-win.exe (i've tried all 3 .exe files, and the php.exe produces the
correct results in a command window)... when running a .php in IE I can see
it execute in task manager but the IE screen will not change to display the
correct info.. anyone have any idea about this? IE settings wrong or
something?

View Replies !
Use Gettext In Windows 2000
How can i use gettext in windows 2000. problem in compile .po file. how can i make the .po file. tell me in detail step by step. also unable to find msgfmt.exe, libiconv.dll, libintl.dll to compile .po file in windows.

View Replies !
V4.0.2 And Exec() In Windows 2000 / IIS
Are there any tricks to getting the exec() function to work under
Windows 2000 with IIS? PHP v4.0.2 is installed on the server.

View Replies !
Problems With MS-SQL, Apace, PHP On Windows 2000
I want to use PHP for a project at work. This project requires Windows 2000 running Apache and accessing MS-SQL Server 2000. I am using the mssql php extension to access the db and have all the required files to access the db. If the environment was not correct, it shouldn't connect and successfully query int data types.

Everything works fine as long as I query for numeric datatypes such as int. However, every single time I try to query a text, char, var or datetime field, Apache crashes and I get a Windows error dialog saying that an error is being logged. Unfortunately, there is no error logged to either the Windows 2000 Event Log or the Apache log.

I love PHP and would really like to be able to use it for this project rather than JSP or ASP on IIS.

If anyone knows why this is crashing the server, I'd greatly appreciate any advice or help.

By the way, this is an enterprise-wide database so switching to MySQL is not an option.

View Replies !
How Can Windows 2000 Be Shut Down/ Restarted Via PHP?
How can windows 2000 be shut down/ restarted via PHP?

View Replies !
EGroupWare - With Windows 2000 Install
using Apache, PHP and MySQL on my own PC - been using
it for a while on ISP hosted servers and plesk to create oline forums using
things like Invision and PHPBB but decided to give running eGroupWare a go
on my own PC.

I have windows 2000 Pro and followed some online tutorial to the letter
(excpet downloaded the very latest version of MySQl, PHP, etc) to install
Apache, PHP and MySQL and all worked fine.

Now downloaded eGroupWare and put it in the c:web folder and ran the setup
file

but when I go to my browser and tpye:
http://localhost/egroupware/login.php

I get the following below can anyone point me in the direction of what it
all means??

Warning: main(C:/php/phpgwapi/setup/setup.inc.php): failed to open stream:
No such file or directory in c:webegroupwareheader.inc.php on line 102

Warning: main(): Failed opening 'C:/php/phpgwapi/setup/setup.inc.php' for
inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 102

Warning: main(C:/php/phpgwapi/inc/functions.inc.php): failed to open stream:
No such file or directory in c:webegroupwareheader.inc.php on line 110

Warning: main(): Failed opening 'C:/php/phpgwapi/inc/functions.inc.php' for
inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 110

Warning: main(C:/php/phpgwapi/inc/xml_functions.inc.php): failed to open
stream: No such file or directory in c:webegroupwareheader.inc.php on
line 111

Warning: main(): Failed opening 'C:/php/phpgwapi/inc/xml_functions.inc.php'
for inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 111

Warning: main(C:/php/phpgwapi/inc/soap_functions.inc.php): failed to open
stream: No such file or directory in c:webegroupwareheader.inc.php on
line 112

Warning: main(): Failed opening 'C:/php/phpgwapi/inc/soap_functions.inc.php'
for inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 112

Fatal error: Call to undefined function: createobject() in
c:webegroupwarelogin.php on line 26

View Replies !
Exec() Function Under Windows 2000 With IIS?
Are there any tricks to getting the exec() function to work under
Windows 2000 with IIS? PHP v4.0.2 is installed on the server.

View Replies !
Why I Cant Setup Apache In Windows 2000
i can install apache in windows 2000 professional
but when i was to install it in a LAN it cant run correctly
when i type http://localhost/ in browser i recieve The page can not find
why?

View Replies !
Installing Php4 On Windows 2000 Webserver
Is this possible? If so, how do I do it exactly? All I can find is tutorials on how to install it on Apache. If anyone knows the answer can you please help me? I'm desparate. Thanks in advance.

View Replies !
Include PEAR DB Framework Using PHP 5.0.4 On Windows 2000
Get the following errors when trying to include PEAR DB framework using
PHP 5.0.4 on Windows 2000 with Apache 2.

Warning: main(PEAR-1.3.3/DB/DB.php) [function.main]: failed to open
stream: No such file or directory in E:Program FilesApache
GroupApache2htdocsservusincludesinclude.php on line 19

Fatal error: main() [function.require]: Failed opening required
'PEAR-1.3.3/DB/DB.php' (include_path='.includes;.') in E:Program
FilesApache GroupApache2htdocsservusincludesinclude.php on line 19

The include_path config variable looks like this:
include_path = ".includes;."

PHP is installed in
e:php-5.0.4
and the PEAR Class defs are in
e:php-5.0.4includesPEAR-1.3.3DBDB.php

The includes that fail are:
include_once("PEAR-1.3.3/DB/DB.php");

These worked with 4.4.0, but fail with 5.0.4 ...

View Replies !
Php5 Installation
I have just installed php5 (using the installer) on IIS 5, I have also installed mysql (it works, at least when using Navicat). In the php.ini it says php5 has builtin support for mysql. When I activate scripts, I get a FATAL ERROR call to undefined function: mysql_close.

View Replies !
PHP5 Installation Errors.
what the following error means? I am trying to install php 5.1.6 on a SuSE 9 system (I want to say 9.3 but am not 100% certain of this) running apache 2.0.49. I have configured and built the php installation, using the configure options that the previous version of php, 4.3.4, had listed. Now, When I try to restart the apache service I get the following error:

"Syntax error on line 113 of /etc/apache2/httpd.conf:
Cannot load /usr/lib64/apache2/libphp5.so into server: /usr/lib64/apache2/libphp5.so: undefined symbol: php_session_create_id"

Does anyone have any suggestions for what might be causing this problem?

View Replies !
PHP5 - Installation Error - 400 Bad Request
I've been eager to try out PHP5, so I've dumped it on my little dev
machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the
"mappings" page as I'm used to doing with PHP4. I've got my php.ini all
set in C:Windows.

I created an index.php containing: <?php phpinfo(); ?>
When I try to view the page, I get "HTTP 400 - Bad Request".

View Replies !
PHP Extension Installation On Windows
If you were to install a PHP extension on Windows, in what form
would you want the installation to be? Would you want a graphical installer
such as InstallShield or MS Windows Installer? Or would regular copying
into ext directory and doing automake stuff do (make install, etc.) suffice
or in fact be more fitting?

View Replies !
Prob In PhpMyAdmin On IIS Installation On Windows XP
I have PHP installed on a Windows XP platform using IIS as
server. When updating a MySQL database field set to MEDIUMTEXT
in phpMyAdmin, the transaction seems to fail if the text contains
more than a few hundred characters.

The update is actually made successfully, but afterwards, the server
cannot locate the phpMyAdmin page as requested by the client
browser. I get a "Page cannot be found" error. Clicking
on Update from the browser clears the problem.

Anyone know what's causing the problem? Potential sources
of the problem could be with the driver for MySQL, with the IIS
settings, or with the phpMyAdmin settings. I suspect IIS.

View Replies !
PHP Installation For Windows Server 2003
I'm having an issue installing PHP4 on my IIS 6.0 server. I am using the installer and am told that PHP 4.3.3 has been installed successfully but get the following error.

"Due to missing OCX control on your systems, the installation Wizard is unable to configure your web server. However, PHP has been successfully installed, and all you need to do now is manually configure the web server as described in the install.txt file which can be found in your php installation directory."

I manually configure for IIS 4.0 or greater and continue to get a
"The page cannot be found - 404" error when accessing anything with a php extension?

I have defined all the neccessary permissions for the dir. etc but still have an issue with the above error. I'm a first time installer on this platform so does anyone either (a) have a theory as to why this doesn't work or (b) have a solution that they have found.

View Replies !
Problem With My Installation Of PHP 5.1.1 On My Windows 2003 Server Box Using IIS 6.
I'm having a problem with my installation of PHP 5.1.1 on my Windows 2003 Server box using IIS 6. I installed PHP via the manual installation method and followed the install instructions verbatim from www.php.net. As long as I'm not enabling any extensions within php.ini, then everything works great. But as soon as I uncomment one of the extensions, I get the following error: Code:

View Replies !
Apache Installation Path With Semicolon - Issue In PHP Configuration In Windows 2k3 Server
I am customizing and bundling the Apache 2.0.59 & PHP 4 instances with
my application.

When I install Apache in Windows 2003 Server R2 system under a path
contains a semicolon character, for example, "C:/my; applications/
webserver/" path, I am getting issues. I am installaing Apache as a
Windows Service under Local System Account and while starting the...

View Replies !
Installed PHP5 On Windows XP
I have tried to install PHP 5 onto my Windows XP machine and all I get is:

Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20040316, debug=0, thread-safety=0

These options need to match Tried changing on of the Path variables away from PHP4 but to no avail :-((...

View Replies !
MySql Permission Problems (Win 2000)
I screwed up the permissions on my database. Basically I revoked all
the permissions of the root account on the mysql table.

To try to fix this, I went through all of the instructions here:

http://dev.mysql.com/doc/refman/5.0...ermissions.html

running:
mysqld-nt.exe --defaults-file="C:Program FilesMySQLMySQL Server
5.0my.ini" --init-file=C:mysql-init.txt

except in the mysql-init.txt file I put this:

GRANT ALL ON mysql.* TO root

View Replies !
MYSQL Select Using BETWEEN '1/1/2000' And '1/1/2004'
What is the syntax for a mysql select statement to select values between a range of dates. I am trying to use:

SELECT * from net5 WHERE Transaction_Date between '6/7/2004' and '11/3/2004'

My dates are stored as date_time in the database.

View Replies !
PHP5, Domxml, On Windows Cfg./Error
need the straight dope on domxml for Windows!
Is it bundled or are DLL's necessary?
Also, what changes are needed in php.ini?

My setup: WXP, PHP 5.0.2 as an Apache Module, libxml v2.6.11 or so it says.

I see there's been quite a bit of posting on mailing.www.php-dev Re:

phpinfo() mis-reporting domxml enabled.....

View Replies !
.PHP Code Does Not Parse Php5 Apache2 On Windows
Can anyone tell me why .php code is not parsed

#For PHP 5:
short_open_tag = Off
httpd.conf
# Add to the end of the LoadModule section
LoadModule php5_module "C:/PHP/php5apache2.dll"
AddType application/x-httpd-php .php
#Add to the end of the AddModule section
#AddModule mod_php5.c

View Replies !
MySQL Installation
i am trying to install mySQL5 server for a computer, but it's hang when it trying to apply security settings. Sometimes, it will show a message which tell the user to open the firewall port for mySQL, but after i open the port, it's still hang, so may i know the reason why it will hang?

if untick the modify security settings, then there is no problem, cos it didn't apply security settings. besides that, may i know how to uninstall the mySQL then install again? is it just remove the program?

View Replies !
Installation And Mysql
My attempt to install php and mysql to my computer failed. There are
errors with both installations. I believe the problem is with my
computer or the Windows XP in it. My computer is an old and cheap
laptop Dell. It has been in trouble for a long time.

I've been learning php on my web site for some time, and wonder
whether or not I can do mysql on web site without installing the
software to computer.

View Replies !
Apache/mysql/PHP Installation
So i installed xampp package, and that works if i do not touch anything. If i change doc_root in Apache configuration file, localhost points to the location and html files execute normally but php doesnt. Can anyone tell me what else must i setup except Apache conf file so i can execute PHP files in directory i create somwhere on the disk? How can i change the default directory in which php scripts are executed?

View Replies !
Installation (MySQL, Apache, Perl, And PHP)
I just installed MySQL, Apache, Perl, and PHP, and am having some issues with PHP. I am not really sure if it is loaded correctly. When I execute apachectl restart, it responds that the server is restarted, but a test html page with the tag <phpinfo ( )?> does not produce any specific output. Is this a correct test page, or how else can I test that PHP is functioning as a Apache DSO?

View Replies !
Installation Of Php/apache/mysql On Win98
I'm using an old computer - Win 98. I'd like to install php/apache/mySql on it but there are many versions and some do not recommend installing on Win98. If somebody could point me in the right directions about which versions of apache, mySql and PHp - or if there is a package suitable for Win98 that would be great.

View Replies !
Fedora 4.0- PHP 5 - MYSql 5 -Apache With 64 Bit Installation Help...[URGENT]
Can anyone help in installation of Fedora 4.0 , PHP 5 and MYSql 5
with Apache webserver I want to install 64 bit version of all because I
bought new PC with 64 bit supporting. Please provide me help where I
can get step by step information about installation of all above and if
necessary give download link also. I tried myself lot but not
successfull.

I have 64bit fedora 4.0 which is installed from fedora site.

Guide me soon if possible I need to start project in PHP 5 and MySql 5.

View Replies !
Enabling/Disabling InnoDB With Default Mysql Installation.
If you install mysql and find innodb table type is not available,
follow these steps.

find my.cnf file. usually my.cnf file resides in "mysql/bin" folder.
Then search for "skip-innodb", if you find the line then comment it as
"#skip-innodb", then retart you mysql daemon.

Thats it

To disable, uncomment "skip-innodb" or start mysql daemon with
following command

mysql --skip-innodb

thats it.

View Replies !
Call To Undefined Function - MySQL Installation Faulty?
I encounter an error when trying to connect to MySQL database from PHP. I have checked the web server log. It contains following error:

[Tue Feb 13 10:54:57 2007] [error] [client 172.16.16.50] PHP
Fatal error: Call to undefined function mysql_connect() in C:Program
FilesApache Software FoundationApache2.2htdocsindex.php on line 5,
referer: http://172.16.16.50/

is my MySQL installation faulty? or is it a PHP problem?

View Replies !
PhpMyAdmin Installation - Thorough Installation Guide.
I am trying to install phpMyAdmin-2.6.3-pl1 on my machine because I am familiar with working with it itself, but not installing it. I have Apache 2.0.54, php 4.4.0, mysql 4.1.14 running on a Win XP Home machine. Like I said, I've never installed phpMyAdmin before and I've looked at the documentation and I can kinda make out what it says, but I'd rather try to find a very thorough installation guide.

View Replies !
Php5 With MySql
i was using mySQL with php i have updated my php to php 5 but now i am getting an error like this:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in
C:Typo3htdocsMyfile.php on line 3
Connection failed.

............

But when i stop new mySql and start my old mySql every thing os ok.

View Replies !
PHP5 And Mysql On XP
Just downloaded an evaluation version of ZendStudio and like everything about it. except that it does not support mysql when debugging under a PHP5 environment.

View Replies !
MySQL And PHP5.1.2
I've just moved to 5.1.2 from 5.0.5 and I'm getting these warnings for each and every query: PHP Notice: Object of class DB_result could not be converted to int in

/opt/csw/php5/lib/php/DB/mysql.php on line 980
PHP Notice: Object of class DB_result could not be converted to int in
/opt/csw/php5/lib/php/DB/mysql.php on line 983.

View Replies !
PHP5, MySQL & Libmysql.dll
I'm moving some php/mysql development work from one PC to another. I wanted
to use the latest versions of php, MySQL and Apache on the new machine, so
I've downloaded the appropriate stuff and installed it. However, I'm getting
the old familiar error when starting the server:

PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll - The
specified module could not be found

Now I understand that this is because it can't find the libmysql.dll file.
The php version 5.1.1. for windows doesn't contain a libmysql.dll file so I
assumed that I could use the one in the MySQL distribution (version 5.0.18)
but this doesn't work (even when placed in the System32 directory). I'm
using Apache 2.0.55 on Windows XP.
I've done all the usual stuff:
1). Editing the http.conf file.
2). Setting Windows Path variable to C:/php and C:/php/ext
3). Defining the extension_dir in php.ini
4). Uncommenting the LoadModule line for MySQL, etc...

So basically I'm completely stuck. However I was wondering:

1). Why is there not a version of libmysql.dll in php version 5.1.1?.
There's a suggestion that you can get one from the 'zip' download. However,
this is not correct (at least for 5.1.1. version). Where can I get a 5.1.1.
compatible libmysql.dll file?.
2). Is it reasonable for me to use the libmysql.dll file in the MySQL
distribution?.
3). And are Apache 2.0.55, MySQL 5.0.18 & PHP 5.1.1 compatible?. If not then
this might explain why the MySQL libmysql.dll file doens't work.

View Replies !
Framework For MySQL And PHP5
I'd like to ask you for comments on my LIZ DB framework.
LIZ DB is a small framework written in PHP5 based on MySQLi extension.

LIZ DB supports:
- fetching data in various ways (Select, SelectOne, SelectColumn)
- prepare and execute statements (Java like style setParameter(1,
$param) etc.)
- manage sophisticated transactions - commits, rollbacks, savepoints
- prepare and call stored procedures and functions with in, inout, out
parameters support
- query logging

If you'll find some time, please try it out and say what you think of
it.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved